Which API endpoints to get last run date of workflows?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a workflow that uses an API call macro where you can pick the endpoints. I've already used it to get some good reporting done, but the element I can't seem to find is the "last run date". I'm guessing it's a combination of endpoints where the data has to be parsed and then joined?
Does anyone know the endpoints needed to get the "last run date" of a given(or all) workflows on the server?
Thanks,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@csh8428 , you should be able to get this information from the 'Get Jobs' endpoint from the V3 server API under the "CreateDateTime" parameter.
webapi//swagger/ui/index#!/Jobs/Jobs_GetJobV3
You can get the job ids from a specific workflow with the GetJobsForWorkflow endpoint.
webapi//swagger/ui/index#!/Workflows/Workflows_GetJobsForWorkflow
If this helps resolve your issue, please mark this reply as the solution so that others in the Community can benefit from our collaboration.
Thanks.
