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 Event Handlers

Adding Event Handlers

You can add event handlers to the process as a whole or to a scope. You can add two types of event handlers:
For conceptual information, see What is Event Handling?
XML Syntax
<eventHandlers>? <!-- there must be at least one onEvent or onAlarm handler --> <onEvent partnerLink="NCName" portType="QName"? operation="NCName" (messageType="QName" | element="QName")? variable="BPELVariableName"? messageExchange="NCName"?>* <correlations>? <correlation set="NCName" initiate="yes|join|no"/>+ </correlations> <fromParts>? <fromPart part="NCName" toVariable="BPELVariableName"/> </fromParts> <scope...>...</scope> </onEvent> <onAlarm>* ( <for expressionLanguage="anyURI"?>duration-expr</for> | <until expressionLanguage="anyURI"?>deadline-expr</until> ) <repeatEvery expressionLanguage="anyURI"?>? duration-expr </repeatEvery> <scope...>...</scope> </onAlarm> </eventHandlers>

0 COMMENTS

We’d like to hear from you!