Process Call Action

UDP ›› Actions ››
Parent Previous Next

Process Call Action

This action makes it possible to run a process. The syntax of the action just includes the name of the process to run. For example,

   

If Policy.State = 'Open' Then CalculatePremium  

   

In this rule CalculatePremium is the name of the process to run (RUN PROCESS keyword can be optionally specified as well, for example RUN PROCESS CalculatePremium).

   

If a process requires process input then instances of the business objects representing the process input will be automatically taken from the current Context when the action is executed (see the Context of Rule Execution section). It is also possible to explicitly indicate this input, for example,

   

If Policy.State = 'Open' Then CalculatePremium USING Policy  

   

The process input must be used explicitly in the action if it represents a reference attribute. For example,

   

If Customer.CurrentPolicy.State = 'Open' Then CalculatePremium USING Customer.CurrentPolicy  

   

You can also run a process by using the START PROCESS action. The advantage of using this action is that you can specify the name of the process to run dynamically – for example:

   

START PROCESS SomeObject.ProcessName  

   

The name of the process to run is stored in the ProcessName attribute of the