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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Creating and assigning...
Copilot Studio
Unanswered

Creating and assigning a variable

(1) ShareShare
ReportReport
Posted on by 20

I have created a Power Automate flow that creates Incidents in ServiceNow.

 

I use this flow in various topics. In the main topic, to qualify the issue and creates the Incident with all its information (description, category and subcategory). In the fallback topic of my bot, when it doesn't understand the user. In this topic I don't have all the information to pass to my flow but the PVA Designer force me to specify a variable for each parameter of my flow. I also don't want to create a separate Power Automate flow as it'll make maintenability more complex having multiple flows doing the same thing.

 

Is there anyway to set a variable without asking the user ? For exemple, setting a default value to a variable.

I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @RemiChambard3 ,

     

    Unfortunately, not yet.

    We have a lot of ideas about it inside the Community, but we don't have a perspective to see this feature available yet.

    See more here: Ideas (aka.ms)

  • nmk Profile Picture
    193 on at

    Thinking outside the box.. you have following three options:

     

    1. try changing the variables to global and pass it to power automate. You might need to put some validation in your flow to check for empty parameters
    2. Variables can be initialised via action output. Create an action to initialize the values
    3. You can create a child flow and move the core logic in that and that create two different wrappers in that way you will be maintaining the core logic only once.

     

    HTH- if yes then please mark this as a solution

     

    Cheers

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard