Tasks not getting returned by the GET a Workflow by ID callout
after a workflow is kicked off (on demand/ callout) we are making an API call to report the tasks count - success/ failed. When we run the GET call we are not seeing the same datafields in the response as the example states in the API documentation. No status or the Tasks is returned. Any ideas?
Re: Tasks not getting returned by the GET a Workflow by ID callout
Not sure if you are still curious about this but:
It depends on the id you use for the callout. If you use the 'instance' id (the one used specifically for a workflow execution run), then you will get all the fields/tasks. If you use the id associated with the overall workflow (sometimes referenced as originalWorkflowId in the api), then you will only get some of the fields and none of the tasks. See attached screenshot.
Hope that clears this up.