web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Use Yes No condition t...
Copilot Studio
Unanswered

Use Yes No condition to filter from Share Point list and display message

(0) ShareShare
ReportReport
Posted on by 58

Hi, 

I am trying to use the condition - "Yes / No" in a flow to get the bot to filter from a Share Point list. The Yes option works well, but when the no condition should be actioned nothing happens. I'm trying to get the bot just to display a message to the user for no but am not sure where I am going wrong. Can anyone advise please? Do you need to use the compose option as I have only used the get items from SharePoint option, which I know works and initialise variable for my yes table display.  

 

Thanks, 

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,979 Most Valuable Professional on at

    Hi @Alexa2022,

     

    Can you share a screenshot of your flow setup and one of your Power Virtual Agent topic? This might help us troubleshoot and find your issue.

  • JonDoesFlow Profile Picture
    on at
    You could initialise a string variable, call it Response. Then after the get items step for SharePoint, you could do a condition. The condition to evaluate would be looking at the length of the body of the get lost step: length(body) Then see if it is greater than 0. If it is set the Response variable you need for Yes. If no, then set the response variable value to what you need for no. Then pass this back to the chatbot.
  • Alexa2022 Profile Picture
    58 on at

    Thanks all -  I think  it might be working now. I have ended up creating another variable as an output and I think it's working now. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Dua Sadiq Profile Picture

Dua Sadiq 104

#2
11manish Profile Picture

11manish 87 Super User 2026 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 84 Super User 2026 Season 2

Last 30 days Overall leaderboard