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 Link with a Transition Condition

Adding a Link with a Transition Condition

Add a link with a transition condition based on the completion of the source activity. The condition must evaluate to a Boolean true before the target activity can begin.
  1. Complete the steps for drawing a link, described in Adding a Link with no Transition.
  2. Select a link and double-click it. Alternately, in the Properties view, click the
    Dialog (...) Button
    next to
    Transition Condition
    .
  3. Build an XPath (or other language) expression, as described in Using the Expression Builder.
    The following illustration shows an example of condition that prevents an activity from executing if an amount is too large.
    Hover help displaying link transition condition
In this example, the parameters refer to a BPEL process variable holding data from a WSDL message. For more information, see Using Variables.
Linking Activities
You can link any two activities; however, you should use a gateway to clarify the intended purpose of linking. In the following illustration, the construct on the left shows using a gateway and adding a label to describe the transition condition on the link.
On the right side, is a receive linked to two activities. Note that a transition condition is indicated by a mini-gateway diamond; however, you can add a label here as well.
transition conditions with and without a gateway

0 COMMENTS

We’d like to hear from you!