1
Vote

CheckUserInTeam

description

Hi,

I encounter an issue for this workflow, where its not returning the boolean as should be...It is returning True for all.

I have modified part of the code which seems to be working fine now. Please find below the part of the code:


Boolean UserInTeam;
        if (givenTeams.Entities.Count > 0)
        {
            UserInTeam = true;
            Console.WriteLine("User belong to this team.");
        }
        else
        {
            UserInTeam = false;
            Console.WriteLine("User do not belong to the team.");
        }


Well, I don't know if its the right way of doing it.....

Just let me know....

Thanks & Regards
Vinay

comments