We are trying to use the GET /flows/<_id> API endpoint which is able to get details of a specific flow. After a successful run, the returned JSON object does not contain 'lastExecutedAt' in some flows. Especially starting with webhooks as source (export) tiles. Why is that? Any Idea?
Tharaka, just wondering if you've removed/deleted branches (not branching). In this case, when you've only one branch, it will look like a linear flow but will have the branching router icon with the default "First matching branch." See also, Manage branching in your flow.
Yes, we removed branches, but still branching icon is there. Now we treat it as a linear flow. Is that impact on not returning 'lastExecutedAt' in Flow API endpoints?
Tharaka, if you see the branching router icon, it means that it's treated as a branching flow – in this case, a flow with a single branch. If you want a linear flow (that is, no branching), you need to delete the branching. I'm not sure whether this has an impact, but QA is trying to look into the matter.
We tried to delete the branch. If we delete the branch other tiles are also deleted with the branch. That's why we keep a linear flow with a single branching
Thanks for the comment, G Abhinash. We removed the branching, but it still shows the branching icon. Is branching directly impact to not returning 'lastExecutedAt' in Flow API endpoints?
We can see the last run from the UI.
Why it is not returning from the GET /flows/<_id> API endpoint which is able to get details of a specific flow?