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.

Which tables has the contents of the script in a Run Script activity

gjz
Mega Sage

I'm trying to find all workflows that perform a specific action in a Run Script activity but I can't find the table that holds the contents of the script in order to search on it.  Does anyone know what the table is?

For example, I know WorkflowA and WorkflowB both have Run Script activities in them with script that checks to see if it came from an order guide.  I would like to search the rest of the workflows to see if they also check for order guide, but I don't want to have to open each workflow and read each Run Script, I would rather just search on the contents of the script field.

Thanks!

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Lookup "sys_variable_value" table

Refer to below link:

Finding references / sys_ids in Workflows

Best Regards
Aman Kumar

View solution in original post

3 REPLIES 3

Aman Kumar S
Kilo Patron

Lookup "sys_variable_value" table

Refer to below link:

Finding references / sys_ids in Workflows

Best Regards
Aman Kumar

Thanks, that's exactly what I needed.

Awesome!

Best Regards
Aman Kumar