Thursday, September 24, 2020

How to Publish and subscribe events in BPM

 Follow below steps to create Events in BPM


S1. Create Events

     1.     Right click on Events folder in Application Lane

     2.     Search Event Definition in New Gallery

     3.     Select Event Definition

      

     4.       Create Event Definition

Name: Event.edl

     5.       Click on add symbol

      Create Event pop up appear

è Name: ResponseCreationEA_ANP (Provide name according to your service/schema where you want to generate event )

è Type: select relevant schema/xsd

è Ok - ok

6.  Event.edl file generated

S2To publish event follow below steps:

1. Drag a Mediator service component into the components lane.

2. In the Name field, enter a name.

3. From the Template list, select One-way Interface

4. Select Input type based on xsd.

5. Inside .mplane file click on plus button it will ask Target Type

6. Select Publish Event ->ok


7.       Add plus symbol on Published Events

8.       Search and Add event (Event.edl) (which we created earlier)on Event Chooser

9.       Ok ok ok

10.       Map the field into Assign values 


S3:To Subscribe event follow below steps:

Use Catch signal into BPMN flow and apply Event on that.

Do mapping inside Data Associations according to Business Object.

Ok - done

You can view event on your composite:

This is how we create Event publish and subscribe in BPMN12c.



No comments:

Post a Comment

SOA Overview Part-1

  Middleware It provides a mechanism for the process to interact with other processes running on multiple network machines. Advantages...