12 Jun 2024 01:33 PM
Hello,
(I promise, last one for today,)
When a workflow is triggered by API, I assume you can use the executionID you get back, you can later retrieve the Json that is created with all results and returns?
The "client" has to extract info as needed?
KR Henk
Solved! Go to Solution.
12 Jun 2024 01:43 PM
Correct, you can get the execution details using the ID you get back via the /executions API (https://<YOUR_TENANT>.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Automation#...) or the Javascript SDK client (which simply wraps the API calls). We don't include all the data in the execution object as this could be rather large, but rather split them into seperate endpoint to get task details or their result
Once we add support to define default Workflow input parameters, we will also add an option to define a result for the whole workflow, so you don't have to look up individual task results.