forked from project-flogo/contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
descriptor.json
executable file
·41 lines (41 loc) · 992 Bytes
/
descriptor.json
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
{
"name": "flogo-jsexec",
"type": "flogo:activity",
"version": "0.10.0",
"title": "JSExec Activity",
"description": "Executes JS",
"homepage": "https://github.com/project-flogo/contrib/tree/master/activity/jsexec",
"settings":[
{
"name": "script",
"type": "string",
"required": true,
"description": "The javascript code to evaluate"
}
],
"input":[
{
"name": "parameters",
"type": "object",
"required": true,
"description": "Key/value pairs representing parameters to evaluate within the context of the script"
}
],
"output": [
{
"name": "error",
"type": "bool",
"description": "Flag indicating if there was an error executing the script"
},
{
"name": "errorMessage",
"type": "string",
"description": "The error message"
},
{
"name": "result",
"type": "object",
"description": "The result object from the javascript code"
}
]
}