Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Adding a Variable

Adding a Variable

Define a new process variable based on a type.
You can add message type variables to your process automatically when you create a receive, pick, invoke, event handler, or reply activity from a WSDL. For details, see Creating an Activity by Starting with a WSDL Interface.
You can also add variables to your process manually. Before manually adding a variable, ensure that an appropriate WSDL namespace is defined. For more information, see Importing WSDL, Schema, and Other Resources.
You can declare global variables, accessible by the process as a whole, and you can declare local variables for use within a scope. A local variable can have the same name as a global variable, and if it has the same name, only the local variable is accessible within the scope.
To define a global variable:
  1. In Outline view, right mouse click on Variables and select
    Add > Declaration > Variable
    .
  2. Double-click the new variable, or in the Properties view, click
    Dialog (...)
    to open the
    Definition
    dialog.
  3. In the dialog, select the variable type:
  4. Select the name you need from the list that appears, and click
    OK
    .
To add an initial value to a variable, see Initializing a Variable.
To define a local variable:
  1. Select a Scope from Outline view.
  2. Complete Steps 2 - 4 above.
Variables are listed in the order they are created. To re-order the list, move a variable up or down in the Outline view.

0 COMMENTS

We’d like to hear from you!