You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Support a notation of try.. catch that allows executes a sequence of tasks in a try block and if one or more them fails catch the failures in the catch block to execute additional tasks - which can be used to compensate etc.
JSON structure:
{
"type": "TRY",
"try": [
//list of task - includes simple, system, nested like decision, fork/join etc
],
"catch": {
"onFailed": ["task1", "task2] //list of task reference names whose failures should trigger the catch block, or "*" to catch any"tasks": [
//list of compensating tasks to be scheduled
]
}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Proposal
Support a notation of try.. catch that allows executes a sequence of tasks in a try block and if one or more them fails catch the failures in the catch block to execute additional tasks - which can be used to compensate etc.
JSON structure:
Beta Was this translation helpful? Give feedback.
All reactions