@JustBeginningPo
Very good. So a couple of things.
1) Your initial formula will not work as you expected.
You are checking (with an If) the result of SubmitForm. SubmitForm does not return a result, so your formula will never evaluate as you think it should.
What you need to do is change your OnSelect action for the control that you are using to Submit to the following:
SubmitForm(KioskFaultForm)
This is all you should have in there.
Then set the OnSuccess action of KioskFaultForm to:
Navigate(SuccessForm)
And the OnFailure action to:
Navigate(FailureForm)
Now, in the DataCard for your 'User Reporting' field. If you have a combobox to pick people from, then set the DefaultSelectedItems property to:
Coalesce(Parent.Default,
With({_usr: User()},
{
Claims: "i:0#.f|membership|" & Lower(_usr.Email),
Department: "",
DisplayName: _usr.FullName,
Email: _usr.Email,
JobTitle: "",
Picture: ""
}
)
)
(Note: you don't need the odata.type any longer and you cannot set the Picture column as you had)
If you have some other form of displaying this user information (other than a combobox people picker), then set the Default property of the DataCard to the same formula above.
If you have neither and this is a hidden datacard, then you can go right to the Update property of the datacard and place that same formula as above.
Choose 1 depending on your form (not all 3).