-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
…trotrejo/collapsedNodes
- Loading branch information
Showing
74 changed files
with
1,806 additions
and
594 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"title": "[Mock] Simple Parameters Only Template", | ||
"description": "This is a simple workflow only template description", | ||
"tags": [ | ||
"Simple Parameters Only", | ||
"try catch" | ||
], | ||
"skus": [ | ||
"consumption", | ||
"standard" | ||
], | ||
"kinds": [ | ||
"stateful", | ||
"stateless" | ||
], | ||
"detailsDescription": "This is a basic workflow only template details description \n- point 1 \n- point 2.", | ||
"details": { | ||
"By": "Microsoft", | ||
"Type": "Workflow", | ||
"Trigger": "Request", | ||
"Category": "Mock" | ||
}, | ||
"artifacts": [ | ||
{ | ||
"type": "workflow", | ||
"file": "workflow.json" | ||
} | ||
], | ||
"images": { | ||
"light": "/templates/BasicWorkflowOnly/workflow-light.png", | ||
"dark": "/templates/BasicWorkflowOnly/workflow-dark.png" | ||
}, | ||
"parameters": [ | ||
{ | ||
"name": "LogicMessage_#workflowname#", | ||
"displayName": "Business Logic Message", | ||
"type": "String", | ||
"description": "Provide the message run by the business logic.", | ||
"required": true | ||
} | ||
], | ||
"connections": {}, | ||
"featuredOperations": [ | ||
{ | ||
"type": "Scope" | ||
} | ||
], | ||
"sourceCodeUrl": "/sourceCode" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"$schema": "/schemaLink", | ||
"actions": { | ||
"Catch": { | ||
"actions": { | ||
"Compensation_Logic": { | ||
"inputs": "Replace this action with the actions for your exception handling logic.", | ||
"type": "Compose" | ||
}, | ||
"Filter_Try_Scope_Errors": { | ||
"inputs": { | ||
"from": "@result('Try')", | ||
"where": "@equals(item()?['status'],'Failed')" | ||
}, | ||
"runAfter": { | ||
"Compensation_Logic": [ | ||
"SUCCEEDED" | ||
] | ||
}, | ||
"type": "Query" | ||
}, | ||
"Format_Errors": { | ||
"inputs": { | ||
"from": "@body('Filter_Try_Scope_Errors')", | ||
"select": { | ||
"action": "@item()?['name']", | ||
"errorResult": "@item()" | ||
} | ||
}, | ||
"runAfter": { | ||
"Filter_Try_Scope_Errors": [ | ||
"SUCCEEDED" | ||
] | ||
}, | ||
"type": "Select" | ||
}, | ||
"Terminate": { | ||
"inputs": { | ||
"runError": { | ||
"code": "500", | ||
"message": "One or more errors occurred while processing messages: \n\n@{body('Format_Errors')}" | ||
}, | ||
"runStatus": "Failed" | ||
}, | ||
"runAfter": { | ||
"Format_Errors": [ | ||
"SUCCEEDED" | ||
] | ||
}, | ||
"type": "Terminate" | ||
} | ||
}, | ||
"runAfter": { | ||
"Try": [ | ||
"FAILED", | ||
"SKIPPED", | ||
"TIMEDOUT" | ||
] | ||
}, | ||
"type": "Scope" | ||
}, | ||
"Try": { | ||
"actions": { | ||
"Business_Logic": { | ||
"inputs": "@parameters('LogicMessage_#workflowname#')", | ||
"type": "Compose" | ||
} | ||
}, | ||
"runAfter": {}, | ||
"type": "Scope" | ||
} | ||
}, | ||
"contentVersion": "1.0.0.0", | ||
"outputs": {}, | ||
"triggers": { | ||
"When_a_HTTP_request_is_received": { | ||
"kind": "Http", | ||
"type": "Request" | ||
} | ||
} | ||
} |
Oops, something went wrong.