Workflow Conditions for Group Approvals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 09:29 AM
Hi all,
I am working on a workflow activity (Approval - Group) and I am hoping someone can help out. As far as I know, we have not modified the approval process from OOB and we are currently in Tokyo. When opening an approval request, there are eight State choices to select from:
- Not Yet Requested
- Requested
- Approved
- Rejected
- Cancelled
- No Longer Required
- More Information Required
- Duplicate
However, the only two that actually meet any conditions in the activity of the workflow are Approved and Rejected. If you select Cancelled, the workflow doesn't move past the activity and the REQ/RITM stay active/waiting for approval.
I modified the Reject workflow condition to include an OR activity is cancelled: activity.result == 'rejected' || activity.result == 'cancelled'
Adding this condition did not make any difference.
I have also tried to add a new workflow condition for cancelled and set it up similar to the approved/rejected but it doesn't work either.
Thanks in advance for any input.
Thanks,
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 09:49 AM
@Jonathan102 in approval group activity scroll down to related links
if you click it, It will show 2 options for you like approved and rejected
still you can add more with other options like below
Out put will be like this
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 11:02 AM
Thank you so much for the input. I do not have any script in my activity like I am seeing in your first screen shot, should I add this to mine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 07:45 PM
@Jonathan102
No need just define other options.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 12:12 PM
Thanks Bharath. Maybe I should open a SN ticket because I've added/defined the other options and it still doesn't work.