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 at the time implied with exeOrder attribute.

  <processTemplateCall name="" if="" exeOrder="" errorPage="" logger="" logLevel="" />    

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.

exeOrder (Accepts MScript) (since v4.2)

The value of this attribute determines the time that this template call is made.

The valid values:

"0" - Before processes. The template is called before executing any command given from this page.

"1" - Before Data Sources. The template is called before the data sources required by this page are triggered.

"2" - After Data Sources. The template is called after the data sources required by this page are triggered.

errorPage (Accepts MScript)

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

logger (Accepts MScript) (since v5.0)

The name of a logger configuration. If this value is omitted standard logger prints the log records to system console.

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

logLevel (Accepts MScript) (since v5.0, "debugLevel" attribute deprecated)

Assign a value between 1 and 3 depending on the how much detail you want about the execution flow.