cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Workflow template versions? Can any one suggest what to do.

former_member787072
Participant
0 Kudos

Hello All.

Actually in quality system there is a workflow instance in error. I identified the error and fixed the issue with a new development and transported to quality. Now when i restart the error instance in quality, its not picking the latest template with additional steps i developed, instead, it is catching the older version.

For a fresh instance, my newer version of workflow is getting triggered, why not for error workflow.

I used swu_obuf to synchronize the buffer but no use. What could be the resolution.

Please suggest.

Regards

Prasad.

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos


Hi,

  For restart it will always trigger older version. So first logically delete the current instace. And create new workflow instance start from event

former_member787072
Participant
0 Kudos

Hello Paul.

Thanks for the reply, but , imagine a case where i have tons of workitems with errors in production do i need to do logically delete all and re initiate all from the strach. Actually for few instances some levels of approvals for release are already done.Again approvals from them .

Please suggest is there any way .

Cheers

Prasad.

I042439
Employee
Employee
0 Kudos

Hi Prasad

Running instances / Waiting / Or in error continue to run in the version in which they were started.

That is why Version increments in QA / PRD when you move a change... so that any running, waiting, error instance can pick the same version of the workflow.

It will not pickup your changed version. Logically it would be incorrect - start in Version A and end in Version B..... say start in version which "Auto Approves" a PO of value INR <=100 .... error .... restart in a changed version which now had auto approve limit of INR 1000. The PO will not be auto approved whereas the day it was started, the limit was only 100. So it makes sense to restart a workflow in the same version in which it was started. That is how the architecture has been designed.

To conclude, if the steps which went in error because of the data from your previous step (which you have changed now) - see if you can change the container data and restart the WI from SWIA so that the work item starts with a new set of data. Else, discuss with business owners to cancel these workflows and restart new ones.

regards,

Modak

former_member787072
Participant
0 Kudos

What an example Modak.

Its good now .

Very clear.

Thank you.

cheers

Prasad CH

Answers (0)