Business Applications, Flow, Power Automate

Power Automate: watch your (white)space!

Well, as per the title. Watch your whitespace.

For example, I was getting this error on the checker and tried to figure out what is wrong with the reference name.

Flow Checker error

When you use expressions you have to type things in. This is where you have to extra careful.

Typing in expressions may cause errors

It seams to look OK but in reality it’s a bit not OK, we just can’t see it straightaway.

It looks OK but there is hidden issue

There is an extra whitespace after the Get PNLM Delay. You can barely see it but it’s there.

There is an extra whitespace in the action name.

And it may cost you some time and extra grey hair. Let’s remove it!

No errors in Flow checker.

Happy days 🙂

3 thoughts on “Power Automate: watch your (white)space!”

  1. It is good to know that a pesky white space is responsible for your problem. I wish I was that lucky.
    I have a situation that demonstrates that expressions are an utterly poor and miserable implementation by Microsoft. I have an HTTP connector followed by a Set variable to fetch the results into a variable and replace the double-quotes with single quotes in the output of the HTTP step using an expression.
    I went back and renamed the HTTP step, and changed my reference in the subsequent expression below. I didn’t type the expression, but pointed to the “Body” reference of the HTTP step. But no matter what I did, the Flow error still showed me the older name of the HTTP action step.

    Long short – it works if I refer to it without any modifications. But if I put it into an expression such as replace, the flow error shows up preventing further progress.

    The effect is magnified inside of an App for each construct and it is hard to get rid of this nonsensical situation. I can’t believe such basic things don’t work in something named “Power Platform”.

    Like

    1. So sorry you have to go through this. But low code or no code development is still a development with all related “perks”. The good news you always can use multiple tools/ways to solve the same problem.
      The most powerful tool in Power Platform is you.

      Like

Leave a Reply to P Menon Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s