Grammar Extensions

20 views
Skip to first unread message

Stefano T

unread,
Feb 1, 2012, 3:02:49 PM2/1/12
to BPMN Users Group
Hi all,
I'm writing mainly for have clarification about which extension can be
done to the grammar.
I saw in the specification that there are extension points.
So, it is allowed to introduce a new Task?
I did it extending the flowElement (similar to the Script/User/Service
task). I didn't create any globalTask (why is useful for?). is it ok?
(i did, not sure i could done that)
can i create a getaway with new parameters?
can i create a new pool with new parameters?
do you have any reference that clearly specifies which extension can
be done and which can't?(the bpmn20 grammar pdf is kind of broad and i
didn't really get an answer from it)

curiosity: every object in the palette of the editor has to have an
unique translation in the grammar?
what if i create a bunch of tasks with predefined parameters and all
of them are later stored in the XML as tasks with respective
parameters filled in.
is this allowed or is it a bad idea?


Hope someone can clarify my doubts.

Reiner Hille

unread,
Feb 17, 2012, 7:32:53 AM2/17/12
to BPMN Users Group

On Feb 1, 10:02 pm, Stefano T <stefano.tranquill...@gmail.com> wrote:
> Hi all,
> I'm writing mainly for have clarification about which extension can be
> done to the grammar.
There are different ways of extending BPMN: You can add arbitrary XML
attributes if they come from a different XML namespace. You can also
add elements to the "extensionElements" tag.
But you can also specify an Extension Schema, where you define "sub
classes" for existing BPMN objects.

> I saw in the specification that there are extension points.
> So, it is allowed to introduce a new Task?
> I did it extending the flowElement (similar to the Script/User/Service
> task). I didn't create any globalTask (why is useful for?). is it ok?
> (i did, not sure i could done that)
> can i create a getaway with new parameters?
> can i create a new pool with new parameters?

Yes, this is all possible.

> do you have any reference that clearly specifies which extension can
> be done and which can't?(the bpmn20 grammar pdf is kind of broad and i
> didn't really get an answer from it)
>
> curiosity: every object in the palette of the editor has to have an
> unique translation in the grammar?
> what if i create a bunch of tasks with predefined parameters and all
> of them are later stored in the XML as tasks with respective
> parameters filled in.
> is this allowed or is it a bad idea?

I assume that you talk about a specific tool - because BPMN doesn't
specify this. Maybe you explain more in detail what tool you have in
mind.

Stefano T

unread,
Feb 27, 2012, 7:39:04 AM2/27/12
to BPMN Users Group
Hi.
thanks for the reply.

On Feb 17, 1:32 pm, Reiner Hille <ncoder...@googlemail.com> wrote:
> On Feb 1, 10:02 pm, Stefano T <stefano.tranquill...@gmail.com> wrote:> Hi all,
> > I'm writing mainly for have clarification about which extension can be
> > done to the grammar.
>
> There are different ways of extending BPMN: You can add arbitrary XML
> attributes if they come from a different XML namespace. You can also
> add elements to the "extensionElements" tag.
> But you can also specify an Extension Schema, where you define "sub
> classes" for existing BPMN objects.

is there any doc or tutorial on this?

>
> > I saw in the specification that there are extension points.
> > So, it is allowed to introduce a new Task?
> > I did it extending the flowElement (similar to the Script/User/Service
> > task). I didn't create any globalTask (why is useful for?). is it ok?
> > (i did, not sure i could done that)
> > can i create a getaway with new parameters?
> > can i create a new pool with new parameters?
>
> Yes, this is all possible.

how can i create a new task?

>
> > do you have any reference that clearly specifies which extension can
> > be done and which can't?(the bpmn20 grammar pdf is kind of broad and i
> > didn't really get an answer from it)
>
> > curiosity: every object in the palette of the editor has to have an
> > unique translation in the grammar?
> > what if i create a bunch of tasks with predefined parameters and all
> > of them are later stored in the XML as tasks with respective
> > parameters filled in.
> > is this allowed or is it a bad idea?
>
> I assume that you talk about a specific tool - because BPMN doesn't
> specify this. Maybe you explain more in detail what tool you have in
> mind.

i'm using Signavio Core Component. but you are right it does not
depend on the grammar but on the tool itself.

ciao

Reiner Hille

unread,
Mar 6, 2012, 4:13:41 PM3/6/12
to BPMN Users Group
Hi,
I'm still planning to write a comprehensive article about BPMN
extensibility for my EMF metamodel implementation.
An incomplete version can be found here, also, with some examples:


http://www.eclipse.org/forums/index.php/m/758391/

Reiner.

Stefano Tranquillini

unread,
Mar 6, 2012, 5:16:18 PM3/6/12
to bpmn-use...@googlegroups.com
Hi,
thanks.i've give it a look tomorrow. 
in the meantime i found out this  http://code.google.com/p/bpmnx/  there's also a research paper, just  google it.

ciao


--
You received this message because you are subscribed to the Google Groups "BPMN Users Group" group.
To post to this group, send email to bpmn-use...@googlegroups.com.
To unsubscribe from this group, send email to bpmn-users-gro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bpmn-users-group?hl=en.




--
Stefano
Reply all
Reply to author
Forward
0 new messages