| conditional sequenceflow [message #1053241] |
Fri, 03 May 2013 07:02  |
Begona Martinez Messages: 4 Registered: May 2013 |
Junior Member |
|
|
I'm using conditional sequenceflows. When writing the condition I have to say the language (I choose rule) and the write the condition (for example variable_1 < 0.5).
But then when I want to validate the example, it also ask me to fill the attribute
evaluatesToTypeRef.
I choose for that attribute one of the ItemDefinition availables in the menu (for example ItemDefinition_1)
Am I doing it in the right way?
|
|
|
| Re: conditional sequenceflow [message #1053268 is a reply to message #1053241] |
Fri, 03 May 2013 09:08   |
|
Hmm, I'm not seeing the same thing you are. Which version of the editor are you using?
BTW, the "evaluatesToTypeRef" attribute is not used by jBPM (I'm assuming you ARE using the jBPM Target Runtime because you said you were using the "Rule" expression language).
Cheers,
Bob
|
|
|
|
| Re: conditional sequenceflow [message #1053274 is a reply to message #1053271] |
Fri, 03 May 2013 09:44   |
|
Yep, this is the latest version.
The editor allows you to customize its behavior by selecting a "Target Runtime" for your Project (select the eclipse Project, then from the context menu select Properties -> BPMN2.) If you select "None" for the Target Runtime the editor creates "generic" BPMN2, which is not really targeted for any particular execution engine. The "XPath" expression language is the default for BPMN2, which is not supported by jBPM.
The "JBoss jBPM" configuration customizes the editor specifically for the BPMN2 language subset supported by jBPM5/6, that's why you "can choose among 3 options".
Here's what I'm seeing for the Sequence Flow Details:

Does this look like what you have, or am I missing something?
Bob
|
|
|
|
|
| Re: conditional sequenceflow [message #1053556 is a reply to message #1053552] |
Mon, 06 May 2013 09:55  |
Begona Martinez Messages: 4 Registered: May 2013 |
Junior Member |
|
|
Ok. For the moment, what I have done it's to use an ItemDefinition (with structure reference boolean) and then I have used it to complete "EvaluatesToTypeRef" (it appears in the window and therefore I can choose this
ItemDefinition).
The validation is succefull.
I was wondering if I was doing it in the right way.
|
|
|
Powered by
FUDForum. Page generated in 0.01580 seconds