cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow fails when property does not exist

Hi,

 

I have a flow that is retreiving information from Salesforce and using it to populate a SharePoint list. There are several properties I am retrieving from Salesforce and when all the properties are populated the Flow works perfectly. However, if just one is missing, the entire flow fails. For example, I am pulling user info for several reps associated with the account. So I am pulling info for seven different reps but not every account will have every one assigned. Even when an account doesn't have one or two of the reps assigned I still want the Flow to populate the remaining info. 

 

I have tried using the coalesce expression to still populate a value when the field is empty, however it is saying that the field does not exist, which makes sense because the flow gets the account record, then gets the user records based off of the account record. I have tried a few different things but everything either fails or ignores the property completely. Any help is appreciated. Thanks!

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi rodieremix,

 

Is the “missing field” in SharePoint list configured as “Required”?
If yes, then an value will be asked for the field, while if not, per my test, the flow won’t run failed.
I create a simple flow to test this issue, when an value is specified for the required field, the flow will run succeed, while when no value is for the required field, the flow will run failed.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Mabel,

 

Thank you for your help. I just double checked and the SharePoint field is not required. Do you have any other ideas of what could be happening? I appreciate your help!

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,091)