Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using Xtext for custom conditional expressions on BPMN
Using Xtext for custom conditional expressions on BPMN [message #666919] Sun, 24 April 2011 13:56 Go to next message
Nidhi  is currently offline Nidhi Friend
Messages: 92
Registered: December 2009
Member

Hi,

I am very new to XText, hence it would really help to get an answer. I want to use a very simple constrained language (easily understood by business analysts) to write business rules for the conditional expression on the Decision gateway of BPMN model.

I want to create these rules based on the model instances created at runtime.

In the sense, my metamodel is very generic and contains an EMF entity "parameter". The business analyst based on the business model he/she is creating, instantiates these parameters at run time, for eg., he/she creates a "CustomerProfile" parameter and then wants to create an expression "if CustomerProfile == Gold" take this path else that.

I wanted to know if this is possible using XTexts and it would be great to have some pointers in this direction.

Best Regards,
Nidhi
Re: Using Xtext for custom conditional expressions on BPMN [message #666931 is a reply to message #666919] Sun, 24 April 2011 18:16 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Sounds like a perfect match for Xtext.
Suggest that you start by reading the documentation, and look at the
examples.

- henrik

On 4/24/11 3:57 PM, Nidhi wrote:
> Hi,
>
> I am very new to XText, hence it would really help to get an answer. I
> want to use a very simple constrained language (easily understood by
> business analysts) to write business rules for the conditional
> expression on the Decision gateway of BPMN model.
>
> I want to create these rules based on the model instances created at
> runtime.
>
> In the sense, my metamodel is very generic and contains an EMF entity
> "parameter". The business analyst based on the business model he/she is
> creating, instantiates these parameters at run time, for eg., he/she
> creates a "CustomerProfile" parameter and then wants to create an
> expression "if CustomerProfile == Gold" take this path else that.
>
> I wanted to know if this is possible using XTexts and it would be great
> to have some pointers in this direction.
>
> Best Regards,
> Nidhi
>
Previous Topic:xtend2 boolean switch
Next Topic:Xtend2 issues
Goto Forum:
  


Current Time: Fri Apr 26 18:56:47 GMT 2024

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

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

Back to the top