Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2025 12:58 AM
Hi Team,
I have developed a custom Playbook in PDI and aim to ensure that all Playbook activities are cancelled if they are in progress when the associated Parent Case record is either closed or cancelled. In such scenarios, all Playbook stages should also be cancelled. However, the current implementation cancels all stages and activities except the one currently in focus. I would like to know if there is a way to close this active activity as well, as illustrated in the screenshot and code provided below.
Note: I have already tried the OOB API, but it is also not working.
cancelPlaybooksByParentRecord(current);
CSM Workspace:
BR:
Script Include:
Solved! Go to Solution.