locked
Workfllow process error in crm online 2016 RRS feed

  • Question

  • Hi,

    I am having strange error. I have a process for custom entity. this process is independent of custom entity. 

    my custom entity has a form, when I submit that form, email goes to specific person. 

    What I want is, person can just reply to that email, and form can be approved or reject.

    My workflow is detecting that, email is received. and if condition is satisfied, it does update. It is checking condition but on update , it is giving validation error. Says, length of custom attribute of custom entity exceeds maximum limit of 200.

    What I tried, as follows.

    There are three fields which gets updated on email received. single line of texts. 

    1) I changed the max length of them. but whatever I change, I get same error but last number of limit changes.

    2) since this is to do with email entity, I searched on net, changed email entity's message id attribute.updated length to max 450. as it says max length cant be more than 900 bytes on sql server.

    still my error is not getting resolved.

    my email contains just two words or one word. "Approved" or  "Rejected" "comments". (No double quotes in email body)

    this field which is giving error is to be get from email body, first or second line of text in email.

    ANy help is much much appreciated.

    Kind Regards,

    Ashay Shingornikar

    Thursday, June 9, 2016 10:05 AM

All replies

  • As you said you have increased the maximum length of the custom field make sure you have published the customizations.
     

    When we update data of description field from email body on any other field, it contains the html tag format along with the original data. Perhaps increases the length of the data. In your case it might possible that string you are getting from email body is having more html tags which is causing you an error while updating this description on related entities text field. So make sure the string you are getting is having less characters than you have defined in the fields Max limit.

    Thanks,

    Sam


    Inogic | Blog | news@inogic.com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Friday, June 10, 2016 10:05 AM