Flow Designer Approvals

suneel226
Tera Contributor

Hello!

 

I am working on a simple practice assignment and the requirement is 

 

 

1. Should move for approval to the requester manager mentioned in the form
a. If approved by the manager the one task has been attached for fulfillment and it should be assigned to any assignment grp
b. If rejected, the item or request is closed rejected.

catalog item is "Asset Procurement" under the hardware category
Triggered as "Service Catalog"
Action as "Get Variables from "Asset Procurement".

 

Want to know what should be the Flow logic with "condition label" and "condition" according the above requirement.

 

Thanks

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hi @suneel226 

Can you check for that record, if the manager to whom this approval should be sent to is active?
Instead of a test run, you can also try to create a new ticket and validate.

 

Best Regards
Aman Kumar

View solution in original post

9 REPLIES 9

James Chun
Kilo Patron

Hey @suneel226,

 

You can use the 'Ask For Approval' Action to create the approval and set the 'rule'.

 

Subsequently, you can use the 'If' Flow Logic to check if the approval was approved/rejected.

And depending on the outcome, you can either create a task or close the request.

 

 

 

Cheers

Thanks,

used "Ask for Approval" action and set the rule as "anyone approves/rejects" and catalog variable as "employee manager".

Then, 

Creating a "IF" logic as "Approved by Manager" with condition "Ask for approval >> Approval State is Approved".

 

The result is showing as "Evaluated False" at If "Approved by Manager". I know there is a mistake but every time I do, I see the same message.

Looking at the screenshot, the 'Approval state' is set to 'Skipped' in your flow instance, hence the IF action is returning false.

Have you verified that an approval record is generated for the manager and did you approve the approval record?

I haven't approved. I am testing at flow window only how the condition is working.

 

Here are the screenshot for "Ask for Approval" and "Approved by Manager"