OutSystems Processes are designed to model and execute long-running processes where a specific event can take a long time to occur. Each activity for each process instance is tracked in the database.
When enabling light process execution you allow simpler processes that don't need tracking to run much faster, which increases the event processing throughput. This lighter execution mode is useful for event-driven processes on a large scale that handle several thousand events per day, such as event brokers, and that require a scalable database queueing.
Processes that benefit from light process execution must meet all the following conditions:
- Has a simplified structure (Start > Automatic Activity > End).
- Is triggered by a database event.
Expose Process Entityproperty is set to No:
This kind of Process does not create any process instances or activity instances, therefore the process history will not be available.
Enable Light Process Execution
To enable light process execution for your module, do the following:
Go to the Service Center management console of your OutSystems environment.
Go to the Factory section and select your application.
In the application details screen, select the module containing the Processes for which you want to allow light process execution.
In the module details screen, go to the Operation tab and check the "Light process execution" option:
Click the "Apply" button. Changing this setting requires republishing the module.
Go to the Versions tab and publish the module. You will get a compilation message for the processes that will benefit from light process execution:
You will see the same compilation message when you publish the module through Service Studio:
Light process execution is available for .Net Platform Server using SQL Server or Oracle as main OutSystems database.