My powerapp captures form data and passes it to PowerAutomate when the save button is clicked.
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".
{
"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"
]
}
}
}