ExternalProcess
The ExternalProcess business rule provides the capability of calling custom Java code in order to facilitate greater functionality.
The ExternalProcess rule is an attached rule and must be listed in the TransactionBusinessRulePacket. A common use may be to generate documents in a manner specific to the document generator being employed.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<ExternalProcess> |
The opening and closing tag for the rule. |
|||
|
<Namespace> |
<ExternalProcess> |
Required: Provides the location where the object resides. |
Values:
|
|
|
<Object> |
<ExternalProcess> |
Required: Identifies the object that should be executed. |
Values:
|
|
|
<Parameters> |
<ExternalProcess> |
Optional: The opening and closing elements that define the parameters that the object needs to successfully execute. |
||
|
<Parameter> |
<Parameters> |
Required, Repeatable: The element provides a math variable, field or literal value and an associated name for the parameter. This will allow the extension to resolve the value of the math variable through a look-up of the Math object map or a field through a field object map. If the variable or field does not exist in the respective maps then it should be treated as a literal value. |
Values:
|
|
| NAME | <Parameter> |
Required: Provides the name for the parameter. The extension’s definition must provide the configuror with the parameter names needed to fulfill the call to the extension. |
Values:
|
XML Schema
<ExternalProcess>
<Namespace>[literal]</Namespace>
<Object>[literal]</Object>
<Parameters>
<Parameter NAME="{literal}">[variable | literal]</Parameter><Parameter>...</Parameter>
</Parameters>
</ExternalProcess>
XML Example
<ExternalProcess>
<Namespace>com.oipa.ext</Namespace>
<Object>ExternalProcessDocExt</Object>
<Parameters>
<Parameter NAME="documentOutput">Documaker_OutputMV</Parameter>
<Parameter NAME="clientNumber">ClientNumberMV</Parameter>
<Parameter NAME="printStatusCode">01</Parameter>
<Parameter NAME="policyGUID">PolicyNumberMV</Parameter>
<Parameter NAME="statusCode">StatusCodeMV</Parameter>
</Parameters>
</ExternalProcess>