approval user activity stuck??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 12:17 AM
I have created workflow and triggered for approval. so if approval person is set "no longer required/ cancelled" its stuck . workflow show like this.
For that i have added two condition no longer required and cancelled but its stuck. when select the approve and reject then its working fine.
please suggest how to achieve it.
Thanks.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 08:02 AM
First confirm that your Conditions on the activity are using the correct values, so out of the box they would be
activity.result == 'not_required'
activity.result == 'cancelled'
If the workflow is still not advancing after confirming these values and an approval is changed to No Longer Required, then you'll need to set this state as an inactive state. There's a business rule or something to update that I can look up if needed. Cancelled could be a bit tricky as an out of box business rule might be triggering and doing something you don't want it to in this case, but let's see if we can get No Longer Required, then maybe Cancelled will work the same way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2023 07:02 PM
Hi Brad,
I am trying Cancelled. Can u pl tell me the BR name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2023 07:50 AM
The BR is named Approval Events (Task) if the record this approval is related to is one of the task extended tables (incident, problem, REQ, RITM, SCTASK, change,...) or Approval Events (Non-Task) otherwise. The script is triggering an event to cancel the workflow, so that's why the workflow/activity shows Cancelled/Orange as the status instead of green or blue executing or finished.