- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 09:25 AM
How do I get a list of all the Flow Designer flows where the Trigger is "Inbound Email"?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 10:32 AM
Hi
You have to query Process Flow Triggers [sys_hub_trigger_instance] table. and need to query with trigger type.
Sample script -
var flow_gr = new GlideRecord("sys_hub_trigger_instance");
flow_gr.addQuery("trigger_type", "email");
flow_gr.query();
while(flow_gr.next()){
gs.info(flow_gr.flow.name);
}
Feel free to mark helpful and correct!
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 10:32 AM
Hi
You have to query Process Flow Triggers [sys_hub_trigger_instance] table. and need to query with trigger type.
Sample script -
var flow_gr = new GlideRecord("sys_hub_trigger_instance");
flow_gr.addQuery("trigger_type", "email");
flow_gr.query();
while(flow_gr.next()){
gs.info(flow_gr.flow.name);
}
Feel free to mark helpful and correct!
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 10:57 AM
Thanks! Now that I know the correct table, I can do it without a script:
- In Filter navigator type "sys_hub_trigger_instance.list"
- Set the filter to "Trigger type = email"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 11:00 AM
Yes man!
You can do it by adding filters in Process Flow Triggers [sys_hub_trigger_instance] table.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 02:44 PM
Might actually want to search the flow input table instead sys_hub_flow_input.list