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 / Power Automate / How to use VB expressi...
Power Automate
Answered

How to use VB expression in url of power automate?

(0) ShareShare
ReportReport
Posted on by 10

Hi Community,

I used expression in UiPath as below Previously, but it didn't work in Automate.

"http://xxxx/xxxx/pages/xxxx/xxx.jsp?Type=b&fromDate="&System.DateTime.Today.AddDays(-1).ToString("yyyy/MM/dd")

How to use VB expression in url of power automate when I launch new Internet Explorer ?

 

Thanks.

I have the same question (0)
  • Verified answer
    amamidwar23 Profile Picture
    62 on at

    HI ,

     

    In PAD, you need to use  following activities and to store date in a variable  and use the resulted variable in your URL .

     

    so if time variable is Currendate  then your url will be 

    http://xxxx/xxxx/pages/xxxx/xxx.jsp?Type=b&fromDate=%Currendate%

     

    amamidwar23_0-1624441786610.png

    amamidwar23_1-1624441817523.png

    Thanks 
    AR

    Please consider to Mark my post as a solution! to guide others, if this helps .

  • mattlin Profile Picture
    10 on at

    Thanks, your suggestions have helped me solve the problem.

    My flow as below:

    Get current date and time → Add to datetime (-1) → Convert datetime to text (Variable produced FormattedDateTime)

    → Launch new Internet Explorer : %'http://xxxx/xxxx/pages/xxxx/xxx.jsp?Type=b&fromDate='%%FormattedDateTime%

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 293 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 186 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard