Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Issue with Flow Stages Skipping in Approval Flow Configuration

SaurabhMahe
Tera Contributor

Hi Experts,

We are trying to configure flow stages correctly in our environment and facing an issue with stage behavior.

Current Flow Configuration:

  1. For RITM, first check if the user is VIP or not.
  2. If the user is VIP → Approval goes to Line Manager.
  3. If the user is NOT VIP → Approval goes to IT Manager.

This logic is implemented using If / Else conditions, and the flow stages are:

  • Line Manager
  • IT Manager
  • Fulfillment
  • Completed

Issue:
When a non-VIP user submits the request:

  • Approval correctly goes to IT Manager.
  • Line Manager stage shows Skipped (which is expected).
  • However, Fulfillment and Completed stages also show Skipped.

Ideally, these stages should remain in Pending (Not Started) until the approval is completed and the fulfillment process begins.


Why are Fulfillment and Completed stages being marked as Skipped, and how can we configure the flow so that these stages remain Pending until their turn?

Any suggestions or best practices would be greatly appreciated.

 

SaurabhMahe_0-1764143393141.pngSaurabhMahe_1-1764143545139.png

 

1 ACCEPTED SOLUTION

soumyadeep10
Giga Guru

Hi @SaurabhMahe ,

Your flow has several end flow components, now what might happen, even if it goes to IT Manager for approval, since in the same branch you have an 'end flow' action, the flow will first check for the approval and since the approval isn't granted immediately, the flow will treat it as 'Not approved' and then it will end flow. This happens due to 'end flow' being in the same branch.

The solution I suggest:

If VIP?
→ Ask for Approval (Line Manager)
Else
→ Ask for Approval (IT Manager)

[After If/Else block]
→ Fulfillment Stage
→ Completed Stage
→ End Flow

Try the above way once and check.


*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

View solution in original post

3 REPLIES 3

soumyadeep10
Giga Guru

Hi @SaurabhMahe ,

Your flow has several end flow components, now what might happen, even if it goes to IT Manager for approval, since in the same branch you have an 'end flow' action, the flow will first check for the approval and since the approval isn't granted immediately, the flow will treat it as 'Not approved' and then it will end flow. This happens due to 'end flow' being in the same branch.

The solution I suggest:

If VIP?
→ Ask for Approval (Line Manager)
Else
→ Ask for Approval (IT Manager)

[After If/Else block]
→ Fulfillment Stage
→ Completed Stage
→ End Flow

Try the above way once and check.


*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

SaurabhMahe
Tera Contributor

Hi @soumyadeep10 , I was also working on same approach now. The issue is with the branch. I have configured the below flow which is working fine.

 

SaurabhMahe_0-1764155274794.png

 

 

 

Hi @SaurabhMahe ,

It's great that it is working fine now. Also, thank you for accepting my solution.