cancel
Showing results for 
Search instead for 
Did you mean: 
sonyirump
Nintex Newbie

Nintex workflow fn-Replace() function not working

Jump to solution

Hi

I am trying to use fn-Replace(PeopleNotify,s,t) function on NIntex workflow -->update item.. For some reason it is not working .

'PeopleNotify' is a list item.

I tried another function fn-ToUpper(PeopleNotify) on the same update item . Working perfectly .
 

Any ideas to resolve this issue .

0 Kudos
Reply
9 Replies
sonyirump
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

Using the workflow task Regular Expression worked for me .

Still wonder why the replace function didn't work

0 Kudos
Reply
cmcdeed
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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)

Reply
sonyirump
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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,so...)

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 .

0 Kudos
Reply
cmcdeed
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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?

Reply
sonyirump
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

Sending email to Active Directory group

0 Kudos
Reply
cmcdeed
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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.

Reply
sonyirump
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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 .

0 Kudos
Reply
cmcdeed
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

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.

Reply
sonyirump
Nintex Newbie

Re: Nintex workflow fn-Replace() function not working

Jump to solution

Some of the AD groups including the one i was using for test not enabled for email . Thats why it wasnt working .

0 Kudos
Reply