Hello,
I have a button that should update two columns in an SP List, one of the columns is a single line of text and the other is a status column and its type is Choices that contains the following values (Open, Pending, Approved, Rejected).
I have tried to use the following formula:
If(
VManager2,
UpdateIf(
'Purchase Order I',
ID = SelectedReport.ID,
{SecondMangSign : "Signed"}, ID = SelectedReport.ID, {Status:{Value: "Approve"}}
),
UpdateIf(
'Purchase Order I',
ID = SelectedReport.ID,
{FirstMangSign : "Signed"}, ID = SelectedReport.ID, {Status:{Value: "Pending"}}
)
);
The first field was updated successfully, but unfortunately, the status column doesn't take effect to update the value based on what I have entered in the formula above.
Can please someone explains in detail and provide an example to achieve the above scenario inside the UpdateIf Condition?
Any help will be greatly appreciated.
Thank you!