Using the workflow task Regular Expression worked for me .
Still wonder why the replace function didn't work
Maybe try wrapping in start {TextStart} and end {TextEnd} tags. I see this with fn functions often.
Example
fn-Trim({TextStart}Notes{TextEnd})
fn-Replace({TextStart}PeopleNotify{TextEnd},s,t)
Thanks for the suggestion , I tried it but doesn't seem working .
This is the output I got
fn-Replace(TextStart}brett.nykiforuk@esso.ca,RS.SCONA.BUSINESSSYSTEMS.PERSONNEL.CONTRACTOR.UG@exxonmobil.com,sony.augustine@esso.ca{TextEnd},s,t)
But I am dealing with another problem now .
I need to send notification to groups , but the group names doesn't resolve itself to people addresses in Nintex .
Do you have any ideas on that .
something isn't right with the start and end tags, you shouldn't see them if I recall correctly.
Are you sending to an Active Directory group? SharePoint group?
Sending email to Active Directory group
Then you should be able to use the distribution groups email address and let exchange deliver it to everyone. Not sure what you mean by "Nintex not resolving people addresses"
On that note, one of my staff ran into an issue where there was a delay and possible non delivery when using exchange groups, I don't recall the links but he found it on search, not sure if that is what you are experiencing.
I take a different route often and this may not work for you. In a subsite I often create a list called Notifications and allow the subsite owners to add people to it. I have columns for "Notification for A" and "Notification for B" Then in my workflow I query that list for those with a yes in that column and send the notification there. Our user base likes to manage things on their own so this works well for them. Once nice part I like is I can drop that collection variable in the To line and it works since its the same delimnated(?) character in the collection as exchange likes for emails.
When I used this AD group 'RS.SCONA.BUSINESSSYSTEMS.PERSONNEL.CONTRACTOR.UG' for send notification in nintex workflow
It is sending to the outlook inbox for RS.SCONA.BUSINESSSYSTEMS.PERSONNEL.CONTRACTOR.UG@exon.com not to the inbox of the members of the group . At least that is what I understood from searching through nintex community forum .
Try sending the notification directly to the email and see if you get better results. I may be on the wrong track, but just a thought.
Some of the AD groups including the one i was using for test not enabled for email . Thats why it wasnt working .