Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
Expand all | Collapse all

CreateRecord Error When Moving Email Descripton to a New Entity

  • 1.  CreateRecord Error When Moving Email Descripton to a New Entity

    Posted Apr 20, 2021 10:38 AM
    I'm new to flow so this may be a basic question but I couldn't find a solution.  I have an Automatic Record Creation rule that converts and email message to a custom entity.  The flow portion of the rule is trying to move the email description to the custom entity field (new_description).  This is the error I am receiving.  I've tried increasing the length of the new entity field but that didn't work.  Is there a way around this error?  Thank you

    The API operation 'CreateRecord' requires the property 'item/new_description' to be a string of maximum length '2000' but is of length '3271'.

    ------------------------------
    Johnny Bolton
    Senior Project Manager
    State Volunteer Mutual Insurance Company (SVMIC)
    Brentwood TN
    ------------------------------


  • 2.  RE: CreateRecord Error When Moving Email Descripton to a New Entity

    Top Contributor
    Posted Apr 21, 2021 02:32 AM
    You can truncate the string to 2000 chars using an expression like substring(description,0,2000) where description is the dynamic content you're getting from the email.

    ------------------------------
    Will Page
    Technical consultant
    Christchurch, NZ
    ------------------------------



  • 3.  RE: CreateRecord Error When Moving Email Descripton to a New Entity

    Posted Apr 27, 2021 04:13 AM
    Thanks Will

    ------------------------------
    Johnny Bolton
    Senior Project Manager
    State Volunteer Mutual Insurance Company (SVMIC)
    Brentwood TN
    ------------------------------