- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:28 AM
Hey Community,
I have a weird issue going on in workflow. Activities are being executed twice. I am not sure y. Any inputs or guidance on this will be helpful
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:45 AM
Oh thats ok. Thanks for responding.
If there is a branch activity being used can u also confirm if there is a join used in that workflow which joins both the outputs?
So what can be happening is if u use a branch in ur flow n don't join both the outputs to a join then this thing tends to happen as branch will run parallel y n execute whatever activities are present in its way. So if u don't use a join activity n simply join both the outputs lets say to a task activity or approval activity or any activity it will execute it twice because it does not understands that it should now stop running activities in parallel. In order to do this join activity is required.
You can find a join activity under core tab in workflow.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:37 AM
Hi @SnowUserDev ,
Are you using branch in ur workflow or are there two outputs coming from one single activity?
Possible to share the snip of workflow that would be helpful
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:40 AM
Hi @Danish Bhairag2 ,
Yes there is one branch activity being used in that workflow.
Apologies won't be able to share the snip as I don't have access to that instance. I work along with other developer who has the access.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:45 AM
Oh thats ok. Thanks for responding.
If there is a branch activity being used can u also confirm if there is a join used in that workflow which joins both the outputs?
So what can be happening is if u use a branch in ur flow n don't join both the outputs to a join then this thing tends to happen as branch will run parallel y n execute whatever activities are present in its way. So if u don't use a join activity n simply join both the outputs lets say to a task activity or approval activity or any activity it will execute it twice because it does not understands that it should now stop running activities in parallel. In order to do this join activity is required.
You can find a join activity under core tab in workflow.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2023 04:49 AM
The explanation does make sense to me. I will ask that developer to check n confirm n if not present to add n check again if it runs twice or not.
Thanks for ur help.