You are here: Business Rules > Attached Rules > ExternalProcess

ExternalProcess

Description

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 TransactionBusinessRulePacket.

A common use may be to generate documents in a manner specific to the document generator being employed.

ExternalProcess Attribute/Element Table
Element/Tag Definition Attribute Element/Attribute Value and Description

<ExternalProcess>

The opening and closing tag for the rule.

 

 

<Process>

Required:

The opening and closing elements for a section that defines the object to execute and its location.

 

 

<Object>

Required:

Identifies the object that should be executed.

 

A literal value.

<Parameters>

Optional:

The opening and closing elements that define the parameters that the object needs to successfully execute.

   

<Parameter>

Required, Repeatable:

This element provides a value for the named parameter. The extension’s definition must provide the configuror with what is acceptable.

 

A literal value or a math variable.

NAME

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.

A literal value.

XML Sample

<ExternalProcess>
<NameSpace>com.adminserver.ext</Namespace>
<Object>DocumentGeneratorExt</Object>
<Parameters>
<Parameter NAME="DeathBenefitLetter">GenerateDocument</Parameter>
</Parameters>
</ExternalProcess>

 

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices