This is a dialog used to add processes
it is basically just a wrapper for the ProcessForm component with some changes in the title and button text
Props
Name | Type | Default value | Required? | Description |
---|---|---|---|---|
show |
Boolean | - | Yes | if the component is currently open (mostly used to reset after closing) |
type |
String | - | Yes | the type of process that will be added (e.g. process, project, ...) |
Events
Name | Payload Type | Description |
---|---|---|
done |
undefined | signals that adding the process was successfull |
process |
Object.<Process>|null | the process that was added (null when more than one) |
cancel |
undefined | if the form should be closed without the intention of doing anything (abort) |
Methods
handleTemplate()
Retrieve process-information (bpmnFile, userTasks) from template process and store these in data-array