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-07-2023 12:56 AM
@Jonathan102 can you send screen shot how you did
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 02:24 AM
test this also in your condition activity.result == 'skipped'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 03:35 AM - edited 01-24-2025 03:37 AM
Hello @BharathChintala : i need some suggestion here what if the approvers are neither approved nor rejected and still in requested state how to give to that condition, As i have requirement where the workflow has to find for certain period if the approver has not taken any action after that period it will auto reject. So i need that condition to be added as Requested, Any suggestion is appreciated.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 08:40 PM
@servicenow14710 Your can use timer to give how much time to wait and run script to action you want do
Bharath Chintala