Re: [BPMN Forum] Call Activities and SubProcesses/Processes

303 views
Skip to first unread message

Neal McWhorter

unread,
Apr 1, 2013, 1:26:30 AM4/1/13
to bpmnforum
Stefano,

You wrote:
>>can a Call Activity call a process which has lanes and pools or has it to be just a
>> subprocess? 

This is a tricky subject. From a Lane standpoint...Lanes have no semantics so there is no restriction on how they are used. From a Call Activity standpoint... Because 1) a called element (Global Task or Subprocess) always runs within the context of the calling process, 2) a calling process always has a single pool and 3) pools cannot be embedded within pools; it is not possible for a called process to have a pool defined since it would already be running in the pool that it's calling process was within.

You also wrote:
>>to call a process with lanes and pools, do i've to use the call activity with a closed 
>>sub-process or will it work if i use a plain task with a call activity? Basically a 
>>Task-Call-Activity calls only Task and the subprocess-call-activity calls only
>> processes/subprocesses?

To further elaborate on the above... A top-level process always defines a pool... either explicitly or implicitly. So all subprocesses operate within their parent processes pool. A Call activity can call any callable element which means any kind of Global Task or any Subprocess (with some restrictions). In either case the called element operates within the pool that the calling process is executing within.

I hope that helps!

Neal


On Thu, Mar 28, 2013 at 9:03 AM, Stefano Tranquillini <stefano.tr...@gmail.com> wrote:
Hi all.
i've some doubts about the Call Activity about what they can call.

First: subprocesses can't contain lanes or pool. They are just a refinement of the closed-subprocess tasks they belong to.
Second: Call Activity can be used to call, an external task or an external process.

Now: 
can a Call Activity call a process which has lanes and pools or has it to be just a subprocess? 
to call a process with lanes and pools, do i've to use the call activity with a closed sub-process or will it work if i use a plain task with a call activity? Basically a Task-Call-Activity calls only Task and the subprocess-call-activity calls only processes/subprocesses?



ciao

--
--
You received this message because you are subscribed to the Google
Groups "BPMN Forum" group.
Public website: http://www.bpmnforum.com
To post to this group, send email to BPMN...@googlegroups.com
To unsubscribe from this group, send email to
BPMNforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/BPMNforum?hl=en_US?hl=en
 
---
You received this message because you are subscribed to the Google Groups "BPMN Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to BPMNforum+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Neal McWhorter

unread,
Apr 1, 2013, 1:44:02 AM4/1/13
to bpmnforum
Stefano,

More trickiness... First , Lanes have no semantics so you can do whatever you want with them. Second a participant in a Collaboration is really the same as a pool. What this is saying is that the participant(s) from the calling process (the participant which corresponds to the calling process's pool) must be mapped to the participant(s) in the called process. So the called process must make use of the same pool. Note that the use of multiple participants for a Pool is limited to multi-instance pools which are a complex element in there own right.

I hope that helps!

Neal


On Fri, Mar 29, 2013 at 10:57 AM, Stefano Tranquillini <stefano.tr...@gmail.com> wrote:
Hello all,
i found this in the grammar definiton:

A Call Activity within a Process that has a definitional Collaboration references another Process that also has a definitional Collaboration. The Participants of the definitional Collaboration of the called Process (the inner diagram) need to be mapped to the Participants of the definitional Collaboration of the calling Process (the outer diagram). 

Translated, does this means that the called process can have pools and lanes BUT they MUST be mapped with the participant of the calling Process? Basically participants of the inner process are the set (or a subset) of the participant in the outer process. right?


  

On Thursday, March 28, 2013 3:03:33 PM UTC+1, Stefano Tranquillini wrote:
Hi all.
i've some doubts about the Call Activity about what they can call.

First: subprocesses can't contain lanes or pool. They are just a refinement of the closed-subprocess tasks they belong to.
Second: Call Activity can be used to call, an external task or an external process.

Now: 
can a Call Activity call a process which has lanes and pools or has it to be just a subprocess? 
to call a process with lanes and pools, do i've to use the call activity with a closed sub-process or will it work if i use a plain task with a call activity? Basically a Task-Call-Activity calls only Task and the subprocess-call-activity calls only processes/subprocesses?



ciao
Reply all
Reply to author
Forward
0 new messages