Policy Callout Rules
While a policy update request is processed, the application can callout to external components to retrieve the required information.
Policy callout rules control the callout feature. If a policy meets the callout rule condition, the rule triggers. When the rule triggers, it creates and sends a web service request, and waits for the response. Upon receiving the response, the rule updates the policy, and subsequently releases the policy for further processing.
The setup of a callout rule includes the following:
-
Setting up the rule in the UI page
-
Configuring the dynamic logic function that creates the request and that reads the response
-
Linking the callout rule to a process flow
-
Specifying the following system properties:
-
ohi.<0>.endpoint.request
defines the destination URL. The placeholder<0>
is the code of the callout rule. -
ohi.service.<0>DOC-221.client.authentication
defines the authentication type. The placeholder<0>
is the code of the callout rule.
-
For more information on setting the system property values, see Property Management.
No system properties exist to set the media type and the HTTP method for callout rules, because the payload is created by dynamic logic. Consequently, the media type and the HTTP method are not shown in the outbound integration point IP for callouts. |
A callout rule has the following attributes:
Field | Description |
---|---|
Code |
The functional identifier of the callout rule. The same code has to be used in the system properties specified above. See Property Management for more information on setting up a property |
Description |
The description of the callout rule |
Condition |
The dynamic logic condition that determines if the rule triggers |
Function |
The dynamic logic function that creates the request and reads the response |
Process flow |
Option to restrict the use of this rule to one specific process flow |
Exclude from Validation? |
Option to exclude this callout rule from the Validate Policy operation |
Enabled? |
Option to disable this callout rule |