How to cancel open child tasks when change request is closing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 10:45 PM
Hi Team,
How to cancel open child tasks when change request is closing
I have written After Update Business rule,
Condition: current.state == 3 && current.state.changes()
Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 11:18 PM
Don't script this. Flow Designer should be able to do that, codeless.
TRIGGER: On Change Request state changes and state = 3
1 - Look up records on change_task where parent is the trigger record
2 - For each of (1)
3 - Set State = 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 11:20 PM
Also, you no longer need lines like this:
gs.info("Business Rule: Sys_ID is empty. Exiting.");
Check out this video I did on the system log context map