Book a Demo

Author Topic: Change an Activity Initial to a Synch  (Read 3330 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Change an Activity Initial to a Synch
« on: December 14, 2004, 01:28:29 pm »
Activity diagrams.

Now that the entire model is coming together, it is now apparent that some of the start nodes on the flows shouldhave been modelled as synch elements - a pedantic need but nonetheless...

But how can I change them?  The Change element type function treats them all as "StateNode"  and I cant see anything that differentiates them in the properties.

Any ideas?

tia
Bruce

p.s. due to SOE we dont have access to Access  :(
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

thomaskilian

  • Guest
Re: Change an Activity Initial to a Synch
« Reply #1 on: December 14, 2004, 02:29:54 pm »
Well Bruce,
not really. Add the synch and make new connections. Probably a macro could support you in doing so.

(SOE ???)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Change an Activity Initial to a Synch
« Reply #2 on: December 14, 2004, 02:51:20 pm »
SOE : Standard Operating Environment - an excuse used by the infrastructure nasties to prevent any project actually achieving somethig useful.
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Change an Activity Initial to a Synch
« Reply #3 on: December 14, 2004, 02:55:22 pm »
Bruce,

The only difference I can find between a Synch and ActivityInitial is in the t_object.NType field: ActivityInitial has the value 100; Synch has the value 6. This field is available in the Automation Interface as Element.Subtype.  Search the help file for "subtype".

HTH,

Neil
« Last Edit: December 14, 2004, 02:55:59 pm by KP »
The Sparx Team
[email protected]

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Change an Activity Initial to a Synch
« Reply #4 on: December 14, 2004, 03:17:59 pm »
Thanks KP, that's what I needed!
Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.