Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » conditional sequenceflow(conditionExpression, evaluatesToTypeRef)
conditional sequenceflow [message #1053241] Fri, 03 May 2013 11:02 Go to next message
Begona Martinez is currently offline Begona MartinezFriend
Messages: 5
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 13:08 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

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 #1053271 is a reply to message #1053268] Fri, 03 May 2013 13:21 Go to previous messageGo to next message
Begona Martinez is currently offline Begona MartinezFriend
Messages: 5
Registered: May 2013
Junior Member
To my knowledge I'm using the BPMN2 Editor. And this is the version I have:
BPMN2 Editor 0.2.5.201304262142 org.eclipse.bpmn2.modeler.feature.feature.group Eclipse.org

In the previous version the only way to write the condition was "xpath", but know you can choose among 3 options.

The version of jBPM I have is this:
JBoss jBPM5 Runtime Extension Feature 0.2.5.201304262142 org.eclipse.bpmn2.modeler.jboss.runtime.feature.feature.group Eclipse.org

Thanks
Re: conditional sequenceflow [message #1053274 is a reply to message #1053271] Fri, 03 May 2013 13:44 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

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:

http://content.screencast.com/users/rbrodt/folders/Jing/media/f07d6648-1067-4460-a29d-433c2d4df588/2013-05-03_0742.png

Does this look like what you have, or am I missing something?

Bob
Re: conditional sequenceflow [message #1053521 is a reply to message #1053274] Mon, 06 May 2013 11:16 Go to previous messageGo to next message
Begona Martinez is currently offline Begona MartinezFriend
Messages: 5
Registered: May 2013
Junior Member
Yes, that is exactly what I have.
When I edit the file with the BPMN2 Model Editor and I choose the option "Validate" then I get the error message that it's necessary to fill the value for "EvaluatesToTypeRef"
Thanks.
Re: conditional sequenceflow [message #1053552 is a reply to message #1053521] Mon, 06 May 2013 13:29 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

I'm sorry, I'm still not seeing this problem Sad
We're still working on getting the validation code cleaned up. Is this a high priority for you right now, or can you work around it?

Cheers,
Bob
Re: conditional sequenceflow [message #1053556 is a reply to message #1053552] Mon, 06 May 2013 13:55 Go to previous message
Begona Martinez is currently offline Begona MartinezFriend
Messages: 5
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.
Previous Topic:Cardinalities
Next Topic:"User task has no task name"
Goto Forum:
  


Current Time: Wed Apr 24 20:35:54 GMT 2024

Powered by FUDForum. Page generated in 0.03305 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top