How to find where a custom flow action is used

OlaN
Giga Sage
Giga Sage

Hi.

If I create a custom Flow Action in Flow designer, I might use this action in numerous Flows and Subflows.
Where can I find which Flows and/or Subflows that use this custom action later on.
I have not been able to determine which table it is stored in, and haven't found any reference to it in the Docs, or in the community.

1 ACCEPTED SOLUTION

OlaN
Giga Sage
Giga Sage

Contacted support and got an answer.

Flow actions are stored in this table: sys_hub_action_instance.list

View solution in original post

9 REPLIES 9

Sohail Khilji
Kilo Patron
Kilo Patron

Hi,

 

Points below for tables

Flow - sys_hub_flow

Sub Flows - sys_hub_flow

Actions - sys_hub_action_type_definition

Both Flow and Sub Flows are stored in Same table and the Flow Type field helps to distinguish whether it is Flow or Sub Flow

find_real_file.png

Flow Actions

find_real_file.png

Regards

Kindly Mark  Correct or ???? Helpful, if applicable.

MF Sohail Khilji.

LinkedIn - https://www.linkedin.com/in/mf-sohail-khilji/

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

OlaN
Giga Sage
Giga Sage

Contacted support and got an answer.

Flow actions are stored in this table: sys_hub_action_instance.list

codycotulla
Tera Guru

Hi OlaN,

One addition I have:

When querying the sys_hub_action_instance table add "^flow.sys_class_name=sys_hub_flow" ot the filter

So that you only get the flow records and not both flow and flow snapshot records.

Thanks,

Cody

Abhijeet_Pawar
Tera Guru

Hello @OlaN ,

one another shortcut I found today.

Open the custom action, click on the "More Actions" menu, and select "See Related Flow." Please refer to the screenshot below for reference.

Thank You.

Hi @Abhijeet_Pawar 
Yes, that's correct. This is a feature introduced in later versions of ServiceNow.

When this thread was written,  none of those options were available.