-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage-event-trigger.html
48 lines (41 loc) · 1.93 KB
/
message-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
<script type="text/javascript">
RED.nodes.registerType('message-event-trigger', {
category: 'ProcessCube',
color: '#02AFD6',
defaults: {
name: { value: '' },
engine: { value: '', type: 'processcube-engine-config' },
messagename: { value: '', required: true },
},
inputs: 1,
outputs: 1,
icon: 'message_event_trigger.svg',
label: function () {
return this.name || 'message-event-trigger';
},
});
</script>
<script type="text/html" data-template-name="message-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-messagename"><i class="fa fa-tag"></i> Message Name</label>
<input type="text" id="node-input-messagename" placeholder="Name of the Message-Event" />
</div>
</script>
<script type="text/markdown" data-help-name="externaltask-input">
A node to trigger an event that will be send to the corresponding intermediate message event in the connected ProcessCube Engine.
From the config the `messagename` and the `processInstanceId` must be set.
## Inputs
: payload (Object) : The payload will be sent to the message event and be used as a new token payload.
: processInstanceId (string) : The process instance where the message 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>