question

michael.smith avatar image
1 Like"
michael.smith asked Sharan Nitin commented

Is there a simple method to use message parameter in the wait for event?

I'm looking to see if there is an example of passing the message parameter to determine if the wait for event trigger is fired.

process flowwait for eventmessage trigger
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven Hamoen avatar image
3 Likes"
Steven Hamoen answered Sharan Nitin commented

@michael.smith Hi Michael, if you have a wait for event and let it listen to an onmessagetrigger of a 3D object you have access to the Msg Param 1,2 and 3 that are passed in. You can either match those parameters with a label on the token that enters this wait for event or you can assign the Msg Param value to a label on the entering token. With the matching option the token stays in the wait for event till the right event is fired and with the assign you can use a decide if it was the right event. Is this not what you are looking for?

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matt Long avatar image Matt Long commented ·

Just be aware that we still have not updated the message parameters so they are still stored as doubles. If you're trying to match a flowitem or other pointer where you have to put tonum(item) into the message parameter, you'll need to do the same thing on the Process Flow side. Store off the pointer you want to match as a number and then use that in your match.

1 Like 1 ·
Sharan Nitin avatar image Sharan Nitin commented ·

@michael.smith

can you send a sample code of it.

0 Likes 0 ·
Sharan Nitin avatar image
0 Likes"
Sharan Nitin answered

@michael.smith can you send a sample code of it.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.