This feature gives the ability to the user to restore the workflows that are deleted.
A new tab named "Deleted" is added in the workflow list page.
User can go to the tab and all the workflows that are deleted will populate here.
User can click on the "Restore" button for the workflow they want to restore.
To delete the workflow user has to type in the workflow name.
Permissions?
Only the Location and Agency Admins will have the functionality to use this feature.
The restored workflow will not restore the permission it had before getting deleted, it will move to the root level.
On restoring a workflow the contacts information in enrolment history and execution logs will stay intact.
If there are any contacts which are in wait step, those will get removed from that particular execution
The restored workflow will retain its original triggers and actions with the same configuration.
If there were any contacts in the workflow when it was deleted, those wont be restored.