Using Xtext for custom conditional expressions on BPMN [message #666919] |
Sun, 24 April 2011 13:56 |
|
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 |
Henrik Lindberg 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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03174 seconds