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 / PVA skipping to wrong ...
Copilot Studio
Unanswered

PVA skipping to wrong question within same topic after executing flow

(0) ShareShare
ReportReport
Posted on by 6

Hi Community

 

I am hoping someone may be able to point me in the right direction in regards to why my PVA seems to jump from a flow to a question its not even linked to.

 

My bot is a password reset bot which calls an api and asks a user a series of questions to valid the user is valid and that certain criteria match that user so they are able to reset their password on an external system.

 

There are 2 branches - an enrollment branch and a recover branch:

 

davemac2626_0-1657618220448.png

The enrollment captures userid, phone number, extension, crm reference and generates a random number and stores this info into a sheet in OneDrive - this works fine with no issues.

 

Recovery option captures again userid and phone number/extn and validates these against the 3rd party system - again all works as it should.

 

when it comes to my last capture crm reference, the bot calls a flow "crm check":

 

davemac2626_1-1657618540613.png

 

davemac2626_2-1657618600322.png

 

 

The flow is a simple one - check the crm number the user enters is contained in the crm number from the api call:

 

davemac2626_3-1657618709975.png

davemac2626_4-1657618733160.png

 

conditions set a variable based on output:

davemac2626_5-1657618777910.png

 

and variables passed back to PVA:

davemac2626_6-1657618810232.png

 

davemac2626_7-1657618832111.png

 

 

however my flow is stating is not being ran at all:

davemac2626_8-1657618884627.png

 

and in PVA rather follow the conditions after the call action "crmcheck":

davemac2626_9-1657618939776.png

 

It randomly jumps to a completely different section under a different branch (enrollment) within the same topic:

davemac2626_11-1657619085392.png

 

 

So my questions are this:

 

1. Why does the Flow in Power Automate state that its not run even though it "shows" it has in PVA with the green tick?

2. Why does the PVA "jump" to a completely separate branch within the same topic - even though the flow is not even linked?

 

There appears to be no logs or anything I can view to troubleshoot where this is going wrong....

 

My only thought is that the crmcheck action must be failing somewhere but again not sure where any logs are to indicate this?

 

Any advice would be appreciated.

 

Many thanks

 

Dave

 

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,024 Most Valuable Professional on at

    1) Did you click the refresh symbol in the runs on the flow?  It may have run and just not updated the listing in the web.

    2) Do all the paths through your bot come back to a central action to exit?  I've seen this kind of behavior before if the random question is parallel to the flow but the outputs never come back together.  Make sure that all paths come back to a formal end in the bot.

  • davemac2626 Profile Picture
    6 on at

    Thanks for the reply Pstork1 - yes refreshed the flow but still shows as not run - even in analytics says the same thing - I added the "graceful end" to the flow to try and see if it was similar to the quirk you mentioned but still no joy:

     

    davemac2626_0-1657640169553.png

     

    I may have a stab at moving the "enrollment" and "recovery" into separate topics and see if it plays any better...

     

    Cheers

     

    Dave

  • Pstork1 Profile Picture
    69,024 Most Valuable Professional on at

    Are you accessing the flow from the "View flow details" link inside the bot action?  The flow may be stored in an environment where you don't expect it to be.

  • davemac2626 Profile Picture
    6 on at

    Thanks Pstork1 - tried that as well however still the same...

     

    Cheers

     

    Dave

  • davemac2626 Profile Picture
    6 on at

    So after lots of testing it appears as though the issue is with the bot. variables between and within topics.

     

    In my PVA the bot.variables were created in particular calling actions to Power Automate - the returned values I stored as bot.variables to use later on - later down the line in my PVA I called the same Power Automate flow which seems to direct the PVA flow to the "original/first" created PA Flow - thus resulting in the deviation of PVA path flow I experienced.

     

    I then decided to create a complete new topic for "recovery" PVA.  This presented similar challenges in that I cloned the original Power Automate flows and renamed them - however was not able to call on these in my new PVA topic - it seems as though the PA Flow is tied to a particular PVA.

     

    Secondly, with this new issue appearing I created entirely brand new Power Automate flows in the topic - in the Power Automate Inputs I used the original bot.variables from the original topic - this caused my PVA flow to follow the original "old" path in the original PVA topic (mental!).

     

    Setting the Power automate Input to a new unique bot.variable has now made my PVA work as it should.

     

    Hope that makes sense and maybe it may help others who may experience this (kind of) odd behaviour

     

    Cheers

     

    Dave

  • Pstork1 Profile Picture
    69,024 Most Valuable Professional on at

    Interesting resolution.  Thanks for sharing.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 226

#3
Arild Aarnes Profile Picture

Arild Aarnes 73 Super User 2026 Season 1

Last 30 days Overall leaderboard