Display Workflow Originator on a Form

  • 14 September 2016
  • 1 reply
  • 0 views

Badge +1

Hi,

 

I'm new to K2 and wanted to know the easiest way to display the workflow originator on a smartform.  

 

We have smartforms for tasks that need to be completed and on those forms we want to display the workflow originator.

 

Thanks!

 

 


1 reply

Badge +7

The simplest way is to go to the form and make sure you have a field to put the data that will show (either on a view or the form). There will be a rule on "When the form is Initializing" and it will say if Current workflow acitivity is ___, then open the ____ worklist item (configure).

 

if you click configure you will see the info the form is getting from the workflow. Click Output mappings and in the context browser open worflow - Originator and move the display name to the field you created to hold it.

 

You may have a different state for each step in the workflow rule and you will have to do this in each state for each workflow "if" rule.

 

Now when you click on the worklist URL you will see this data sent from the workflow to the form. Also notice you can pull any other field as well.

 

I hope this helps.

 

 

Reply