cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Roster
New Member

Approving a flow using javascript

Is it possible to approve a flow via javascript? I have only seen widgets.

https://docs.microsoft.com/en-us/flow/developer/embed-flow-dev

 

I want to have a button in a SPfx webpart to Approve or Reject a flow, instead of having to redirect the user to the Approvals page.

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Roster ,

 

I'm afraid that the function to approve a flow via javascript is not supported and there is no any way to approve a flow via javascript currently.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-alzhan-msft
Community Support
Community Support

Hi @Roster ,

 

I'm afraid that the function to approve a flow via javascript is not supported and there is no any way to approve a flow via javascript currently.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (48,302)