What is the difference between "roll back" and "rollback to" in workflow. Can anyone help me with the example

sreebeeraka
Giga Contributor

What is the difference between "roll back" and "rollback to" in workflow.  Can anyone help me with the example

2 REPLIES 2

Jaspal Singh
Mega Patron
Mega Patron

Hi Sree,

 

Rollback is generally used for uncommitting or rolling back of committed update sets or recovering of deleted records while 

Rollback To is a workflow activity used for making the workflow run again from certain point.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

AbhishekGardade
Giga Sage

Hello Sree,

You Can use the Roll Back activity when the approval rejected the requested it will be on not yet requested state and once again requester submit the request it will trigger approval activity to the approver. Once approver approve  the request it will float to the next level .Roll Back is the good option at this point

 

The Rollback To activity transitions directly to the activity specified by the outgoing transition line arrow.

Note: The Rollback activity is deprecated starting with the Eureka release. Use the Rollback To activity instead.

Rollback To determines which activities to reset based on the actual workflow sequence (transition line attachments) of activities between itself and the transitioned to activity, not the execution order. Rollback To then marks all the approvals that have transitioned between the rollback and the transitioned to activity as Not Yet Requested and the tasks as either Open or Pending.

Use the Rollback To activity for all workflows in which multiple rollbacks are required. Rollback To has no variables.

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade