This view is opened when you click on the "Open Project" in the Projects views. It shows the bpmn diagram of a project (without the option to edit it) If the project was started (it was deployed and an instance exists), instance info is also shown.
Computed
Name | Type | Description |
---|---|---|
project |
Object | - |
selectedElement |
Object | the activity/event for which detailed info should be shown |
startTime |
String | the time when the project was started, empty if hasn't started yet |
isProjectRunning |
Boolean | if yes, the stop instance button is enabled |
engineUrl |
String | the address of the engine on which the Project is supposed to be executed |
engineHost |
String | the ip-address of the engine |
enginePort |
String | the port of the engine |
Methods
editBpmn()
Opens the ProcesBpmnEditor view
getInstanceInfo()
If an instance exists, fetch info about it from the given engine
handleElementClick(element)
If the clicked element is not the whole process or a sequence flow, set the clicked element and get its meta information
Parameters:
Name | Type | Description |
---|---|---|
element |
Object | the clicked element |
pauseProject()
Pauses the project execution
restartProject()
Restarts the stopped project execution
resumeProject()
Pauses the project execution
startPollingInstanceInfo()
Call the function to get updated info about an existing instance every 5 seconds
startProject()
Deploys the project statically using the engineUrl as machine address and starts an instance
stopProject()
Stops the project execution