Showing results for 
Search instead for 
Did you mean: 
New Member

Is there a way to process null values from CRM to SharePoint

When I try to configure a CRM record to SharePoint list item, an error happened when the field(s) used in the flow steps are null value in CRM. 


So is there any way to avoid the error and handle this situation? will the '?' null operator works in the flow?


Error Message:

  • Code
  • Message
    Unable to process template language expressions in action 'Create_item' inputs at line '1' and column '11': 'The template language expression 'triggerBody()['description']' cannot be evaluated because property 'description' doesn't exist, available properties are '@odata.etag, ItemInternalId, territorycode, owningbusinessunit, address2_shippingmethodcode, address1_addressid, creditonhold, donotbulkemail, donotsendmm, createdon, jobtitle, statecode, fullname, donotpostalmail, ownerid, donotbulkpostalmail, modifiedon, isbackofficecustomer, donotemail, address2_addresstypecode, donotphone, transactioncurrencyid, exchangerate, haschildrencode, emailaddress1, statuscode, leadsourcecode, modifiedby, contactid, preferredcontactmethodcode, address3_addressid, lastname, donotfax, telephone1, firstname, educationcode, yomifullname, createdby, merged, customersizecode, address2_addressid, customertypecode, shippingmethodcode, owninguser, participatesinworkflow, preferredappointmenttimecode, address2_freighttermscode'. Please see for usage details.'.
Power Apps
Power Apps

Yes, technically the null operator ('?') and/or coalesce() function would work, but they require some hand-crafting if being used in the current Flow editor UI.


The workaround is that you can write a raw logicapp expression as long as it evaluates to a string. So for the possibly-null field, instead of using the automatic "Description" token in the UI, you'd write something like:


    Desc: @{coalesce(triggerBody()['description'], 'default description text')}


The caveats for falling back to a raw logicapp expresion:

    1. Must evaluate to a string

    2. Must have a string or character before the @ sign

    3. The field will become read-only after the initial save.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,877)