Announcements
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.
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%
Thanks AR
Please consider to Mark my post as a solution! to guide others, if this helps .
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 293 Super User 2026 Season 2
trice602 186 Super User 2026 Season 2
11manish 144 Super User 2026 Season 2