-
Notifications
You must be signed in to change notification settings - Fork 0
/
process-terminate.html
45 lines (37 loc) · 1.47 KB
/
process-terminate.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
<script type="text/javascript">
RED.nodes.registerType('process-terminate', {
category: 'ProcessCube',
color: '#02AFD6',
defaults: {
name: { value: '' },
engine: { value: '', type: 'processcube-engine-config' },
},
inputs: 1,
outputs: 1,
icon: 'font-awesome/fa-sign-in',
label: function () {
return this.name || 'process-terminate';
},
});
</script>
<script type="text/html" data-template-name="process-terminate">
<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>
</script>
<script type="text/markdown" data-help-name="process-terminate">
Terminate an instance of a process model in the ProcessCube.
## Configs
: name (string): name of the node
: engine (string): the engine to connect to
## Outputs
: payload (string): The id of the processinstance that was terminated.
### 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>