cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
glennh
Microsoft
Microsoft

\% Notation in PAD not working

I've tried to set a variable where I need the character % by using  \% but it seems not to work in PAD (Syntax error)

Example: 50\%

I've tested the same in WinAutomation and there it works fine

Is there anything else in PAD?

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @glennh,

 

Can you try if it works with 50%%

 

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation

Occasionally, the percentage sign should be used as a simple character, instead of denoting a calculation. In those cases, it should be escaped using another percentage character (%%).

View solution in original post

5 REPLIES 5
Expiscornovus
Super User II
Super User II

Hi @glennh,

 

Can you try if it works with 50%%

 

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation

Occasionally, the percentage sign should be used as a simple character, instead of denoting a calculation. In those cases, it should be escaped using another percentage character (%%).

View solution in original post

Hi @Expiscornovus 

This seems to work 🙂

 I'm almost sure I tested that earlier as well or maybe this was fixed in the latest update (GA), anyway now it works.

Thanks!

 

 

glennh
Microsoft
Microsoft

It still seems to be an issue when you have a % in an URL

When using %% in an URL it adds quotation "%" which result in unexpected character

Expiscornovus
Super User II
Super User II

Hi @glennh,

 

My guess would be that some characters of your url are URL encoded.

 

Can you show the whole URL value?

 

If that's the case I would just try to decode it with for instance a replace text action.

Hi @Expiscornovus 

I've tried to decode it but it doesn't work. You can test and create a Flow with a Request for example, even after decoding %2F to /  I still get the error when calling "Invoke Web service" action. It works fine decoded in Postman

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (3,633)