Hi,
I am using a power app form which is connected to a SharePoint list (data source). On the sharepoint list I have two power automate flows running
OnSave functionality of the PowerApp has the following code snippet
Set(mergedValue,Patch(
NewForm.Updates,
{
RequestStatus0: {
Value: If(
IsBlank(DataCardValue42.Selected.Result),
"New Request",
DataCardValue42.Selected.Result
)
}
}
));
Patch(
SharePointList,
Defaults(SharePointList),
mergedValue
);
ResetForm(NewForm);
RequestHide();
I am using NewForm.Updates to capture the attachments added to the form and "request status" column dropdown menu is using a secondary Sharepoint list .
Even though I have written this snippet to just create a new record on the SharePoint list it is triggering both the flows (create and modify). Is there a better way to implement this?
I met this kind of issue, using sharepointform1.displaymode to diagnose when it is creating mode or edit, but it failed, the display mode is always 'edit'. How can use 'path' to submit a new record via integrate powerapps.
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |