filmov
tv
How to schedule in Power Automate Desktop WITHOUT Power Automate Cloud or Premium license)
Показать описание
Power Automate Desktop - Scheduler Hack - How to "Hack" PAD to Schedule workflows using Javascript.
Special thanks to Gozz Gozzilla for highlighting the bug in my code for Run Javascript 2 (within the loop). Please see below for the correct codes.
How to schedule in Power Automate Desktop WITHOUT Power Automate Cloud or Premium license)
Please help me to help other people just like you by subscribing to my channel and like the video if you think it's helpful.
Run Javascript 1
var StartDateTime = new Date(%UserInput%).getTime();
var CurrentDateTime = new Date().getTime();
var Value_StartDateTime = new Number(StartDateTime);
var Value_CurrentDateTime = new Number (CurrentDateTime);
var WaitTime = (Value_StartDateTime - Value_CurrentDateTime)/1000;
Run Javascript 2 (within the loop)
var StartDateTime = new Date(%UserInput%).getTime();
var CurrentDateTime = new Date().getTime();
var Value_StartDateTime = new Number(StartDateTime);
var Value_CurrentDateTime = new Number (CurrentDateTime);
var WaitTime = ((Value_StartDateTime+%LoopIndex%*(24*60*60*1000)) - Value_CurrentDateTime)/1000;
Комментарии