How to disassociate approvals from workflow before running again?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 10:00 AM
Hi Experts,
I have an approval workflow. In case of rejection, it will be possible to request approval again.
As I do not like to delete all approvals, I need to find a way to just disassociate the approvals that happened before to be able to run the workflow again.
Without doing this, the rejection given before will still "stuck-point" of the workflow as long no other approves are within the approval group.
In the change management, I found some skipt running (new ChangeRequestStateHandler(current).disassociateApprovalsFromWorkflow();) ... but this will not work here, as I'm not using states here so far ... .
Any other option?
Thank you so much!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 02:42 PM
no idea. it works as mentioned ... so I'm happy even it should not work 😉
cu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2024 10:31 AM
I was able to fix this by setting the associated Group approval's approval field to 'Duplicate'