Author Topic: ShapeScript for BPMN2.0::Activity?  (Read 11687 times)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: ShapeScript for BPMN2.0::Activity?
« Reply #15 on: July 25, 2017, 08:09:47 am »
Yes, EA is interested in the value. But the only way that it looks for the value is by decoding the base64 to get a zip archive and extracting the text file containing the instructions. It won't magically know how to read the value in another encoding, regardless of any declaration.

I'm not saying it wouldn't be nice to support reading a shape script from a CDATA section or something similar for debugging reasons. That feature isn't available though.

Mr Stuff

  • EA User
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: ShapeScript for BPMN2.0::Activity?
« Reply #16 on: July 26, 2017, 11:40:54 pm »
Just to round things off, I accomplished my objective by a very heavy handed hack...

Script to allow user to add/edit TaggedValues on a BPMN2.0::Activity also creates/updates (edge mounted) ObjectNodes whose name is set to the TaggeValue value and presentation is controlled by a ShapeScript for the ObjectNode based on a custom stereotype.

One nice feature of this is that the Collapse Embedded Elements option on diagrams hides all this extra info if it's not required.

I do look forward to a better way of doing such things though.

Julian