Oracle SOA Suite Online Training

Interested in learning Oracle SOA Suite 12c?
Learn from the author of this blog!
A complete and comprehensive course on the #1 platform on SOA - Oracle SOA Suite

Click here to find the complete course details
Click here to check the first session on Oracle SOA Suite 12c

================================================================================================

Business Rule Error :: Fact not found in the rule engine working memory, rule session execution failed

You may encounter the following error while working with Oracle Business Rules

Non Recoverable System Fault :
<errorMessage>Fact not found in the rule engine working memory, rule session execution failed. The rule session 800009 failed because an instance of the fact org.example.xxx could not be found in the working memory of the rule session. This is most likely a rule modeling error. The xxx service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. If the error persists, contact Oracle Support Services. 800009</errorMessage>


The bolded variable, which in my case is the response variable, is the cause of the error in this case. This is coming because the none of the rules have passed and so the response object could not be asserted with a value. Since there is no instantiated response object, and the BusinessRule tries to reply with the response object, you end up with 'Not Found' error.

In such cases, make sure atleast one rule passes when you send an input. Otherwise, add a rule for '1=1' which always passes.

Hope this helps.

2 comments:

  1. Excellent!!! Really saved my time. Thank You!!!

    ReplyDelete
  2. I used some of your tips in my work with electronic data room . Waiting for your new posts.

    ReplyDelete