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.

Update workflow variables

sunilsafare
Mega Guru

Hello all,

We have a situation where we need to update hundreds of workflows by checking out and update the workflow "Run script" activity. I know that workflow variables are stored in 'sys_variable_value' table according to below link.

https://community.servicenow.com/community?id=community_question&sys_id=0c880321db5cdbc01dcaf3231f96...

Here it gives to read the value, but i am looking to write the values using background script/something. Just trying to find the other way if possible without checking out and publishing.

Thanks, Sunil Safare

1 ACCEPTED SOLUTION

sunilsafare
Mega Guru

This has been successfully implemented by updating variable values in 'sys_variable_value' table.

 

Thanks, Sunil Safare

View solution in original post

1 REPLY 1

sunilsafare
Mega Guru

This has been successfully implemented by updating variable values in 'sys_variable_value' table.

 

Thanks, Sunil Safare