DES Event configuration for IS document, DBO, and Task

DBO processes, IS start documents and MWS Tasks can be configured to emit DES events.In Mashzone event services can be created to consume these events, whose parameters/details can be viewed in Mashzone dashboards as well as Universal messaging enterprise manager.

Below are the steps that detail the configuration and verification of DES events for IS documents, tasks and DBO processes

Prerequisites

1. Start following servers

a.  Universal messaging server
b.  My Webmethods Server
c.  Integration Server
d.  MashZone NextGen Event Service
e.  MashZone NextGen Server

2.  Configure connection alias in Integration server

a.  Login to IS http://<host>:5555 as Administrator/manage
b.  Navigate to Settings > Messaging > webMethods Messaging Settings > Change Default Connection Alias
c.  Set Connection Alias Name : IS_DES_CONNECTION
d.  Restart Integration server

3.  Create a DBO Process containing Start document and User task. Sync start document and upload the process.

Example:

 

Configure DES event for IS start document

1.  Login to Mashzone http://<host>:8080/mashzone as Administrator/manage
2.  Navigate to Administrator profile image > Admin console > Event Service > Digital Event Services > Create DES Event Source
3.  Provide

Alias : IS_Document_Event
Event Type: select IS start document path

Example: TestFolder.documents.testDoc

4.  Save and start IS_Document_Event
5.  Create dash board for viewing triggered events

a.  Close Admin console and In Mashzone home page, Navigate to Create Dashboard drag and drop the Grid,  
b.  Provide grid name IS_Document_Grid

 

 

c.  Click Assign data > Click Event Service under Products > Select IS_Document_Event in Event source drop down
d.  Click Configure columns... , select the columns > Click Ok > Click Next, drag and drop columns names from Data columns to Grid columns which are needed to be displayed in the grid on the occurrence of event

 

 

e.  Save dash board by clicking Save under Manage drop down

6.  In the designer, create a flow service to publish IS start document, and run this flow service, consumption of event will be seen in Universal Messaging Enterprise Manger  as well as in Mashzone dashboard.

 

Configure DES event for Task

1.  Login to MWS, http://<host>:8585 as Administrator/manage
2.  Navigate to Applications > Administration > Business > Tasks > Task Engine Administration
3.  Click on the task for which DES event has to be configured : SampleTestTask
Click EDA tab, check events to emit on task creation, update and deletion including business data, select Emit Version: Digital Event Services TaskChanged  and click Update

 

4.  Login to Mashzone http://<host>:8080/mashzone as Administrator/manage
5.  Navigate to Administrator profile image > Admin console > Event Service > Digital Event Services > Create DES Event Source
6.  Provide

Alias : Task_Event
Event Type: des.task.TaskChanged    

7.  Save and start Task_Event
8.  Create dash board for viewing triggered events

a.  Close Admin console and In Mashzone home page, Navigate to Create Dashboard drag and drop the Grid,  
b.  Provide grid name Task_Grid
c.  Click Assign data > Click Event Service under Products > Select Task_Event in Event source drop down
d.  Click Configure columns... , select the columns > Click Ok > Click Next, drag and drop columns names from Data columns to Grid columns which are needed to be displayed in the grid on the occurrence of event

9.  When task instance is created, updated (including business data), or deleted event is triggered, consumption of event will be seen in Universal Messaging Enterprise Manger  as well as in Mashzone dashboard.

 

 

Configure DES event for DBO process

1.  Login to Mashzone http://<host>:8080/mashzone as Administrator/manage
2.  Navigate to Administrator profile image > Admin console > Event Service > EDA > Create EDA Event Source
3.  Provide

Alias: DBO_Event
EDA URL: nsp://<host>:9000 (UM URL)
Event Type: {http://namespaces.softwareag.com/EDA/WebM/Process/2.0}ProcessStepInstanceChange

(There are many events select as required)

4.  Save and start DBO_Event
5.  Create dash board for viewing triggered events

a.  Close Admin console and In Mashzone home page, Navigate to Create Dashboard drag and drop the Grid,  
b.  Provide grid name DBO_Grid
c.  Click Assign data > Click Event Service under Products > Select DBO_Event in Event source drop down
d.  Click Configure columns... , select the columns > Click Ok > Click Next, drag and drop columns names from Data columns to Grid columns which are needed to be displayed in the grid on the occurrence of event

6.  In the designer, trigger process instance by publishing start document, complete the process (If user task is used accept and complete task in Business Console, if Case task is used close the case in Agile Apps). For a given event type, each process step instance change event is triggered, consumption of event will be seen in Universal Messaging Enterprise Manger as well as in Mashzone dashboard.