Activity
The Activity Math variable represents an object containing a group of activity fields for use with spawning multiple activities in creating an array and populating the fields for the spawned activities. The activity fields are defined in the configuration of the transaction to be spawned.
Works to achieve multi spawning activities ActivityArray.
Activity Math Variable in Palette
Note: For a comprehensive explanation of the characteristics of this math variable, refer to the XML Configuration Guide in the Help menu.
Define the Activity Math Variable
Drag and drop the Activity Math variable from the Palette window onto the Math Pane. Enter the following information for the math variable.
-
Type a name in the Name field. This is required.
-
The data types applicable are Activity, Boolean, Date, Decimal, Integer, Map, Object, and Text. This is required.
-
Make sure variable type is defined as Activity. This is required.
-
Select the applicable Operation from the drop down selection box. The options are: Create and SetValue.
- Create provides a Method in which you can select a GUID or Transaction Name radio button. Selecting GUID allows you to populate the Transaction text box with a TransactionGUID. Selecting Transaction Name provides you with a drop down selection box of currently configured Transactions. You may also, in either case, supply a previously defined Math variable that represents the TransactionGUID or TransactionName.
- SetValue allows you to designate a field and the Value for the field as it will replace any default calculated value in the Activity Math object.
The value of an Activity math object cannot be evaluated inside a MathLoop. If the Set Value requires a calculation, the calculation must be done first with another math variable type (other than MathLoop, or MathIF) which will be referenced by the Set Value operation. For example, if you wish to manipulate the Effective Date by adding days, the Function must be handled first by another math variable and then Set Value can reference the Function math variable's name in the Value field.
Math Loop with Activity and ActivityArray:In order to populate the array with more than one Activity math object, a standard loop can be used (optional).
- Steps include: Create the ActivityArray, Begin the MathLoop, Create the Activity Object, Set Value of the Activity Object, Add the object to the ActivityArray, and Close the MathLoop.
- Note: The ActivityArray variable must be instantiated outside of the loop and the Activity object math object inside the loop.
Check-in the transaction to save the information to the database.
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices