-
Notifications
You must be signed in to change notification settings - Fork 0
/
externaltask-error.html
46 lines (40 loc) · 1.64 KB
/
externaltask-error.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
<script type="text/javascript">
RED.nodes.registerType('externaltask-error', {
category: 'ProcessCube',
color: '#F6A923',
defaults: {
name: { value: '' },
error: { value: '' },
},
inputs: 1,
outputs: 1,
align: 'right',
icon: 'externaltask_error.svg',
label: function () {
return this.name || 'externaltask-error';
},
});
</script>
<script type="text/html" data-template-name="externaltask-error">
<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-error"><i class="fa fa-tag"></i> Error Code</label>
<input type="text" id="node-input-error" placeholder="Error Code of ExternalTask" />
</div>
</script>
<script type="text/markdown" data-help-name="externaltask-error">
Used for reporting errors in the processing of external tasks. The error
code `Error` in the configuration is forwarded to the ProcessCube engine for
handling within _Error-Boundary-Events_.
## Inputs
: msg (Object) : Passed as `ErrorDetails` to the engine
: Error (string) : From the configuration
: Message (string) : The caught exception message
: StackTrace (string) : The stack trace of the exception
### 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>