cancel
Showing results for 
Search instead for 
Did you mean: 

Send multiple User decision steps simultaneously

Former Member
0 Kudos

Hi,

I've a requirement in which multiple User decison steps should be sent to different teams if some condtions are met.

if flag_1  = 'X' I've to send User decision step to team1.

if flag_2  = 'X' I've to send User decision step to team2.

if flag_3  = 'X' I've to send User decision step to team3.

Depending on different scenarios, flag_1, flag_2 and flag_3 can have value 'X' also.

If all flags are checked, it should wait for the completion of 3 user decision steps.

Can I use FORK for this requirement?

Thanks,

Karthika M R

Accepted Solutions (1)

Accepted Solutions (1)

former_member195270
Active Participant
0 Kudos

Karthika,

   Step will be in following sequence.

  

   Step Condition check all of three flags flag_1 =  X and flag_2 =  X and flag3  =  X

   for true case of condition

       call decision step for Team3

       call decision step for Team2

       call decision step for Team1

  otherwise

     FORK step with 3 branches.

       branch 1 check flag_1 = X then call decision step for Team1

       branch 2 check flag_2 = X then call decision step for Team2

       branch 3 check flag_3 = X then call decision step for Team3

regards,

Umar

Former Member
0 Kudos

Hi Umar,

I've checked in workflow. If all the three flags are checked fork is sending the user decisions to 3 teams simultaneously without any issues. The problem occures if any condition inside the fork branch fails.

Do we have any solution for this issue with fork?

former_member195270
Active Participant
0 Kudos

you have to use condition step inside fork branch.If condition fails , you need to call else step for successful exiting the workflow.otherwise worklfow will be stuck.

Former Member
0 Kudos

Hi,

I've given condition  flag_1 =  X or flag_2 =  X or flag3  =  X  and necessary branches in the fork initiation. That created issue. I've removed this condtion and only kept necessary branches as 3.

Now fork is working fine.

Thanks,

Karthika M R

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

A 3-from-3 fork would do this. In each branch of the fork check if the corresponding variable is set to X; if it is then send the workitem.

regards

Rick

Former Member
0 Kudos

Hi Rick,

Thanks for your reply. I've done the same.

If flag_1 is checked, Userdecision_1 step is sent to team1.

But my doubt is, When Team1 complete this step fork step will be completed?

Can I give condtion like if flag_2 is checked Wait till Userdecision_2 is completed.

anjan_paul
Active Contributor
0 Kudos

Hi,

   In fork there is a place for Necessary Branch. Where you put 3. Then unless or until all branches will complete fork will not completed.

Former Member
0 Kudos

Hi Anjan,

Thanks for your reply.

So I think there is no need to use Wait step in the fork for this requirement.

anjan_paul
Active Contributor
0 Kudos

hI,

  Yes, no need of use of Wait step.

Former Member
0 Kudos

Hi Anjan,

as you have mentioned in the earlier post, I've created a fork with 3 Parallel Branches and 3 Necessary branches. In each branch I've checked the flag value using condtion step and sent user decision step to the particular team if flag is checked.

But the issue is, if one flag is not checked the other two branches are getting logically deleted.

please help.

anjan_paul
Active Contributor
0 Kudos

share your design