workflow scratchpad ???

hibye
Giga Contributor

The scratchpad in workflow is a space in the workflow context to store and share string based variables (as name:value pairs) between instances of activities within an executing instance of a workflow.

As Per the definition..i don't know how i can move the variable from one activity to another activity..

i want move the values from runscript activity to other activities

  workflow.scratchpad.a="shabbir";

  workflow.scratchpad.b="shabbu";

how can i do this???

1 ACCEPTED SOLUTION

Kalaiarasan Pus
Giga Sage

Workflow scratchpad will be available in a workflow across all the activities. You can use the same syntax to access the value



workflow.scratchpad.a


View solution in original post

4 REPLIES 4

Kalaiarasan Pus
Giga Sage

Workflow scratchpad will be available in a workflow across all the activities. You can use the same syntax to access the value



workflow.scratchpad.a


souren0071
Tera Expert

Hi Shabbir,



Scratchpad variables are global within an instance of a workflow. It can be accessible in any of the activities. If you have set it   workflow.scratchpad.a="shabbir";


in runscript, you can easily use the variable to compare in any of the activities.



Regards,


Souren



Please hit like/helpful/correct based on impact.


With the same name "workflow.scratchpad.a" in other activities.


preddy
Kilo Guru

Hi Shabbir,



You are storing data in scratchpad variable. You can call workflow scratchpad in any activity.



For Example:



I have variable in one activity like first_name = workflow.scratchpad.a;


                                                                                            last_name = workflow.scratchpad.b;




if this is helpful pls like as correct answer.