cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arakesh04
Frequent Visitor

Power Apps with multiple approvals

I'm building a Power Apps form which needs to go through multiple stages of approval. I have a SP list which has all the columns needed.

 

When a new form is create the user fills in rows 1-3 and then enters the name of the next person to approve. I use deeplinking to sent this form to the selected approver. 

Once the person opens the link and updates rows 4-7 and chooses the next level of approver it submits the form. However is the backend Sharepoint this creates a new version and does not have the selections made by the first approver.

When updating Sharepoint list, this fors not update 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @arakesh04 ,

 

Could you please share more details of your scenario? Is it a form in New mode? How will it switch to Edit mode when the manager opens the app? What have you set for Item property of the form?

 

Generally speaking, you need to save the last submitted item ID to the URL, use a Param function to save that ID into a variable and make the edit form Item property to look up this item via the variable.

https://www.netwoven.com/2021/03/16/simply-explained-power-apps-deep-linking/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
arakesh04
Frequent Visitor

This is just my sample form:

The data source is a Sharepoint list.

Someone from the organisation would fill the Title, Description, Category and Assigns it to a manager. On the click of Manager Approval, I have used deeplinking to send the manager a link to the form.

When the manager opens, the form they would fill the sub category and Evaluation comments. Once they choose a manager approval, on click of submit to exec approval the form should be emailed to the person chosen in the manager approval.

My form works for the first half where its Assigned to a Manager and the manager can open the form and can view the selections. The Sharepoint list gets updated with the item.

Once the manager fills the details, and submits to exec approval it erases the category selections (multi select check boxes).

I’m using a Submit Form function on the Submit to Exec Approval.

arakesh04_0-1646733061777.png

 

On Select of manager approval which is the first half, I’m using the formula below

SubmitForm(Form2);

CheckboxPA.Run(Form2.LastSubmit.ID);

 

On select of the Submit to Exec Approval, how do I retrieve the Sharepoint list ID of the particular record to be updated?

Hi @arakesh04 ,

 

Could you please share more details of your scenario? Is it a form in New mode? How will it switch to Edit mode when the manager opens the app? What have you set for Item property of the form?

 

Generally speaking, you need to save the last submitted item ID to the URL, use a Param function to save that ID into a variable and make the edit form Item property to look up this item via the variable.

https://www.netwoven.com/2021/03/16/simply-explained-power-apps-deep-linking/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,454)