Copyright © Cloud Software Group, Inc. All rights reserved. |
The Select Sub-Procedure Parameter Template To Use dialog is displayed.
The Dynamic Sub-Procedure Call Definition dialog is displayed.
3. In the Call Reference Name field, enter a name for the dynamic sub-procedure call.
4. In the Call Reference Description, enter a description for the call.
5. From the Sub-Procedure Name Array drop-down list, select the array field that will be used to determine the sub-procedure names to call. These will be defined at run-time when the case is run because the array field will contain dynamic data. One sub-case for each element in the array will be started.
6. (Optional) From the Start Step Array drop-down list, select the array field that determines which step each sub-procedure will start at.
7. Click the Ignore case suspend check box if you want the step to be processed as normal while a case is suspended by an SPO or SAL application.If Ignore case suspend is not checked (the default option), the step is not processed while the case is suspended.
Cases can only be suspended and re-activated from an TIBCO iProcess Objects or SAL application. Audit trail messages indicate whether a case is active or suspended. See TIBCO iProcess Objects Programmer’s Guide for more information about suspending cases.
8. (Optional) Select the Don’t delete outstanding cases on withdraw option. If this option is selected, and the deadline on an outstanding step expires:
9. (Optional) Click the Error Handling tab to define the error handling conditions that are applied if there are problems with the dynamic sub-procedure call. See Troubleshooting Dynamic Sub-Procedure Calls for more information.
10. (Optional) Click Deadlines to set a deadline on this step. See “Defining a Deadline” in TIBCO iProcess Modeler Basic Design.
11. To define the input and output parameter mappings for this call, see Defining Input and Output Mappings Using a Sub-Procedure Parameter Template. The sub-procedure parameter template pre-fills the parameters that you can map.
12. Click OK to save your settings. To edit your dynamic sub-procedure call settings at any time - see Editing a Dynamic Sub-Procedure Call Step.
• Defining a Sub-Procedure Parameter Template for more information about creating a parameter template.
• Defining Input Parameter Mappings for information about defining the input mappings for the sub-procedure
• Defining Output Parameter Mappings for information about defining the output mappings for the sub-procedure.After defining the dynamic sub-procedure call details (see Defining a Dynamic Call to Multiple Sub-Procedures), you need to define how the sub-procedure input parameters will be mapped to the main procedure.
1.
To pass complete arrays into and out of sub-procedures, see Example of Passing Complete Arrays into and out of Sub-procedures for more information.
2. In the Mapped To column, enter a valid iProcess expression to map the parameter to. For example, if the main procedure contains two fields for a person’s name (FORENAME and SURNAME), you can create an expression to join the two values so that the single name is mapped to a NAME sub-procedure input parameter. See TIBCO iProcess Expressions and Functions Reference Guide for more information about expressions and functions.
1. Select the sub-procedure parameter. Click in the Mapping Type column and the Preset Values string are inserted if there are pre-defined values.
3. Click the OK button to exit the Sub-Procedure Call Definition dialog.
2. In the Mapped To column select a public script if any have been created or choose <private script> to create a script private to this sub-procedure mapping. You can then click Edit Mapping Script to open the Script Editor and define your script. See Creating a Private Script for more information about creating and using private scripts.
3. If you want to edit a script, select the parameter containing the script and click Edit Mapping Script. The Script Editor is displayed and you can modify the script.After defining the dynamic sub-procedure call details (in Defining a Dynamic Call to Multiple Sub-Procedures), you need to define what output parameters will be mapped to the main procedure.To pass complete arrays into and out of sub-procedures, see Example of Passing Complete Arrays into and out of Sub-procedures for more information.
• n is a positive integer that is automatically assigned by iProcess to each output parameter.
• T denotes that the parameter has been inherited from a template.
Copyright © Cloud Software Group, Inc. All rights reserved. |