I want to fire an event in Flow Designer

hurm
Tera Contributor

 

Hi All

I want to raise an event in the flow and send an email
I'm not familiar with triggering events.

I want to start an event in the 【sysevent table】 with 【create record】 action, but I can't see the event table.

Please let me know if there is another way

 

Please help me

 

zhian_0-1676519681909.png

 

14 REPLIES 14

The team has disabled the event table from being searched, so I would prefer not to change it, thank you.

@hurm 

then you cannot do anything here.

the only way is to use Custom action and use script to insert record into that table using GlideRecord

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

newhand
Mega Sage

@hurm 

I'm not sure if i have got your question。

 

Do you want to send an email from notification  and the nofification trigger is  event ?

If yes,  you need to regiest an event ( All ->System Policy -> Events -> Registry  )

and set it to the notification trigger (on the "when to send " tab).

then, you can trigger the notification to send an email by fire the event you created via "gs.eventQueue"  script command.

 

 

 

 

Please mark my answer as correct and helpful based on Impact.

hurm
Tera Contributor

YES, send email on event


I will post the results of my research here
[eventQueue(String name, Object gr, String option1, String option2, String event_queue)]

What action fills [gs.eventQueue] and raises an event?

I have never written a script with flow

@hurm 

 

I didn't find an existed flow action that can be used directly。

But you can create an action with script step and fire the eventQueue in the script step.

 

 

Please mark my answer as correct and helpful based on Impact.