I have a workflow which has a functionality to send emails using a Email task . But tehe emails are dynamically constructed using string concatenations. I found that this email task (in teh workflow) is pretty un-forgiving and brutal .
What I found was that :
1. if the email string has more than one semi colon it fails
example : *personal details removed*;;*personal details removed* - This string if passed in the CC of the workflow notification the email task will fail at run time
2. if the email string end with semi colon (string has a semi-colon at teh end) it fails
example : *personal details removed*;*personal details removed*; - This string if passed in the CC of the workflow notification the email task will fail at run time
Is this the behaviour observed by anyone else? Is there any best practice to achive this instead of writing ridiculous experssions to handle these conditions?
Any help is appreciated.