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

26 lines
919 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>bpmn-js-spiffworkflow</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="vendor/bpmn-js/assets/diagram-js.css"/>
<link rel="stylesheet" href="vendor/bpmn-js/assets/bpmn-js.css"/>
<link rel="stylesheet" href="vendor/bpmn-js/assets/bpmn-font/css/bpmn-embedded.css"/>
<link rel="stylesheet" href="vendor/bpmn-js-properties-panel/assets/properties-panel.css"/>
<link rel="stylesheet" href="css/app.css"/>
<!-- Just have this for the download file icon -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div id="menu">
<button id="downloadButton" class="btn"><i class="fa fa-download"></i> Download</button>
</div>
<div id="container">
<div id="modeler"></div>
<div id="panel"></div>
</div>
<script src="app.js"></script>
</body>
</html><!---->