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

Kunal Varkhede
Tera Guru

Hi,

 

worfklow.scratchpad variable is used in workflow to pass a value to another activity in that workflow.

 

In First Activity use like this,

 

worfklow.scratchpad.var1 = "Test";

 

In second activity get this value like below

 

var value = worfklow.scratchpad.var1;

 

 

Thanks,

Kunal.

Hi Chris,

 

Can you please share your business requirement so that it is clear to me to give answer to your question?

 

Thanks

Hi kunal,

I just want to know how to use that.

Thanks for your help.

Hi @Kunal Varkhede 

I have a catalog task A and catalog task B , whatever worknotes are added in task A should be get copied in task B , how can i achive  this using scratchpad in workflow