J Siva
Kilo Patron

Hi @manale460681490 
Try the below approach. It's working as expected.
Action:

JSiva_0-1768447741588.png

JSiva_1-1768447767029.png

 

Script:

var hours = parseInt(fd_data.action_inputs.hours,10);
if (isNaN(hours) || hours <= 0){
hours =24;
}
return "sys_updated_onRELATIVEGT@hour@ago@"+hours;

 

Regards,
Siva

 

View solution in original post