cancel
Showing results for 
Search instead for 
Did you mean: 

Sequencial Multi Instance Sub-process

joselouro
Champ in-the-making
Champ in-the-making
Hi,

I've been doing some tests to create a small PoC.
I've modelled a small process on Eclipse (Activiti Designer) and it was exported from Eclipse and imported on Explorer.

Basicly, I have a sub-process to run (in a sequential way) several times until reach a specific condition.

It happens that in the Activiti Designer the sub-process is defined this way:
<blockcode>
    <subProcess id="subprocess1" name="Discussion">
      <multiInstanceLoopCharacteristics isSequential="true">
        <loopCardinality>10</loopCardinality>
        <completionCondition>${assignee == ""}</completionCondition>
      </multiInstanceLoopCharacteristics>

      <!– Some code here —>

    </subProcess>
</blockcode>

Well, after importing it on the Explorer and deploy it, I checked it on the deployments Tab
and I found really strange that the isSequential is changed…
[IMG]http://i42.tinypic.com/wu0wf7.png[/IMG]

Is this a bug ?
or the Sequential Multi Instance is not yet implemented ?

Thanks in advance.
8 REPLIES 8

jbarrez
Star Contributor
Star Contributor
Sequential is implemented.

That is very strange! Does the xml that comes out of the designer already have the flag set to 'false'? If so, it is a designer bug.

joselouro
Champ in-the-making
Champ in-the-making
Hi,
Thanks for your quick reply…
Answering to your question : NO…
After closing Eclipse, the file is OK, and stays OK on my PC…


    <subProcess id="subprocess1" name="Discussion">
      <multiInstanceLoopCharacteristics isSequential="true">
        <loopCardinality>10</loopCardinality>
        <completionCondition>${assignee == ""}</completionCondition>
      </multiInstanceLoopCharacteristics>
      <userTask id="usertask2" name="Debate about ${sSubject}" activiti:candidateUsers="${assignee}">
        <documentation>${initiator} started a discussion about ${sSubject}.
Please give your opinion.</documentation>
        <extensionElements>

Another thing:
- After importing it on Explorer;
- I already edit it on the Activiti Modeler (by KIS BPM);
- Changed the loop type attribute to MI Sequential;
- Saved it and deploy it again;

The result is the same….

joselouro
Champ in-the-making
Champ in-the-making
Hello,

wondering if this happened only with my Sequencial Multi Instance Sub-process…
No one else had this problem and/or knows how to solve it ?

Thanks in advance,

trademak
Star Contributor
Star Contributor
Hi,

I added a unit test to the activiti-bpmn-converter project and it runs just fine. It could be an issue with 5.13 but at least it's fixed now so it seems. Could you check against the latest Github code, or the new 5.14 release we'll do today or tomorrow?

Best regards,

joselouro
Champ in-the-making
Champ in-the-making
Thank You Tijs.

I'll check it ASAP…

Thanks again.

silverhoof1
Champ in-the-making
Champ in-the-making
I have the same problem, I am using 5.14.
The isSequential is always saved as "false" in activiti explorer.

Yes,
happens the same with me…
(Probably if you create a new post and reference this one, we should have an answer…)

frederikherema1
Star Contributor
Star Contributor
I have created a fix for this on master, will be part of the 5.15 release…