Created
February 10, 2022 08:25
-
-
Save tjerman/6786d78c0db2c2c1309c2b33b8fb8d5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workflows": [ | |
{ | |
"handle": "json", | |
"enabled": true, | |
"meta": { | |
"name": "json", | |
"description": "", | |
"visual": null | |
}, | |
"keepSessions": 0, | |
"steps": [ | |
{ | |
"stepID": "4", | |
"kind": "function", | |
"ref": "jsenvExecute", | |
"arguments": [ | |
{ | |
"target": "scope", | |
"value": "[{\"k\": \"v1\"}, {\"k\": \"v2\"}, {\"k\": \"v3\"}]", | |
"type": "String" | |
}, | |
{ | |
"target": "source", | |
"value": "return JSON.parse(input)", | |
"type": "String" | |
} | |
], | |
"results": [ | |
{ | |
"target": "items", | |
"expr": "resultAny" | |
} | |
], | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "4", | |
"parent": "1", | |
"value": null, | |
"xywh": [ | |
2600, | |
2120, | |
200, | |
80 | |
] | |
} | |
} | |
}, | |
{ | |
"stepID": "8", | |
"kind": "iterator", | |
"ref": "loopEach", | |
"arguments": [ | |
{ | |
"target": "items", | |
"expr": "items", | |
"type": "Array" | |
} | |
], | |
"results": [ | |
{ | |
"target": "item", | |
"expr": "item" | |
} | |
], | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "8", | |
"parent": "1", | |
"value": null, | |
"xywh": [ | |
2880, | |
2120, | |
200, | |
80 | |
] | |
} | |
} | |
}, | |
{ | |
"stepID": "9", | |
"kind": "function", | |
"ref": "logDebug", | |
"arguments": [ | |
{ | |
"target": "message", | |
"expr": "item.k", | |
"type": "String" | |
} | |
], | |
"results": [], | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "9", | |
"parent": "1", | |
"value": null, | |
"xywh": [ | |
2880, | |
2280, | |
200, | |
80 | |
] | |
} | |
} | |
}, | |
{ | |
"stepID": "10", | |
"kind": "termination", | |
"ref": "", | |
"arguments": null, | |
"results": null, | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "10", | |
"parent": "1", | |
"value": null, | |
"xywh": [ | |
3200, | |
2120, | |
200, | |
80 | |
] | |
} | |
} | |
} | |
], | |
"paths": [ | |
{ | |
"parentID": "4", | |
"childID": "8", | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "7", | |
"parent": "1", | |
"points": [], | |
"style": "exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;", | |
"value": null | |
} | |
} | |
}, | |
{ | |
"parentID": "8", | |
"childID": "9", | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "11", | |
"parent": "1", | |
"points": [], | |
"style": "exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;", | |
"value": "Body" | |
} | |
} | |
}, | |
{ | |
"parentID": "8", | |
"childID": "10", | |
"meta": { | |
"name": "", | |
"description": "", | |
"visual": { | |
"id": "12", | |
"parent": "1", | |
"points": [], | |
"style": "exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;", | |
"value": "End" | |
} | |
} | |
} | |
], | |
"triggers": [ | |
{ | |
"resourceType": "system", | |
"eventType": "onManual", | |
"constraints": [ | |
{ | |
"name": "", | |
"op": "=", | |
"values": [ | |
"" | |
] | |
} | |
], | |
"enabled": true, | |
"stepID": "4", | |
"meta": { | |
"description": "", | |
"visual": { | |
"edges": [ | |
{ | |
"childID": "4", | |
"meta": { | |
"description": "", | |
"label": "", | |
"visual": { | |
"id": "16", | |
"parent": "1", | |
"points": [], | |
"style": "exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;", | |
"value": null | |
} | |
}, | |
"parentID": "3" | |
} | |
], | |
"id": "3", | |
"parent": "1", | |
"value": null, | |
"xywh": [ | |
2320, | |
2120, | |
200, | |
80 | |
] | |
} | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment