How to identify a scheduled FLOW in Scheduled jobs table?

Suggy
Giga Sage

How to identify a scheduled FLOW in Scheduled job table?

I have created a scheduled FLOW and accordingly an entry is created in sys_trigger table but now able to know which FLOW is linked ot the schedule in below table.

 

I thought the sys_id of FLOW is what is showing up below, but its not!

Suggy_0-1719151218379.png

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

I think I found it (or a way).

 

When you open the sys_hub_flow table, within the list view filter for your flow and add column "Remote trigger ID" (remote_trigger_id). The sys_id in that column corresponds with the sys_id which you will see in the sys_trigger record and the sys_flow_trigger_auto_script record. The sys_id itself is the sys_id of the sys_flow_timer_trigger record.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

3 REPLIES 3

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Interesting question. I don't know, though I'm curious to find out 😅

 

What I know:

Scheduled Flows can be found in table sys_flow_trigger_auto_script. The name (for example, Trigger:<sys_id>), is also what you could find in the sys_trigger table, like the image you shared.

 

The sys_id that you will see in the sys_flow_trigger_auto_script record corresponds with a record in the sys_flow_timer_trigger table.

 

Where the link/reference/sys_id with the sys_hub_flow is though... I'm curious to find out.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

I think I found it (or a way).

 

When you open the sys_hub_flow table, within the list view filter for your flow and add column "Remote trigger ID" (remote_trigger_id). The sys_id in that column corresponds with the sys_id which you will see in the sys_trigger record and the sys_flow_trigger_auto_script record. The sys_id itself is the sys_id of the sys_flow_timer_trigger record.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Thanks a lot @Mark Roethof  🙂