Hi!
Im building my Power Virtual Agent for my company and i have a question: how can i filter query the Employee Column (which is Person or Group type) using Sharepoint list.
My PVA is on russian language and i want to make bot answer back to user based on user´s gender.
So basically equivalent to english is for example: if a user is female then bot says - Hello, Mrs. X and Hello, Mrs. X if a user is male). I have a column that represent it (Gender - is a Select Column) and i see the logic of PVA like this:
if user is a female person:
1) based on bot.UserdisplayName inside PVA (on english - for example Luisa Simmons) i bring it to Power Automate flow as UserName input (=UserdisplayName)
2) then Get items from Sharepointlist with a filter Query Employee column (which is "Person or Group" column type and where email and Name,Surname on english are stored) so that Employee eq 'Username'
3) at this point flow should filter the line of Employee Luisa Simmons and from that line extract Gender Value that equals "Female"
4) to do that i would do Get item action to extract in condition: Gender is equal Female
6) If yes return to PVA Mrs. bot.UserdisplayName if no Hello, Mr. bot.UserdisplayName
So my problem is: how can i make bot.UserdisplayName = Username (as Input from PVA) = Employee (Person or Group column)
and then extract data about Gender (Choice column type) and give it back to bot. I have tried this: Employee eq 'Username' but this coulndt do anything.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
25 | |
22 | |
9 | |
9 | |
7 |
User | Count |
---|---|
41 | |
35 | |
26 | |
21 | |
13 |