Workspace Playbook: Slow Submit / "Mark Complete" after uploading multiple attachments in custom Act
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone,
I am facing a performance issue in our Configurable Workspace Playbook where the submission/completion time is extremely slow for field agents.
Our Setup:
- We have a custom Activity UI created in UI Builder for a playbook.
- The page has four separate sections for attachments: Charge Slip, Service Report, Terminal & Accessories, and Other.
- Each section uses the standard Record Attachments component.
- We also have multiple Form Controllers on the page (e.g., Charge_Form Controller, Other_Form Controller, etc.) to manage these sections.
The Issue:
When a user uploads images across these four sections (e.g., 2 in the first, 5 in the second, and a few in the others—totaling about 10 to 15 images) and then clicks the "Mark Complete" or "Update" button, the page hangs. The screen time is very high, and the loading spinner runs for a long time before the task is submitted/completed.
Note: The images themselves upload fine, but the subsequent click on the submit/complete button is what takes the time.
My Questions:
- What is causing this submission lag after attachments are uploaded? Is it due to having multiple Form Controllers re-evaluating the attachment records, or is it a backend database/processing bottleneck?
- How can we optimize this page to make the screen transition/submission nearly instantaneous?
- What are the best practices for handling validation or post-processing (like copying attachments or generating reports) for multiple attachments in a Playbook context without freezing the agent's screen?
Any advice, architectural patterns, or configuration tips would be highly appreciated!
Thanks in advance!