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 / Power Automate / Cannot add Flows to Po...
Power Automate
Answered

Cannot add Flows to Powerapp - 'Registering Error'

(0) ShareShare
ReportReport
Posted on by 3,340

 I am getting a "Registering Error" when attempting to add this flow to PA.  This is a new one.  Any ideas what this means?

 

It seems to apply to this one, and any new ones I try to create.  I already have a few flows in this app that are working.  Why wont it add?

 

I have tried other flows that were created long ago and they add fine too.  whats up?

 

 

image.png

Categories:
I have the same question (0)
  • martinav Profile Picture
    3,340 on at

    Well...

     

    It seems that you cannot send an array variable from PowerApps to flow.  Setting an array variable is not happy.  It is not allowing a Powerapps input for value.  I have tried it more than once.  If I try to do this, it results in the "Registering Error".  

     

    image.png

     

    So, the question now remains... how do you send an array of values to Flow??

  • Verified answer
    martinav Profile Picture
    3,340 on at

    With what was learned here, the issue is simply passing an array to Flow.  Its not working.  This post seems to answer the issue with a work-around.

     

    https://powerusers.microsoft.com/t5/General-Discussion/Registering-error-when-trying-to-add-a-Flow-to-Powerapp/m-p/159680

  • Community Power Platform Member Profile Picture
    on at

    Ok it's an old post but this may help. I pass two strings, the User().Email as the first and a label as the second parameter (for some reason it requires them in reverse order):
    MyFlowName.Run(User().Email, Label17.Text);
    Back();
    In the flow I ask Powerapps and wrap the string in square brackets in the initialize Array variable step

    Beat_0-1642519997589.png

    I needed the email address to be an array in order to append it to another array of email addresses further down in the flow.

  • Community Power Platform Member Profile Picture
    on at

    @martinav yes I think it's possible. In my case, it all started with this error

    Unable to process template language expressions in action 'Compose_-_union__distinct(PMs_and_current_user)' inputs at line '0' and column '0': 'Template language function 'union' expects parameters of same type, but found 'Array,String' distinct types.'.

    So I needed the current user to be an element in an array. Simple, I thought: switch variable to type Array and put square brackets around the parameter passed. And yes, this worked! I have two flows that use this approach.
    After I edited one of them, it stopped working. No error message in the app, no failed run notification, it simply would not trigger at all. Reason: The Method 'Run' has an invalid value for parameter... I tried to switch the type back to String but to no avail. So I decided to remove the trigger, added it again, re-defined the init var steps, but still no joy. Next step was to remove the flow altogether from the app and then add it again. Now I got the 

    Beat_1-1642523418435.png

     error which took me to the this post, which put me on the right track.

    - initialize the variable as a String variable

    - add the flow to the app (no registering error)

    - switch the variable to type Array, wrap the value in square brackets.
    I'm glad I got it to work again, and hope this post may help somebody with the same issue.

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard