How to specify condition for Conditional Intermediate Catch Event?

36 views
Skip to first unread message

Jay Kat

unread,
Feb 8, 2020, 1:06:11 AM2/8/20
to jBPM Usage
Hi,

I am using the various BPMN constructs such as exclusive gateways etc. where I ca n specify conditional expression using simple conditions or using expressions (Java,Javascript, MVEL and Drools). I have specified simple conditions based on process variable values.

However, when I use conditional intermediate catch event, I only get option for Drools.

Is there no other option of specifying the conditional expression either using Java or mvel when using conditional intermediate catch event? I am using version 7.23.


I am not familiar at all with Drools. However, my condition is very simple. Based on if a given process variable is "Y", the flow should continue and if it is "N", then the conditional path should not be taken for that conditional intermediate catch event. If somebody can point to some examples of specifying these kind of simple conditions using Drools, that would help.

Regards,
Jay

Maciej Swiderski

unread,
Feb 10, 2020, 3:17:37 AM2/10/20
to Jay Kat, jBPM Usage
In stunner (new bpmn editor) it is not exposed as separate property but you can create a data input named `DueDate` and then it will be used to set that on task instance

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/ad70820b-4263-4524-a82e-5bd4451b79c1%40googlegroups.com.

Maciej Swiderski

unread,
Feb 10, 2020, 3:19:12 AM2/10/20
to Jay Kat, jBPM Usage
Ignore the last message … it was sent to wrong thread


Conditional events are based on working memory reactiveness - meaning support only drools like expressions. So you would have to interact with working memory (aka ksession) to insert facts that would then trigger conditional events.

Maciej

Yashendra Goyal

unread,
Jan 9, 2025, 5:31:09 AMJan 9
to jBPM Usage
Hi Team,

I have a similar use case where I want to cancel a task if a process variable is updated to true. I am not sure how I can access the process variable inside the conditional expression for the conditional intermediate event. It would be great if you could provide some examples for the same.

Thanks
Yashendra Goyal  
Reply all
Reply to author
Forward
0 new messages