The built-in Process Control Language is designed for process automation.
The use of the Process Control Language is best explained through some examples.
Process control scripts can be run on demand, scheduled, queued, triggered by certain data events and linked to web services. They are a versatile tool in the developers' toolbox.
|A system feature to clone recent order. Speeds up the process of capturing similar orders||The process control language can clone the base order. Next it loops over all order lines and clones them as well|
|All customers whom have ordered widget A in the last 6 months should receive an invite||A process control script loops over the relevant customers and generates an invite email|
|Customers can place orders from the website. The customer receives an instant receipt confirmation. The order is routed to order fulfillment||A process control script is connected to a web service. The script validates the order and generates the confirmation email. Finally, it inserts the order in the order management system|
|The user can upload a file with new leads||A process control script will process the file. It can recognize existing customers and creates prospect records for all new leads|