Hi,
Need your help to fix another issue.
I have two person type fields in a sharepoint list column.
In the Power Apps, In a form (new mode), for one field, user searches for a person and selects the required person.
In the other field, I have a few Azure AD groups, the group is selected based on the amount from another field. e.g if amount is <500, select a Azure AD group, if amount is >8888 select a different Azure AD group. When submitting the form, all the data is stored in the SharePoint list columns,
The first person field's selected person is also stored in the column, but the second person field where the group is selected based on a condition, the group name is not saved in the list column.
Both fields use different person-type columns and I have enabled "allow groups selection" for the second person field.
The code for 2nd person field is:
DefaultSelectedItems =
If(
Value(inputPOAmount.Text) <= 499 &&
L2ApprovalStatusInput.Selected.Value = "Required",
{Value: AzureAD.GetGroup("44b25e85-6258-4b47-a8c4-a10ae296b8cc").displayName},
Value(inputPOAmount.Text) >= 500 &&
Value(inputPOAmount.Text) <= 9999 &&
L2ApprovalStatusInput.Selected.Value = "Required",
{Value: AzureAD.GetGroup("44b25e85-6258-4b47-a8c4-a10ae296b8cc").displayName}
)
Any idea why the second person field's selected group is not saved in the column?
Thanks in advance