- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 03:59 PM
So in my flow I have a "ask for approval" step, that goes to our IT Security team, it is set to "anyone approves or rejects", and directly before have a stage "IT Security approval" and it uses the standard approval stages
So the issue is, when the approval request is Rejected, the stage shows on the users ticket as Approved:
Does anyone know how I can get it to actually show as Rejected?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 02:57 PM
Ok I've figured it out. As I said previously, I'm not using customized states, it is a custom named stage, using the OOTB approval states.
The issue that I was having is that the states show as:
So what I was doing wrong is I wasn't setting an error state in the flow when it is rejected:
So same as you set a stage, you need to Set "Error" State
Added that to the "If approval is rejected" part of the flow and it now updates the state as expected in Employee Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 05:42 PM
HI @Biddaum
Problem Reaffirmed:
The image confirms that you have:
Customized the state labels to be user-friendly (e.g., "Completed" is labeled "Approved," "Error" is labeled "Rejected").
Selected the "Customized state label" option.
However, even with these custom labels, when an approval request is rejected in the preceding "Ask for Approval" action, the "IT Security Approval" stage still displays as "Approved" on the user's ticket, which is incorrect.
Solution, Focused on Customized State Labels:
The core issue remains: Flow Designer's stage display logic is likely relying on internal state values rather than your custom labels when updating the displayed stage status.
Since you are using "Customized state labels," here's how we can address this:
Identify Internal State Values:
Default States: If possible, temporarily switch back to "Use default states" in the stage properties. Note down the default labels that appear for each state (e.g., "Pending," "In Progress," "Completed," "Error," or similar). These are likely the internal values used by Flow Designer.
Approval States: If you switch to "Use approval states" it will show the state labels.
Create a mapping between your custom labels and the corresponding internal state values you identified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 05:58 PM
@musislam thank you for replying, but you have wrongly assumed that I'm using "Customized state labels" that is just the standard heading that always shows on that form - the only customized component is the stage name of "IT Security approval".
The states in that stage are OOTB states that simply get applied when you select the "Use approval states" option on the form:
Therefore, there shouldn't be a need to map anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 06:59 PM
HI @Biddaum
is your flow chart is like below ---Task: Ask for Approval
Assigned to: IT Security Team
Approval Rule: Any member of the IT Security Team can approve or reject the request.
Flow:
If Approved: User: IT Security Team, Approval Rule: Anyone Approves or Rejects)
Continue Flow: The process proceeds to the next stage. The state does not need to be explicitly set to 3 at this point.
If Rejected:
Lookup Approval Comments: The comments from the approval record are retrieved.
Update Record (RITM record):
State: 4 (Closed Incomplete)
Comments: Optionally, the comments from the approval record can be added to the RITM record, along with any other relevant information.
End Flow: The process ends.
let me know , if its the thing or share the flow chart so I can analyze it in proper way
A small request from my end, If you like this opinion and your problem is resolved after reviewing and applying it. Please kindly mark this your best answer🌠 OR mark it Helpful ⛑ if you think that you get some insight from this content relevant to your problem and help me to contribute more to this community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 07:59 PM
This is the entire flow:
