The CreatorCon Call for Content is officially open! Get started here.

ask for approval state i have mention condition as approved then still its showing euvalated fasle

arunpandyan
Tera Contributor

im creating a onboard application and added flow desiner to automate the flowmbut in ask for approval section the approval condition is evelating as false. please check the below screen and advise me

4 REPLIES 4

M Iftikhar
Giga Sage

Hi Arun,

This is expected behavior and means your flow is working correctly. The condition you see (Approval State is Approved) is a result check, not an initiation trigger.

Here’s a simple breakdown of what is happening:

  1. The "Ask for Approval" Action Creates a Task: When your flow runs, this action generates a new Approval Request task (like sysapproval_approver) and assigns it to the designated person or group. At the moment of creation, this task's State is "Requested" and its Approval field is empty.

  2. The Flow Pauses and Waits: The flow pauses at this step and waits for someone to act on that approval task (i.e., to either Approve or Reject it).

  3. The Condition is for the Future: The condition Approval State is Approved is a gate that will be evaluated only after the approval task is completed. Right now, since the task is still pending, the condition correctly evaluates to false. It will remain false until an approver actually clicks the "Approve" button.

In short: You haven't done anything wrong. The flow is now waiting for an approver to make a decision.

What to do next:

  • Go to your approval task. You can find it by navigating to All > Approvals > My Approvals or by searching the sysapproval_approver table.

  • Act on the task. Open the approval record and click Approve.

  • Return to your flow. Once you approve the task, the flow will automatically resume. The condition will then re-evaluate, find that Approval State is Approved is now true, and proceed down the "Approved" path.

Hope this helps!
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Bhuvan
Mega Patron

@arunpandyan 

 

Ask for approval action will create an approval request for the record but you need to define approval rules or if you have a due date field in the record and if approval is not acted upon within due time, it will be auto approved. There are multiple options for setting up approvals.

 

Please refer below YouTube and documentation links for more information

 

https://www.youtube.com/watch?v=lVEjqGcWOMY

 

https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/referenc...

 

Based on the approval [approved or rejected], you can define IF & ELSE conditions to define your process from the Flow Designer Flow.

 

As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Join us for our series of live sessions focused on platform topics like Automated Test Framework (ATF), Instance Scan, Upgrade Center, Source Control, and CICD, as well as everything Workflow Automation. This academy runs every other week, except for major holidays. We'll have product experts on ...

@arunpandyan 

 

Did you get a chance to review this as I believe the information provided should answer your question

 

If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@arunpandyan 

 

Thanks for marking the post as helpful.

 

As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan