Not returning 'lastExecutedAt' in Flow API endpoints

Comments

11 comments

  • sai kaivalya

    Can you please confirm if it is a branching flow or a linear flow?

    0
  • Tharaka Athukorala
    Engaged
    Celigo University Level 4: Legendary

    Previously we applied branching, now we removed it. But it's still containing 1st matching branching.

     

     

    0
  • Anitha Abraham Community moderator Principal Technical Writer
    Celigo University Level 3: Master

    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.

    0
  • Tharaka Athukorala
    Engaged
    Celigo University Level 4: Legendary

    Thanks for the reply

    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?

    0
  • Anitha Abraham Community moderator Principal Technical Writer
    Celigo University Level 3: Master

    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.

    0
  • Tharaka Athukorala
    Engaged
    Celigo University Level 4: Legendary

    Yes

    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

    0
  • G Abhinash Senior QA Engineer

    Tharaka Athukorala - For branching flows,  the 'lastExecutedAt' is not returning in the response.

    For linear flows tried with both Webhook and HTTP Export, 'lastExecutedAt' is returned in the response.

    Can you please remove the branching and try to run the linear flow

    0
  • Tharaka Athukorala
    Engaged
    Celigo University Level 4: Legendary

    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?

    0
  • G Abhinash Senior QA Engineer

    Tharaka Athukorala -

    This is a bug with branched flows, and there is no work around other than rebuilding the flow without any branching at all.

    0
  • Tharuni Sai Senior QA Manager
    Celigo University Level 4: Legendary

    Tharaka, I hope you are doing good!

    Wanted to keep you posted the progress here, the fix for this bug is available in the production. Could you please try it out from your end. Thanks!

    0
  • Tharaka Athukorala
    Engaged
    Celigo University Level 4: Legendary

    Thank you very much for your comments.

    0

Please sign in to leave a comment.