How to call a global Event from scoped application?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2018 10:23 PM
Hi all,
I am trying to call an event from a scoped application workflow.
When I tried creating the event in scoped application itself, I faced the problem of not able to select any global tables, which i require to be GlideRecorded(current) in email template.
So, when I try to call the global created event from my scoped application, the event is not getting triggered (I even tried global. before event name).
NOTE : The event trigger happened fine for 'Event' activity in workflow. But I do need the event call within for loop for multiple approvers (on sysapproval_approver table). So, I am calling it in 'Run activity' within workflow, using gs.eventQueue.
Could you please help me with this?
Thanks & regards,
Pranshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2018 12:29 AM
Hi,
Call that event in a script include which is in global scope ( this script should be accessible from all scope). This call this script include from your owns scope. Voila ! then it'll work.
Thanks,
Dhruv Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 11:18 PM
Hi,
I am able to create the event in the application scope and selected the global table and triggered the event from a script include which is accessible by all application.