Table of Contents

Search

  1. Preface
  2. Welcome to Informatica Process Developer
  3. Using Guide Developer for the First Time
  4. Getting Started with Informatica Process Developer
  5. About Interfaces Service References and Local WSDL
  6. Planning Your BPEL Process
  7. Participants
  8. Implementing a BPMN Task or Event in BPEL
  9. Implementing a BPMN Gateway or Control Flow
  10. Using Variables
  11. Attachments
  12. Using Links
  13. Data Manipulation
  14. Compensation
  15. Correlation
  16. What is Correlation
  17. What is a Correlation Set
  18. Creating Message Properties and Property Aliases
  19. Adding a Correlation Set
  20. Deleting a Correlation Set
  21. Adding Correlations to an Activity
  22. Rules for Declaring and Using Correlation Sets
  23. Correlation Sets and Engine-Managed Correlation
  24. Event Handling
  25. Fault Handling
  26. Simulating and Debugging
  27. Deploying Your Processes
  28. BPEL Unit Testing
  29. Creating POJO and XQuery Custom Functions
  30. Custom Service Interactions
  31. Process Exception Management
  32. Creating Reports for Process Server and Central
  33. Business Event Processing
  34. Process Central Forms and Configuration
  35. Building a Process with a System Service
  36. Human Tasks
  37. BPEL Faults and Reports

2. Designer

2. Designer

Alert Service

Alert Service

For many reasons an activity can throw an uncaught fault. Process Server provides the ability to suspend a process on an uncaught fault, and if desired, you can also trigger an alert.
When an uncaught fault occurs, the Process Server can instantiate an alert service that can then invoke some action, such as resuming the process by stepping over the faulting activity, automatically correcting a data value that is known to cause a fault, or simply notifying an administrator that a processing is faulting.
You can design a BPEL process to serve as the alert service. The process must be based on a WSDL file named
alert.wsdl
. There is a BPEL process template based on this WSDL, as described in the steps below. Also, this file is automatically loaded in Participants view as a System Service, so that you create a process consumer participant that adds a receive and reply for the process.
In essence, the WSDL defines the alert operation that receives information from the server regarding the process Id, namespace, name, variable location path, and status of the faulting process.
An input message sent to an alert-service BPEL process would have the following parts, shown in the example:
<ns1:alert xmlns:ns1= "http://www.active-endpoints.com/services/alert" processId= "101" processNamespace="http://tempuri.org" processName="myProcess" locationPath="/process/variables /variable[@name='testMessage']" status="suspended" faultName="someFault" faultNamespace="someFaultNamespace" </ns1:alert>
Here are some general steps to consider when creating an alert-service BPEL process.
To create an alert-service BPEL process:
  1. In the Project Explorer, create a new orchestration project.
  2. Select
    File > New > BPEL
    Process.
  3. Name the process and click
    Next
    .
  4. On the Process Template page, select the Alert process template.
    A new file opens on the Process Editor canvas with a
    ReceiveAlert
    activity. The receive activity is based on the alert operation.
  5. Finish building the process, adding the programming logic that you wish to occur for your use case when a process is faulting. For example, send an email, described in Email Service.
  6. Launch the Deployment Descriptor wizard and on the Partner Links tab, do the following:
    1. Select the AlertPL My Role partner link.
    2. Type in a
      Service Name
      for the My Role partner link.
  7. Start up the Process Server and deploy the alert-service process to the server. Note that in the BPR, there are no WSDL or XSD. They are already deployed and available on the server.
  8. In the Process Console of the server, add the service to the Alert Service page. See the
    Process Console Help
    for details.
Tip:
Within
http://wwww.activevos.com
, refer to
Handling Process Server Alerts using Email and Identity Services
for a comprehensive sample alert service that you can download.


Updated March 30, 2020