Hello,
I have a question regarding process in OutSystems.
Does process is same as a trigger in database.
If No then what’s the difference between timer and process?
Hi Pradip,
Timers are a single action that is executed at once on a certain schedule.
BPT's can be triggered or stopped on database events, i.e., they can start when a record from a certain entity is created, they can wait for some time or activity to resume the execution or they can wait for a Human Activity, i.e., a user decision (approve or reject something, for example).
If you want more information on BPT's you can check the documentation here: https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Processes_(BPT)
Hope this helps,
Pedro
A timer is just like a scheduled job in a database.
A Process in OutSystems can be a Light BPT process or a BPT Process.
And please check the document Pedro mentioned.Regards, Hans
On addition to Padro's answer.
BPT is not that straight forward. It is a very powerful tool and have lot of features and can be start on record creation or can be called from other action (with help of launch action).
It can automate a lo of processes (as name suggest BPT) in an organisation.
You need to deep dive in BPT tutorials. And if you want to Understand in detail, in addition to Padro's provided url go through followinf master class and make sure to complete that assignment given in master class:
https://www.outsystems.com/learn/courses/17/master-class-on-modeling-business-processes-bpt/
Below is difference between timer and process.
Timer:
To execute asynchronous logic, use Timers. This is useful to execute batch tasks like sending emails at a predetermined time, or to execute logic to configure an application after its deployment.
A timer can be awaked in three different ways:
On a predetermined time;
After the application has been published;
Either programmatically or manually.
Processes:
A Process is an element that allows you to integrate your business processes into your applications. A process is designed in a process flow, which usually represents the activities that have to be carried out during an entity life cycle.
for more details, take a look here:
https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/OutSystems_Platform_Timers_and_Asynchronous_Processes
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Processes/Process_Elements/Process
Vijay M-
Hi @Pradip Chavhan
Main Difference between timer and process
Timer:-
A Timer is an OutSystems tool that allows executing application logic periodically on a scheduled time. These are also known as batch jobs. Different Timers can be executed at the same time, but the same Timer never has more than one execution at a time.
Or
Timers, on the other hand, is just a single action that gets executed from start to finish on a given schedule.
Process:-
processes can run in parallel. There's no issue with multiple transactions running in parallel - relational databases are meant to be used in that way. And web requests from your end users are being executed in parallel all the time.
Parallel executions will not yield deadlocks. At most, the database will abort one of the transactions to prevent the deadlock.
Besides the possibility to run in parallel, processes are incredibly powerful. Processes can stop and resume execution depending on database events (Launch On, Close On, Conditional Start), they can wait for a set date/time (Wait activity)s and can wait for human interaction (Human Activity).