Trigger an Event parm 1 and parm 2 in flow designer

Southsayer
Tera Expert

Hi folks,

 

I have a category field with choices as Apple group, Samsung group, Xiaomi group, Moto group.

Depending upon the choice selected, I need to trigger notification to respective category group. 

 

How can I trigger an event and add their respective group's  value in the parm1? 

 

thanks in advance!!!

 

7 REPLIES 7

Pavankumar_1
Mega Patron

Hi @Southsayer ,

you don't require event for this.

1. Create a notification and choice condition as  changes to Apple group or changes to Samsung group or changes to Xiaomi group or  Moto group.

Refer below

Screenshot (491).png

2. On Who will receive tab select the assignment group(which contains the group you need to send).

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Hi Pavan, actually I have 10 different categories. 3 different schenarios. So, it means, I need to make 30 different notifications. There must be some way to do scripting in (Trigger an event, parm 1 sections). 

Do you have any idea about it?

 

Hi,
You can trigger the event from flow using the "Create Record" action on "sysevent" table with the proper input.
As per below screenshot

SaurabhGupta_0-1670092620530.png



SaurabhGupta_1-1670092644109.png




Thanks and Regards,

Saurabh Gupta

Elijah Aromola
Mega Sage

There is not an out of the box action for triggering events in flow designer. You would have to create a custom action with a script step that passes the parameters for gs.eventQueue().