How to call a global Event from scoped application?

Pranshu3
Tera Expert

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

2 REPLIES 2

Dhruv Chandan
Giga Guru

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

akashpaul
Tera Contributor

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.