Skip to main content
Nintex Community Menu Bar

Getusersbygroup in Workflow email

  • September 11, 2020
  • 3 replies
  • 6 views
  • Translate

Forum|alt.badge.img+16

Hi,

 

I want to display a list of users from an AD group in an email with K2 Workflow Designer,

 

At the moment, when doing smartobejct method getuserbygroup, it's displaying all the users on one line

 

domain/user1domain/user2domain/user3

 

How do i get each name to appear on a seperate line in the email body?

 

Thanks

  • September 11, 2020

Hi,


 


I have a solution:


In your context browser, search for the "join" function and drag it into the email body(see join.png), then in the configuration for the join function, put your user list in "Values" and "/br" in "Seperator" (see joinsettings.png). Hope this helps :)


 


Kind Regards


Prineel

Translate

Forum|alt.badge.img+16

Thanks Prineel,

 

That worked to a certain degree, but the problem is the AD DisplayName is Surname, Firstname, so it appears as

 

Bloggs Fred

Pitstop Penolope

 

Anyway of doing a function to swap them around before it writes it  to the email body?

Also, what if you want more than one field on a line, what it i need Name + department?

 

Thanks, it's at least partially working

Translate

  • September 17, 2020

Hi,


 


Unfortualnately I could not figure out a way to get more than one field on a line, and as for swapping the first and last name, I did find this article, but it did not work for me, maybe you will have better luck on implementing it.


 


Kind Regards


Prineel

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings