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

pratikjaiswal
Tera Guru

@lmoore 

 

Just create a workflow without any condition on the sc_request table to approve all the request . That would do the trick.

 

find_real_file.png

 

Please let me know if this works.

Thanks,

pratik

How does that work if I'm using Flow Designer though?  Do I need to tie that into my flow or can you have a flow and workflow assigned to an item?  

pratikjaiswal
Tera Guru

Hey, 

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

Something like below:

 

find_real_file.png

I don't have the option to select just Request Record in my Update Record action.  My trigger is set on the Service Catalog so I could only select Trigger -> Requested Item Record -> Request.  But even doing it this way, with sc_request selected as my table I've tried setting Approval to Approved and Request State to Approved and it doesn't do anything.  I get the display in the attached "auto approve request" screenshot. 

What would be the difference between setting the trigger on Service Catalog vs Request Created?