Hello Community,


I have an action that I need to run in 2 ways  

1. run now or execute now  

2. scheduled execution (year/month/day/time) - depending up on the date and time.


I can able to run now (1st) but I am stuck in schedule execution (2nd).

I searched in outsystems forum but I didn't get required information.  

I tried timer but I am unable to schedule the timer for random dates.


Is there any way to schedule an action to run?

Is it possible to schedule an action's run?

Praveen Deshmane wrote:

Hello Community,


I have an action that I need to run in 2 ways  

1. run now or execute now  

2. scheduled execution (year/month/day/time) - depending up on the date and time.


I can able to run now (1st) but I am stuck in schedule execution (2nd).

I searched in outsystems forum but I didn't get required information.  

I tried timer but I am unable to schedule the timer for random dates.


Is there any way to schedule an action to run?

Is it possible to schedule an action's run?

Hi Praveen ,

You can run more than one timer at a time but 2nd timer is executing when your 1st timer execution is finished. And same process follow for another timer in queue.....

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Processes/Timer


Best Regards,

Nikhil


Praveen Deshmane wrote:

Hello Community,


I have an action that I need to run in 2 ways  

1. run now or execute now  

2. scheduled execution (year/month/day/time) - depending up on the date and time.


I can able to run now (1st) but I am stuck in schedule execution (2nd).

I searched in outsystems forum but I didn't get required information.  

I tried timer but I am unable to schedule the timer for random dates.


Is there any way to schedule an action to run?

Is it possible to schedule an action's run?

Hi,


For the second, you can create a Timer, with a action inside. 


In Time, you can set the schedule according you prefer. (see image below)



If you using the timer, you can wake the timer manually or automatic.


Hope to help,

Thiago Schettini Mari

Hello Praveen, 

It is possible to set timer next run directly in database: https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/OutSystems_Platform_Timers_and_Asynchronous_Processes#Changing_the_Schedule_of_a_Timer_Dynamically

Just remember that timers do not run per user, so if a second user schedule it, the previous schedule will be overwritten. 

If you need something per user, you can add a layer on top of timer, or use BPT, as it was suggested (I would prefer). 

Hope this helps. 

Cheers 

Hello Community,

Thank you for helping me out. I really appreciate your time. Keep the good work. 


Best Regards


Praveen