How to trigger an event from approval activity in workflow

Developer3
Tera Expert

I need to trigger an event from approval activity present in the workflow. That event has to be on knowledge table so that i can use that event later to create notification on the same table. Can anyone let me know how can we achieve that?

1 ACCEPTED SOLUTION

Developer14
Kilo Expert

You can directly use - gs.eventQueue(<<event name>>,<<current gr record>>,<<approver1>>,<<parm2>>) in your approval activity

Register that event in the event registry.

Then you can use that event in the notification

View solution in original post

6 REPLIES 6

Hi,

In approval activity I don't see the place where we can call 

gs.eventQueue(<<event name>>,<<current gr record>>,<<approver1>>,<<parm2>>)

There is advance checkbox for writing script to send the approval to other user. Can we call the event from this script box. Please check where can we call the event in approval activity

Yes you need to call it from script box