Book a Demo

Author Topic: BPMN Addin 1.1 Symbology Issue.  (Read 4586 times)

Trousers

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
BPMN Addin 1.1 Symbology Issue.
« on: November 01, 2006, 08:07:37 pm »
Hey people,

We are just adopting EA (v6.5.798) as our tool, and I am having some difficulties with the BPMN addin (v1.1).  

Essentially most things seem to be working (you can tag events/gateways and they change graphically) but activity tags are not changing the graphical elements as we'd expect.  

For example, changing ActivityType to Sub-Process does not display the "+" symbol it should, nor does setting the AdHoc tag to true display the "~".  

Anybody else had similar problems?   We've tried reinstalling the add-in, but no joy.  I'm loath to reinstall EA, but I'm thinking there's not much else I can try.

Cheers,
Shane.

remaley

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #1 on: November 02, 2006, 04:56:56 am »
 :-/  We are using 6.5 ( 798 ) and the BPMN 1.2 beta and both of the above (+ and ~) work correctly.  We are on Windows XP and they have worked correctly since first installed.  I was not aware of a 1.1 release, but perhaps this was a fix in 1.2--you might try that.

Tom
« Last Edit: November 02, 2006, 04:57:46 am by remaley »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #2 on: November 02, 2006, 05:47:14 am »
The 1.3 version is out now. 1.2 was a beta.
No, you can't have it!

Trousers

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #3 on: November 02, 2006, 01:21:19 pm »
Hey people,

We found the 1.3 version and upgraded yesterday, still with no joy.  

What we did discover is that the shapescript is not being populated into the Activity stereotype, it remains on metafile.

Very strange, as the other stereotypes (events,gateways) get their shapescript okay and work fine.  

We do know someone for whom it is working for, our cunning plan is to import their shapescript and see if it works...

Cheers,
S.
« Last Edit: November 02, 2006, 01:23:19 pm by Trousers »

Trousers

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #4 on: November 02, 2006, 02:15:20 pm »
Okay, seems the shapescript import has worked, we're getting the activity indicators showing now.  

So, can anyone see any issues with me posting the shapescript code for the activity stereotypes in this forum for others to fix this issue if it occurs?

Cheers,
S.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #5 on: November 02, 2006, 04:16:13 pm »
No, please do.

PS: How did you create the diagram itself? It seems to me (perhaps only to me, so take this with appropriate seasoning) that the add-in does a few tweaks when you create a BPMN diagram. I get the impression that simply creating a diagram and stereotyping it does not necessarily do all the same stuff. Perhaps (I'm guessing here) that could have been the reason things did not all come together the first time you built the diagram.
« Last Edit: November 02, 2006, 04:18:26 pm by Midnight »
No, you can't have it!

Trousers

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN Addin 1.1 Symbology Issue.
« Reply #6 on: November 02, 2006, 05:32:29 pm »
Here's the code then:

Bang everything between the <snip> marks into a txt file, and then import that file into the shapescript for the activity stereotype.

Enjoy,
Shane.

PS:  Sorry about the formatting, tabbing seems to have been stripped and extra spaces inserted when it got ported into the message!

<snip>
shape main
{

layouttype="border";


startpath();

roundrect(0,0,100,100,10,10);

endpath();

fillandstrokepath();


if(HasTag("IsATransaction","true"))

{


roundrect(2,3,98,98,10,10);

}


addsubshape("base","S");

addsubshape("padding","N");

addsubshape("padding","W");

addsubshape("padding","E");

addsubshape("name","CENTER");


text name

{


h_align = "center";


PrintWrapped("#NAME#");

}


shape padding

{


preferredHeight=10;


preferredWidth=10;

}


shape base

{


layouttype="border";


preferredHeight=20;




addsubshape("null","N");


addsubshape("null","S");


addsubshape("baseshapes","CENTER");




shape null


{



preferredHeight=3;


}




shape baseshapes


{



layouttype="leftright";



scalable=false;



v_align="CENTER";



h_align="CENTER";






addsubshape("spacer");



if (HasTag("LoopType","Standard"))



{




addSubShape("loop");




addsubshape("spacer");



}



if (HasTag("LoopType","MultiInstance"))



{




addSubShape("loop");




addsubshape("spacer");



}



if (HasTag("IsMultipleInstance","true"))



{




addSubShape("multiple");




addsubshape("spacer");



}



if (HasTag("IsCompensation","true"))



{




addSubShape("compensation");




addsubshape("spacer");



}



if (HasTag("ActivityType","Sub-Process"))



{




addSubShape("collapsed");




addsubshape("spacer");



}



if (HasTag("AdHoc","true"))



{




addSubShape("adhoc");




addsubshape("spacer");



}




shape spacer



{




preferredWidth=2;



}




shape loop



{




preferredWidth=10;




preferredHeight=10;




setpenwidth(2);




moveto(70,90);




arc(0,0,100,100,70,90,30,90);




//moveto(60,100);




//arc(0,0,100,100,60,100,40,100);




setfillcolor(0,0,0);




startpath();





moveto(-20,100);





lineto(40,100);





lineto(40,60);




endpath();




fillpath();



}




shape multiple



{




preferredWidth=10;




preferredHeight=10;




setfillcolor(0,0,0);




startpath();




rectangle(10,0,40,100);




endpath();




fillandstrokepath();




startpath();




rectangle(60,0,90,100);




endpath();




fillandstrokepath();



}





shape compensation



{




preferredWidth=10;




preferredHeight=10;




setfillcolor(0,0,0);




startpath();




moveto(0,50);




lineto(50,0);




lineto(50,100);




endpath();




fillandstrokepath();




startpath();




moveto(50,50);




lineto(100,0);




lineto(100,100);




endpath();




fillandstrokepath();



}




shape collapsed



{




preferredWidth=10;




preferredHeight=10;




rectangle(0,0,100,100);




moveto(15,50);




lineto(85,50);




moveto(50,15);




lineto(50,85);



}




Shape adhoc



{




preferredWidth=10;




preferredHeight=10;




SetPen(0,0,0,3);




MoveTo(0,50);




StartPath();




PolyBezierTo(50,0,50,100,100,50);




EndPath();




StrokePath();



}


}

}
}
<snip>
« Last Edit: November 02, 2006, 05:33:15 pm by Trousers »