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.

Workflow scratchpad

Chris119
Giga Contributor

Hi,

How workflow scratchpad is use?

 

1 ACCEPTED SOLUTION

Vishakha
Mega Guru

Hi Chris,

Refer the below Link also For workflow.scratchpad.variable:

https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/administer/using-workflows/conc...

 

For Edit Input Refer the Screenshots:

Parent workflow:

find_real_file.png

 

Then in childworkflow:

Create Edit input:

find_real_file.png

Create variable.

After that access parent variable value in child:

 

find_real_file.png

 

Value which is get from parent will access like above.

u_val is my input variable internal name.

And lastly when we are attaching subflow to parent there will have to insert value to pass to subflow.

find_real_file.png

Val is my input variable name.

 

 

For  accessing via Business Rule:

Refer the Link:

https://docs.servicenow.com/bundle/orlando-application-development/page/script/useful-scripts/refere...

 

 

Also Go through:

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

https://community.servicenow.com/community?id=community_question&sys_id=008cbc22db391810b1b102d5ca96...

 

Mark correct and helpful if it resolves your issue!!! 

Best Regards

Vishakha

View solution in original post

6 REPLIES 6

this is what I was looking for!

Vishakha
Mega Guru

Hi Chris,

Refer the below Link also For workflow.scratchpad.variable:

https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/administer/using-workflows/conc...

 

For Edit Input Refer the Screenshots:

Parent workflow:

find_real_file.png

 

Then in childworkflow:

Create Edit input:

find_real_file.png

Create variable.

After that access parent variable value in child:

 

find_real_file.png

 

Value which is get from parent will access like above.

u_val is my input variable internal name.

And lastly when we are attaching subflow to parent there will have to insert value to pass to subflow.

find_real_file.png

Val is my input variable name.

 

 

For  accessing via Business Rule:

Refer the Link:

https://docs.servicenow.com/bundle/orlando-application-development/page/script/useful-scripts/refere...

 

 

Also Go through:

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

https://community.servicenow.com/community?id=community_question&sys_id=008cbc22db391810b1b102d5ca96...

 

Mark correct and helpful if it resolves your issue!!! 

Best Regards

Vishakha