X

@OracleIMC Partner Resources & Training: Discover your Modernization options + Reach new potential through Innovation

Process Cloud Service - Using correlations to communicate between processes (part 2)

Continuing my previous article Process Cloud Service - Using correlations to communicate between processes (part 1) I would like to demonstrate correlations in action using PCS Player.

The PCS player is enabled and ready to be used (if not there are the instructions for Enabling the Application Player).

PCS Player is dedicated to test the behavior of your business processes at design time. It can be also used for demonstration purposes. PCS Player uses the same runtime environment as the real process instance and emulates the real behavior of business processes. As the process runs, the player displays a visual representation of the business process progressing the path the process instance through the process flow.

For demonstration we need to execute the following groups of steps:

  • Deploy Application - in test environment
  • Start First Process - define correlation key and wait
  • Start Second Process - send message containing correlation key to the First Process
  • Receive message in the First Process - demonstrate sent keys and messages

Deploy Application

  1. Click Test button
  2. Click Deploy button
  3. Deploy to Test pop-up window will appear. Make sure that "Add Me to All Roles" is selected and click Deploy
  4. Close information window (Click OK button)
  5. Click Play button

Start First Process

  1. Select First Process
  2. Start the process
  3. Click play Icon
  4. Fill the form. Remember the value you entered for the correlation Key. In the example it is set to key1. Enter value for Initial Message. Click Submit button
  5. The process is stopped at "Message Catch Intermediate Event" waiting for a message from Second process

 

Start Second Process

  1. Select Application Player tab
  2. See that First process instance was started
  3. Select Second Process
  4. Confirm that "This will close all the tabs with the current instance"
  5. Start the process the same you did for the First Process
  6. Fill the form. Remember to use the same value you have entered for the correlation Key in the First Process. In the example it is set to key1. Enter value for Initial Message. Click Submit button
  7. Second Process is finished

 

Receive message in the First Process

  1. Select Application Player tab
  2. Select existing Instance of the First Process
  3. The First process has moved forward. "Message Catch Intermediate Event" has been received.
  4. Click on the triangle on the "User task"
  5. On the pop-up window select blue triangle and Launch Form
  6. You can see the correlation keys and messages values from First and Second Processes
  7. Click APPROVE to finish the demo

I believe that this can be used for educational purposes, clarifying your customer how the correlation works.

This content is also available via our recorded webcast https://blogs.oracle.com/imc/inter-process-communication-with-correlations-in-oracle-process-cloud

 

 

 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.