Troubleshooting
Problem
Attempts to create new rules with RunBatch.sh based on own templates fails to work with error CRUL008E. The full error seen is: Error performing Rule creation ... com.sterlingcommerce.scc.common.RuleException: CRUL008E Rule Creation failed., CRUL001E Invalid Rule, missing element: match, Rule:
Symptom
RunBatch.sh is being given the following rule template to generate rules from (the actual values for the variables are passed from an answer file, and are not strictly relevant to this issue, thus are intentionally omitted here):
<?xml version="1.0" encoding="UTF-8"?>
<rule>
<actionId>&actionid;</actionId>
<desc>&desc;</desc>
<enabled>&enabled;</enabled>
<id>&id;</id>
<match>"/event[FG.EVENT_CODE = '&messageid;']"</match>
<relative_priority>&rpriority;</relative_priority>
<linkedRule>
<enabled>&lnkenabled;</enabled>
<nonResolutionActionId>&ractionid;</nonResolutionActionId>
<resolutionActionId>&ractionid;</resolutionActionId>
<resolutionTimeout>&timeout;</resolutionTimeout>
</linkedRule>
<effectiveMatch>"/event[FG.EVENT_CODE = '&messageid;']"</effectiveMatch>
<priority>&priority;</priority>
</rule>
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
17 December 2019
UID
swg21681596