cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Fork issue

manasbehera
Explorer
0 Kudos

Hi,

There is one issue with workflow fork.

Workflow is passing through the fork which has 2 branches.

1. wait for delete ( when parked invoice will be deleted)

2. dialog task to do goods receipt ( synchronous )

Please help me why workflow is not passing through fork and what needs to be done for this ?

Thanks,

Manas

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Manas ,

Please check whether all the conditions written for Both the branches are getting fulfilled or not.There must be any condiiton which is not getting fulfilled and due to that reason , your workflow is not passing through fork .

Vijay Agarwal.

former_member185167
Active Contributor
0 Kudos

Hello,

If one of the branches is waiting for deletion then you should have 1-from-2 necessary branches, not 2-from-2.

regards

Rick Bakker

Former Member
0 Kudos

Hi Manas,

What end condition have you put for the fork or how many number of necessary branches are there?

Thanks,

Anubhav

manasbehera
Explorer
0 Kudos

Hi Anubhav,

Number of necessary branch are 2.

There is no end condition in the fork. where to put this condition?

Thanks,

Manas

Former Member
0 Kudos

Hi Manas,

Since you have two necessary branches, the fork is not getting completed as one of the two branches is not getting competed.

You may consider below options -

1> Check if there could be a business scenario where you are not sure how many branches get executed, which I suspect is happening in your case. Then put an end condition according to your business requirement instead of terminating the Fork with number of necessary branches.

2> Second possibility is if either of the branches is executed, the Fork should be considered as complete. Put necessary branches as 1 and no end condition.

These are the only two ways with which a Fork gets completed. Check with business what they want and make use of either two.

Thanks,

Anubhav