You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically cancel all active Playbooks (sys_pd_context) records associated with an incident when that incident is deactivated (e.g., closed or canceled).
11
+
12
+
🧠 Logic
13
+
14
+
- Finds all active playbooks (not in completed,canceled) where:
15
+
- input_table is incident (or any other table)
16
+
- input_record matches current incident’s sys_id
17
+
- Cancels each playbook using: sn_playbook.PlaybookExperience.cancelPlaybook(playbookGR, 'Canceled due to the incident closure or cancellation.');
0 commit comments