I'm looking at creating a 'null' / empty value in a SharePoint list if a question in an MS Form is either Blank or the name entered does not match a name in our company
I have this as the function I have in Create Item - Results
if(empty(outputs('Get_user_profile_(V2)')?['body/displayName']),null, outputs('Get_user_profile_(V2)')?['body/displayName'])
This is my Flow
The issue is when I test it and add a name that I know it not in the company it adds my name to the column in the SharePoint list, which is a Person or Group I am the one creating the Form so I assume it's picking my details up from Get_User_Profile.
I'm unable to change the column type as records have been created, successfully and are being used in the business...
Can anyone provide a solution as at the moment, if a wrong name is entered the Flow fails
Regards
Chris


Report
All responses (
Answers (