web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Status automatic...
Power Apps
Answered

Patch Status automatically

(0) ShareShare
ReportReport
Posted on by 17

Hello guys,

 

in my Sharepointlist I have 3 stati.

- Pending (default)

- In Progress

- Approved

 

If the employee now fills out the form and clicks the "Save" button, the status should be changed to "In progress". So I try to implement it in the OnSucces of the form, but it doesnt work.

 

 

Patch(employee_interview;LookUp(employee_interview;ID=InterviewForm.LastSubmit.ID);{Status:{Value:"In Bearbeitung"}}) & Navigate(SuccessScreen)

 

 

What I am doing wrong or is there a other way to patch one single element in the list after submitting a form or is it possible to set the status in the form?

 

Thank you for your help.

Mandree

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Patch(employee_interview;LookUp(employee_interview;ID=InterviewForm.LastSubmit.ID;{Status:{Value:"In Bearbeitung"}}))

     

    Try this code without navigate for now. and see if it works

  • Mandree Profile Picture
    17 on at

    That works. How can I combine it with the Navigate now ? 😄

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

     

    well whatever you use to end the sentence. Like we use semi colon. i think you need double semi colon???

    then 

    Patch(employee_interview;LookUp(employee_interview;ID=InterviewForm.LastSubmit.ID;{Status:{Value:"In Bearbeitung"}}));;

    Navigate(Screenname);;

  • Mandree Profile Picture
    17 on at

    I don't understand, why I need double semicolon, but it works. Maybe you could explain why? Thank you very much.

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    i think in English version we use single semi colon to end the sentence. But, some other maybe European version double semi colon to end the sentence. Not sure about all of this. but you were using & before navigate. & is used to concat string con functions. 

    So your structure needed to 

    Patch ;;

    Navigate ;;

    because this 2 are different functions. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard