Skip to main content
Community site session details

Community site session details

Session Id : iTcloh6wU97BhspE1eAp37
Power Automate - Power Automate Desktop
Answered

How to use VB expression in url of power automate?

Like (0) ShareShare
ReportReport
Posted on 23 Jun 2021 08:36:38 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.

  • mattlin Profile Picture
    10 on 24 Jun 2021 at 03:34:07
    Re: How to use VB expression in url of power automate?

    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%

     

  • Verified answer
    amamidwar23 Profile Picture
    62 on 23 Jun 2021 at 09:52:29
    Re: How to use VB expression in url of power automate?

    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 .

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete