Can g_scratchpad be triggered from a UI Action to be used in a Business Rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 02:59 PM
I have a UI action that is designed to trigger workflow, which then triggers a business rule. However, I require that the business rule perform a specific action when only the UI action is triggered.
Would g_scratchpad work in this instance? Granted, I've used g_scratchpad in business rules to trigger client scripts, and used g_scratchpad to trigger other business rules, but I am unsure if the developers thought of a case like UI Action->Workflow->Business Rule.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 11:42 PM
Hi,
g_scratchpad does not work here. You shall make use of events, which can be fired from UI action and using that you can trigger the workflow using broadcastEvent API.
Mark the comment as a correct answer and also helpful if it helps.