I am creating case from email using custom dialog,i am populating my email description in my Case Description field,is there any way can i check the Email Description Length using Process condition.(since Email Description Length is more than the Case description length wchich through error)
there is no process method that returns the length of field value. You can write custom workflow or plugin to calculate the length of the description field and store it in the separate field with in email and use that field value when creating case using dialogue process.
You can write custom workflow activity or plugin to calculate length of email description.. and create case, but in that case if your email description will be trimmed and you will loose data..
Instead of that you can increase length of Case description field.
Case description attribute is multiple line of Text and maximum length -2000
and Email description attribute is also multiple line of text and maximum length is 1,073,741,823
Hope this will help..
My Blog: MS CRM Customization
Thanks Chitrarasan/Mahadeo for your quick reply....ok i will write a plugin/custom workflow.I have also notice one thing when i map my email description to case description through process ,i am getting Text in HTML format,is there any way to get is Plain Text format.
it would be better if you can increase the size of case descripton field equivalent to Email Body
Make sure to Vote as Helpful and Mark As Answer ,if you get answer of your question.
Check the below post to convert email html format to plain text