Need help to fix an issue in workflow??

KM SN
Tera Expert

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:

main flow.PNG

Once the change state is proposed we are calling approval workflow

approval flow :

approvals.PNG

 

Once it was completed successfully we are calling change tasks flow

change task flow:

tasks flow.PNG
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 

4 REPLIES 4

KM SN
Tera Expert

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.
context-1.PNG

maroon_byte
Mega Sage

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.

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. 
 

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??