Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Names of Flow/Subflows/actions using particular custom field.

KhasimKhanP
Tera Expert

Hi Folks,

We're planning to remove u_abc custom field from system. Before that we're trying to get the names of flows/subflows/actions using this particular custom field.

 

By clicking on record in sys_hub_action_type_definition.LIST table redirecting to workflow studio UI. so there a way to find flows and actions?

4 REPLIES 4

Mark Manders
Mega Patron

That will be almost impossible to achieve because of how everything is configured and intertwined.
Check the sys_update_xml table to see if it is in the payload of any record there. That should give you some indication.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Yeah, tried this already this way we can find only scrip actions(step) (sys_hub_step_instance). payload doesn't have inline script data, conditions, if/else logic etc..,

 

OlaN
Tera Sage
Tera Sage

Hi, 

This would vary depending on where the custom field is used, it's different depending on if it's an input or part of a script execution of an action.

 

Another way to find where your custom field is being referenced is to search through the [sys_update_xml] table for all records that has the custom field as a value in the Payload field.

 

find-custom-reference.png

Ankur Bawiskar
Tera Patron
Tera Patron

@KhasimKhanP 

finding it within flow etc is difficult as there are different tables involved.

I used this link and it helped me to some extent, see if that helps you

Flow Designer - Search through flows efficiently with scripts 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader