Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In some workflows the solution requires handing over a variable from one object to another. This brief tutorial helps you understand the general concept of sharing variables within IWS.

Anchor
ABC
ABC
Sharing Variables

Let's assume you have two objects on the worksheet,  object A and object B.   
To make a variable pass from  object A to object B, you should place this variable into object A's OutParams and then code for Object B to allow it to receive the variable and process it.
Object A's OutParams are set in its Properties box
The variable should be placed into the box without any specific symbols, as shown here:
 
Now object B can address to OutParams and get the variable.
The following variable name format should be used:
/53CAparam_TASK_my_translator_var_name/53CA
​Let Let's take a closer look at this name format:
/53CA is the IWS code for the ":" (colon) character, so this expression stands for     :param_TASK_my_translator_var_name:
Don't forget to replace ":" with /53CA when you paste the code into IWS.
 
Example of use: [Condition to Execute