You can define a processing rule to perform custom enterprise
service and publish channel processing. When you use a processing
rule, you can perform custom inbound and outbound processing without
using a Java™ class.
Before you begin
Before you create a processing rule, you must consider defining:
- Whether an enterprise service or publish channel rule evaluates
an XML field or a business object field.
- The specific sub-record or business object on which the rule is
defined.
- The actions that trigger the rule.
Procedure
- In the Enterprise Services or Publish Channels application,
display the service or channel to which the rule applies.
- In the Object Structure Sub-Records table window, select
the object structure sub-record to which the rule applies.
- For an enterprise service, perform one of the following
actions:
- On the Object Structure Processing Rules tab, click New
Row to define an inbound processing rule on an object
structure.
- On the Object Processing Rules tab, click New Row to
define an inbound processing rule on a business object.
- For a publish channel, click New Row on
Processing Rules for Sub-Record tab to define an outbound processing
rule on a business object.
- In the Rule field, enter a rule
identifier.
- In the Action field, enter a value.
- To change the order in which the application applies the
processing rules for an object, change the value in the Sequence field.
The integration framework applies the rules sequentially
starting with the primary-level object.
- Perform one or more of the following actions.
- Select or clear the Apply on Primary Object Insert check
box.
- Select or clear the Apply on Primary Object Update check
box.
- Select or clear the Apply on Primary Object Delete check
box.
The noted settings determine whether the integration framework
applies the processing rule when a row is inserted, updated, or deleted
on the primary business object in the object structure.
- Click Save Enterprise Service or Save
Publish Channel.