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.
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%
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 .
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2