Skip to main content

Hi, i am new in K2 Workflow. I have a requirement where i have specify the destination user based on some criteria. I have a table having a column named 'Gender'. Once the workflow is initiated and on 'Approval' i want set the destination user based on the Gender. If Gender is 'M' then set one user, if 'F' then set another.
Is it possible to implement this?

Thanks in advance.

Regards,
JD

Which designer are you using?


- K2 Designer Legacy (Silverlight)


- K2 Studio/K2 for Visual Studio


- K2 Five Designer (HTML)


 


1.  You will likely need to get this row from the database and store is somewhere in the workflow first:


- SmartObject call stored in process data field


- Item Reference


- or calling the smartobject and returning that property within the line outcomes/line rule/decision rule


 


2.


K2 Designer Legacy:


Using Task Group Rule


https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#2.Create/K2_for_SharePoint_2010/4.Workflow/Wizards/SP2010_UserTask.htm?Highlight=%22task%20group%22



 


If K2 Studio/Visual Studio:


Using Advanced Destination Sets and Destination Set Rule


https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#Thick_Client_Wizards/Default_Act_Wizard/Destination_Rule.htm?Highlight=%22Advanced%20Mode%22


https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#Thick_Client_Wizards/Default_Act_Wizard/Destination_Rule.htm?Highlight=%22Destination%20Set%20Rule%22


 


 


K2 Five:


Using Recipient Rules


https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#K2-Workflow-Designer/Use/Toolbox/Basic/Task/TaskTabs/03Recipients/Recipients-Tab.htm?Highlight=%22based%20on%20a%20rule%22



Hi Tin,

 

Thanks for your reply.

 

I am using K2 Visual Studio.

 

 

Thanks With Regards,

JD

 

 


Reply