Skip to main content
June 28, 2021
Question

Multiple message events in a single process model

  • June 28, 2021
  • 2 replies
  • 0 views

Hello, 

I have a process model which has 2 message listerner events. Both of them have different data being passed to them through two different processes (call them, Process A and Process B) and these processes are started using a!startProcess() from an interface. Process A and Process B are started from two different buttons respectively. 

Since there are two message events and they are configured as Process to Process listeners, both of them get triggered even if one of them has the actual data. Due to this, I am receiving "Error in Process" errors every time either of the two buttons are clicked. It doesn't affect the functionality but I want to resolve those error alerts. 

 

Any way to fix this?

    2 replies

    stefanhelzle0001
    Brainy
    June 28, 2021

    You need to use the index() or property() function instead of dot-notation to access individual message values.

    gayathris111098
    June 28, 2021

     We can specify any condition in the Receive Message Setup i.e. --> Event Conditions --> Start process only if conditions are true?