Roll Back Activity is Not working in workflow

govardhantv
Kilo Contributor

Hi all,

We have a workflow in that requester approval has to go through 4 levels of approval in last approval if manger rejects it has to roll back to user ,

i have used rollback activity in the workflow ,it is not working ..is there any thing else we can use instead of rollback activity or any script we can

can use it to run .

3 REPLIES 3

Indrajeet
Mega Expert

HI Gova



Can you please attach the screen shot of workflow??


govardhantv
Kilo Contributor

Hi Indrajeet



here is snap shot the workflow,




find_real_file.png


thanq so much..for the reply,i have put other roll activity it is working fine only this roll back functionality is not working


alan_lowrance
Mega Guru

It won't rollback actions that took place in a script.   I've accomplished this by just creating a loop that looks at a workflow scratchpad variable that I set to true/false when a certain condition is met.   If it needs to loop back through I have a script that undos everything from before.   You just have to be sure it won't run more activities than the workflow limit or you will need to increase it in the properties.