Trigger an Event parm 1 and parm 2 in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 04:41 AM
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 05:12 AM
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
2. On Who will receive tab select the assignment group(which contains the group you need to send).
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 05:18 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 10:37 AM
Hi,
You can trigger the event from flow using the "Create Record" action on "sysevent" table with the proper input.
As per below screenshot
Thanks and Regards,
Saurabh Gupta

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2022 05:14 AM
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().