Playbook Component In Workspace Stuck at "Loading" after Record Generation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 11:11 AM
I've added the Playbook component to a workspace and I'm having difficulty getting it to execute the playbook. After linking a record generator to the Playbook component I'm experiencing an issue where the playbook component will not move on from the record generation step. It just sits in a loading state (see attached screenshot). I've tested with multiple record generators and playbooks. The record gets created and it meets the playbook conditions to kick off the playbook execution. Further, there is a process execution record for the playbook on the 'sys_pd_context' table so I know the playbook has kicked off for that record. Any ideas why the component isn't stepping through the playbook?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 12:41 AM
For everyone who has the same problem.
In UI Builder it is necessary that you create a client script and add it as event in the playbook component.
After you click on the “Add Event” button you have to select “Playbook Record Generated” and then the created script.
function handler({api, event, helpers, imports}) {
helpers.screen.updateStatus({
"screenParams" : {
"table" : event.payload.table,
"sysId" : event.payload.sysId
}
});
}