-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignal-event-trigger.html
49 lines (41 loc) · 1.81 KB
/
signal-event-trigger.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
<script type="text/javascript">
RED.nodes.registerType('signal-event-trigger', {
category: 'ProcessCube',
color: '#02AFD6',
defaults: {
name: { value: '' },
engine: { value: '', type: 'processcube-engine-config' },
signalname: { value: '', required: true },
},
inputs: 1,
outputs: 1,
icon: 'signal_event_trigger.svg',
label: function () {
return this.name || 'signal-event-trigger';
},
});
</script>
<script type="text/html" data-template-name="signal-event-trigger">
<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</label>
<input type="text" id="node-input-engine" placeholder="Engine" />
</div>
<div class="form-row">
<label for="node-input-signalname"><i class="fa fa-tag"></i> Signal Name</label>
<input type="text" id="node-input-signalname" placeholder="Name of the Signal" />
</div>
</script>
<script type="text/markdown" data-help-name="signal-event-trigger">
A node which emmits a signal event to the Engine.
From the config the `signalname` and the `processInstanceId` must be set.
## Inputs
: payload (Object) : Will sent to the event and used an new token payload.
: processInstanceId (string) : The process instance where the signal event should be triggered.
### 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>