Need help to fix an issue in workflow??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 08:58 AM - edited 01-20-2024 09:07 AM
We do have customized change where we have one 3 workflows one is main flow in side it we are calling remaining 2 flows.
This is main flow:
Once the change state is proposed we are calling approval workflow
approval flow :
Once it was completed successfully we are calling change tasks flow
change task flow:
On form we do have 6 groups if we fill groups it create tasks on specified groups if not it will create automatic task and flow follows as it is.
Here the issue is after making task as change un successful change request state should become failed(change leader) remain as it is but unfortunately its becoming failed( change leader ) and immediately its moving to awaiting information state and the task that we made un successful reopening again with state Open.
I am unable to understand why its happening ?? what went wrong? i have been trying this from days pls need your insights who are expertise in workflow.
@Ankur Bawiskar @LearnNGrow-Atul
@Aman Kumar S @Allen Andreas @Amit Gujarathi @Anurag Tripathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 09:05 AM
if i make task un successful change request should become failed and it should struck at proposed state at least as we are using roll back activity to proposed state instead with out initiating approvals again its directly going to awaiting implementation state and re opening same task.
pls check below workflow context.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2024 11:03 AM
I think your statement "Once the change state is proposed we are calling approval workflow" is the root cause... After change is rolled back, your are moving the CR to Proposed state and with this state, approvals are triggered.
I think you should try adding a New state before manually moving to Proposed state and if the CR is rolled back, set it to New state and let the CR owner use UI action to move the CR to Proposed state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2024 04:25 AM
I did modification as you said still its not working ............even after i pointed roll back to start without waiting at draft state its moving to awaiting implementation state by re opening the task again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2024 09:39 PM
If you have observed in main flow after proposed state we are calling another workflows one after another. so after making task state as change un successful we are rolling back to proposed state and then it has to re initiate the approval flow.
is this roll back will work only inside the workflow ? because its not working as we are calling another workflow to here is that may be the reason for not working??