How to resume a workflow that having one of the activity error?

weikiat_guaz
Giga Expert

Hi All, 

1 of my approval activity having some scripting error so got no approval assigned to the workflow and the workflow is pending for approval now.

Now I already fixed the script problem, and my problem now is how can I restart the workflow and do not ask for approval those those already approved the request?

find_real_file.png

1 ACCEPTED SOLUTION

Rajesh M1
Giga Guru

Hi,

 

 

Even if you restart the workflow the same old workflow context with error approval activity will be restarted. To attach the rectified workflow you have to cancel the existing workflow context and attach the new context to the record.

All approvals will be re-triggered. If there are few impacted records with faulty workflow then manually mark approval on-behalf of already approved user.

 

Mark answer as correct/helpful if it solves your issue.

 

Regards,

Rajesh M

View solution in original post

1 REPLY 1

Rajesh M1
Giga Guru

Hi,

 

 

Even if you restart the workflow the same old workflow context with error approval activity will be restarted. To attach the rectified workflow you have to cancel the existing workflow context and attach the new context to the record.

All approvals will be re-triggered. If there are few impacted records with faulty workflow then manually mark approval on-behalf of already approved user.

 

Mark answer as correct/helpful if it solves your issue.

 

Regards,

Rajesh M