-
Notifications
You must be signed in to change notification settings - Fork 0
/
process-start.html
59 lines (50 loc) · 2.39 KB
/
process-start.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<script type="text/javascript">
RED.nodes.registerType('process-start', {
category: 'ProcessCube',
color: '#02AFD6',
defaults: {
name: { value: '' },
engine: { value: '', type: 'processcube-engine-config' },
processmodel: { value: '', required: false },
startevent: { value: '', required: false },
},
inputs: 1,
outputs: 1,
icon: 'process_start.svg',
label: function () {
return this.name || 'process-start';
},
});
</script>
<script type="text/html" data-template-name="process-start">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name" />
</div>
<div class="form-row">
<label for="node-input-engine"><i class="fa fa-tag"></i> Engine-URL</label>
<input type="text" id="node-input-engine" placeholder="Engine-URL" />
</div>
<div class="form-row">
<label for="node-input-processmodel"><i class="fa fa-tag"></i> Processmodel</label>
<input type="text" id="node-input-processmodel" placeholder="ID of Processmodel" />
</div>
<div class="form-row">
<label for="node-input-startevent"><i class="fa fa-tag"></i> Startevent</label>
<input type="text" id="node-input-startevent" placeholder="ID of Startevent" />
</div>
</script>
<script type="text/markdown" data-help-name="process-start">
Start a new instance of a process model in the ProcessCube.
The `processModelId` and `startEventId` can be set in the message object to override the configured values.
## Inputs
: payload (Object) : Will be used as the start token for the process.
: processModelId (String) : Will be used as the process model and override the configured `Processmodel`.
: startEventId (String) : Will be used as the start event and override the configured `Startevent`.
## Outputs
: processInstanceId (string) : The unique identifier of the started process instance.
: correlationId (string) : The unique correlation identifier of the started process instance.
### References
- [The ProcessCube© Developer Network](https://processcube.io) - All documentation for the ProcessCube© platform
- [ProcessCube© LowCode Integration](https://processcube.io/docs/node-red) - LowCode integration in ProcessCube©
</script>