How to trigger event from the flow designer?

Snehal Madakatt
Mega Sage

Hi Developers,

 

How to trigger event from the flow designer?

I tried to create custom action as per https://www.servicenow.com/community/now-platform-articles/fire-an-event-via-flow-custom-action-guid...    but its not working! I dont see any log in the event log.

Can someone help.

 

Regards, 

Snehal

 

8 REPLIES 8

Hi @Snehal Madakatt 

write An event like:-

 

RamSingh_0-1709529097787.png

Please mark reply as Helpful/Correct, if applicable. Thanks!

 

Tried but , cant find event table for selection. Scope of flow is in GRC: Advanced core

I am on Vancouver. 

Hi @Snehal Madakatt 

In create record, sysevent table will not be available outside Global scope.

In case you still want to utilize, I would suggest to create a custom action and place inputs for parameters and just use eventQueue() to fire the event.

 

sysevent table will not be available outside Global scope. it is conscious decision by ServiceNow team.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0787435

 

Please mark reply as Helpful/Correct, if applicable. Thanks!

Ankur Bawiskar
Tera Patron
Tera Patron

@Snehal Madakatt 

since you are in GRC scope you cannot call event table in Create Record

you can use custom action

what didn't work in that custom action? what debugging have you done so far?

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