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 / Runtime error when sav...
Power Apps
Unanswered

Runtime error when save button is pressed to trigger the flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

My powerapp captures form data and passes it to PowerAutomate when the save button is clicked.

 

Here is the formula I've written into the onselect property:

 

DanielRK_0-1611921680615.png

 

 

I play the app in the studio but when I click the save button the App completes the form without a problem but when I return to the studio I get a runtime error. The Sharepoint column it's finding fault with is a choice column called "Restore to".

 

DanielRK_0-1611920747297.png

this is my PowerAutomate Powerapps trigger Schema:

 

{
    "kind""PowerApp",
    "inputs": {
        "schema": {
            "type""object",
            "properties": {
                "UpdateItemstatustoPENDING_Id": {
                    "type""integer",
                    "format""int64",
                    "description""Unique identifier of item to be updated",
                    "isPartial"false
                },
                "UpdateItemstatustoPENDING_RestoreSuccess": {
                    "type""boolean",
                    "isPartial"false
                },
                "UpdateItemstatustoPENDING_AuditTrail": {
                    "type""string",
                    "description""undefined. This parameter is used as part of \"B4F0671D-A22C-4047-B57C-72EF9C18B885\"",
                    "isPartial"true
                },
                "CreatefileinRestoresDocLib_FileName": {
                    "type""string",
                    "description""Name of the file.. This parameter is used as part of \"4366D55B-8B2E-451D-8FD5-A79B81758A42\"",
                    "isPartial"true
                },
                "Updatefileproperties_TestDate": {
                    "type""string",
                    "format""date",
                    "isPartial"false
                },
                "Updatefileproperties_MachineName": {
                    "type""string",
                    "isPartial"false
                },
                "Updatefileproperties_IPAddress": {
                    "type""string",
                    "isPartial"false
                },
                "Updatefileproperties_RestoredTo": {
                    "type""string",
                    "isPartial"false
                },
                "Updatefileproperties_Path": {
                    "type""string",
                    "isPartial"false
                },
                "Updatefileproperties_RestoreFromDate": {
                    "type""string",
                    "format""date",
                    "isPartial"false
                },
                "Updatefileproperties_RestoreType": {
                    "type""string",
                    "isPartial"false
                },
                "Updatefileproperties_Comments": {
                    "type""string",
                    "isPartial"false
                },
                "ITManagerApprovalStart_Itemlink": {
                    "type""string",
                    "description""Add a link to the item to approve",
                    "isPartial"false
                },
                "Sendanemail-ITManagerApproved_To": {
                    "type""string",
                    "format""email",
                    "description""Specify email addresses separated by semicolons like someone@contoso.com",
                    "isPartial"false
                },
                "Sendanemail-ITManagerApproved_Body": {
                    "type""string",
                    "format""html",
                    "description""Specify the body of the mail. This parameter is used as part of \"432DD7AF-739E-4543-8263-BD5F77E7C2E8\"",
                    "isPartial"true
                }
            },
            "required": [
                "UpdateItemstatustoPENDING_Id",
                "UpdateItemstatustoPENDING_RestoreSuccess",
                "UpdateItemstatustoPENDING_AuditTrail",
                "CreatefileinRestoresDocLib_FileName",
                "Updatefileproperties_TestDate",
                "Updatefileproperties_MachineName",
                "Updatefileproperties_IPAddress",
                "Updatefileproperties_RestoredTo",
                "Updatefileproperties_Path",
                "Updatefileproperties_RestoreFromDate",
                "Updatefileproperties_RestoreType",
                "Updatefileproperties_Comments",
                "ITManagerApprovalStart_Itemlink",
                "Sendanemail-ITManagerApproved_To",
                "Sendanemail-ITManagerApproved_Body"
            ]
        }
    }
}
Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I also found that this field (choice) in powerapps doesn't write back the value in the sharepoint list data source when the submitform is executed. The SP field type is choice. 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard