
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2019 05:53 PM
I have the OOTB workflow activity "Group Approval"
I have added a condition "canceled" which has the condition...
When i change the group approval record to cancelled the workflow activity result is "skipped" which makes the activity go through the approved exit condition.
Why does it not go through the canceled exit condition?
In the Workflow activity definition there is an onCancel: function that looks to be what i want to trigger but i have no idea why it is not triggering?
Thanks for any help or insight.
Solved! Go to Solution.
- Labels:
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2019 06:55 PM
Try setting the State of the approvals to "Not yet requested" instead of cancelling them.
Please refer below:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2019 06:55 PM
Try setting the State of the approvals to "Not yet requested" instead of cancelling them.
Please refer below:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2019 12:47 AM
Hey Raf, good to see you!
When the Group Approval is set too 'not yet requested' no result condition is met. It does not exit the group approval workflow activity.
ie the activity.result == 'not requested' (also tried 'not_requested').
I also tried a Wait For Condition Based on Script where i checked for the value to be not yet required. (and nudged the workflow to trigger)
But this caused the result of 'rejected'
if (counts.approved != 0) {
answer = 'approved';
} else if (counts.rejected =! 0) {
answer = 'rejected';
} else if (counts.not_required !=0) {
answer = 'not_required';
} else if (count.not_required !=0) {
answer = 'not requested';
activity.result = 'not requested';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 03:38 AM
Ended up modifying the Activity definition to fix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 04:59 AM
Hi Edward,
Could please let me know what chance you have make to the Activity definition to fix this issue?