How to check the requester is part of DL in flow designer?

lucky24
Tera Contributor

Hi Team ,

 We have requirement that we have to check if the requestor is the part of DL or not but we are not sure how can we check in flow designer .

We are trying with below approach but not getting succeed.

We are using action like"lookup group membership stream" in which we passing email id of the requester for but in output we are getting only one DL name. 

for example for testing I am passing my email id and I am part of the 38 DL but It is showing only 1st DL name in log.

 

lucky24_1-1696947053879.png

In the 38 DL  if User is part of that 6 particular DL then we have to create the task..

How can we check requester is part of particular DL or not? 

Please help me here I am stuck here.?

Thanks

3 REPLIES 3

Vaibhav127
Tera Guru

Hi lucky24,

 

Instead of using For each item, try to just check the count for Look up group membership streams.

if the count is 6 or greater then 6 then create the task.

Hi Vaibhav127

Thanks for reply

 

How to check the count for look up group membership streams?

Could you please provide any example or screenshot so it will be better to understand for us?

For the action "Look up group membership streams" check the data pill it should have an entry as item count or something.