Commit Graph

3 Commits

Author SHA1 Message Date
Dan 3f2ae54f62 1. Fixed the URI for spifflworkflow
2. When injecting something, I realized how important having lowercase names in the imports can be. So changed the index.js files to refer to lower case names always.
3. Added a test for the DataObjectRules.
2022-07-11 13:01:50 -04:00
Dan 4c413c4907 merged reverse of pre/post scripts
updated spiffworkflow moddle to use "script" rather than "text" - to match up with bpmn.io's script task.
Added some ability to change what a DataObjectReference, references.  But more work needed here.
Fixed a bug in the script task that prevented you from writing text in that script object.
2022-07-05 10:27:38 -04:00
Dan 0c9e21a2a5 Adding ability to define pre-scripts and post-scripts on every task that isn't aleady a script task (All tasks, call activities and sub-processes) Scripts will show up as:
```
<userTask id="Task_1" name="What is your favorite color?">
      <extensionElements>
        <spiffworkflow:postScript>x=1</spiffworkflow:postScript>
        <spiffworkflow:preScript>answer="blue"</spiffworkflow:preScript>
      </extensionElements>
     ...
```
2022-06-27 17:29:24 -04:00