Amar1
Novice

Issue with GetUsersByGroup

Hi All,

 

i'm facing some challanges with GetUsersByGroup, could you please let me know is it a know bug ?

 

My Ad Group has 4 users, i want to loop in with every user in that AD group. Hence i created the WF as below

Step 1:  I added a smartobject method and added a reference.

8785i765C1FEC55C66FAB.png

 

As per the logic it should come 1 st user email id, but all the email id's of 4 users who are in AD group are coming. And the email is getting triggered for 4 times.

 

 

 

 

 

0 Kudos
Reply
2 Replies
Mivaro1
Apprentice

Re: Issue with GetUsersByGroup

Hello Amar


 


Just to check are you doing a loop index as per this KB: https://help.k2.com/kb002121


 


Regards,


Michelle

0 Kudos
Reply
HulisaniN
Apprentice

Re: Issue with GetUsersByGroup

Hi there  @Amar 


 


I dont really understand what you are asking,But based on my understanding of your question I found the following using k2 5.3


 


I went on and created the workflow with smo step, loop step, email step and lastly the end step just like what you did.


Then when the workflow is started I got 4 emails with each email having one email from the group like one the attachemt 1.


 


What version of k2?


 


I hope this is helpful towards answering your question.


 


Regards


HulisaniN


 


attachment_1_3985.png
0 Kudos
Reply