Process Template Call

Top  Previous  Next

Using callProcessTemplate element in the page configuration file, a  call to a process template can be defined. The template calls defined with this configuration element are executed before the page is displayed.

  <processTemplateCall name="" if="" beforeDS="" errorPage="" debugLevel="" />    

Attributes

name

Defines the name of the process template to call.

if

This attribute is used to define an MScript expression as the precondition for calling the template. If an expression is defined with this attribute, the process template is called only if the evaluation result of the expression is true.

beforeDS (Accepts MScript)

If the value of this attribute is true then the calling of the process template is made before the invoking the data service classes. Otherwise the process template is called after all the data service classes have been called.

errorPage (Accepts MScript)

The name of the page to be displayed next if maximum completion code of the process template >= 12.

debugLevel (Accepts MScript)

Assign a value between 1 and 3 to debug the execution flow of the Process Manager. The debug records printed by the Process Manager can be traced from the system console.

Note that debugging of the processes are requested individually in the processTemplate configuration.