Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 General Activities Palette : Job Shared Variable

Job Shared Variable
Shared Configuration
A Job Shared Variable shared configuration resource allows you to store data for use by each process instance. A copy of the variable is created for each new process instance. This resource is useful for passing data to and from sub-processes without creating an input or output schema for the called process.
You can use the Get Shared Variable and Set Shared Variable activities to access the data instead of mapping data to a called processes input or output schemas. New process instances receive a copy of the variable, so data cannot be shared across process instances. Therefore, if a called process has the Spawn configuration field checked, a new process instance is created and the process instance receives a new copy of the job shared variable.
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about shared variables.
Configuration
The Configuration tab has the following fields.
Schema
The Schema tab allows you to define a custom schema to hold the data of the variable. You can define your own datatype on this tab, and you can reference XML schema stored in the project. See Appendix A, Specifying Data Schema for a description of how to define a schema.
Initial Value
The Initial Value tab allows you to specify an initial value for the variable. You can choose one of the following:
None — specifies that no initial value is set for the shared variable. You must use the Set Shared Variable activity to set a value before you can read the value of the variable with the Get Shared Variable activity.
See TIBCO Designer Palette Reference for more information on creating XML Instance resources.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved