How can I locate which Script Include triggered this event?

JinTK
Tera Contributor

Hi,

I am trying to find the trigger for this notification. After investigating, I found the trigger event in the "Fired by" section, which says, "Script include after verifying user in Password reset flow." This is where I got lost—I don't know where to go from here. How can I find the exact script that triggered this event?

event registration.jpg

notification.jpg

1 ACCEPTED SOLUTION

Zach Koch
Giga Sage

Assuming that the Fired By field is correct in your screenshot and the event is indeed fired by a script include, you could go to the sys_script_include table, then set your filter up to look like this.

ZachKoch_0-1724851368415.png

This would search through all the script fields in the script include records for that text, which if they are firing the event from a script include, they are most likely using gs.eventQueue(), which would include your event as an argument. If that doesn't return any results, I would repeat that same query on the Business rule table.

View solution in original post

1 REPLY 1

Zach Koch
Giga Sage

Assuming that the Fired By field is correct in your screenshot and the event is indeed fired by a script include, you could go to the sys_script_include table, then set your filter up to look like this.

ZachKoch_0-1724851368415.png

This would search through all the script fields in the script include records for that text, which if they are firing the event from a script include, they are most likely using gs.eventQueue(), which would include your event as an argument. If that doesn't return any results, I would repeat that same query on the Business rule table.