This repository was archived by the owner on Jan 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexternaltask-error.html
More file actions
51 lines (45 loc) · 1.98 KB
/
externaltask-error.html
File metadata and controls
51 lines (45 loc) · 1.98 KB
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
<script type="text/javascript">
RED.nodes.registerType('externaltask-error', {
category: 'ProcessCube',
color: '#F6A923',
defaults: {
name: { value: '' },
error: { value: '' },
message: { 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>
<div class="form-row">
<label for="node-input-message"><i class="fa fa-tag"></i> Error Message</label>
<input type="text" id="node-input-message" placeholder="Error Message 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 or from `msg.errorCode` or `msg.error.code`
: Message (string) : The caught exception message or `msg.errorMessage` or `msg.error.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>