How do I auto approve a request in Flow Designer?

lmoore
Kilo Expert

How do I auto approve the request in Flow Designer? 

I want the Request to be automatically approved so it will go straight to asking for item approval. 

My flow is working as expected except for the request part. 

When I make test a request it says:

Approval = Not Yet Requested

Request State = Pending Approval

I've tried using the Action Update Request Record to change the Approval and Request State fields but it never does anything.  Attached is screenshot of how I have it set up.  

 

1 ACCEPTED SOLUTION

pratikjaiswal
Tera Guru

Hey, 

Try creating the same on the lines of the workflow in FLow

Something like below:

 

find_real_file.png

View solution in original post

12 REPLIES 12

@lmoore 

The above screenshot that I attached is irrespective of the flow you created.

This would run every time a request is created and auto-approve it, just like it does in the workflows.

So, create a Flow for the auto-approve request thing, and then separately create whatever else is needed. 

 

Please let me know if it works.

 

 

Thanks,

Pratik

I was trying to include the Flow you provided above as part of my existing Flow.  When I created it as a stand alone Flow it is working as expected.  Thank you!

Do you know why the auto approve flow would not work when submitting the request under a customer/requestor role? 

 

pratikjaiswal
Tera Guru

HI,

 

CHeck the Properties in the flow. There must be a field called as "Run As".

Make that as System user. Should work.

 

Let me know if it answers!

 

 

Thanks,

Pratik

I had found a separate thread that suggested that so I had already tried that - still not working 😞