Custom subflow to Fire Event

Gary Fawcett1
Tera Guru

Hi,

Trying to create a subflow that accepts a group name, Event Name and Record.

The Event Name input is a string.

But the "Fire Event" reports Event name is blank or similar.

If you hard code the event name it works fine.  But that makes a subflow kind of pointless.

 

I have seen articles say you need to make the input a reference filed to the "sysevent_register" table.  But this isn't an option for me?  (This is a scoped application).


Has anyone made this work?


Thanks...Gary

GaryFawcett1_0-1757907306236.png

 

2 REPLIES 2

RaghavSh
Kilo Patron

@Gary Fawcett1 The input type is string, so you mean to say you dont see a reference option to select instead of input?

 

Also are you creating subflow beacuse you want to make it a reusable kind of thing? Because just for triggering event you dont need a subflow.


Raghav
MVP 2023

Ankur Bawiskar
Tera Patron
Tera Patron

@Gary Fawcett1 

you are sending event name as input.

share screenshots of how are you utilizing that in subflow? share steps screenshots

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