Fact Not Found in Rule engine working memory

I am using 11g, I have built a Business Rule, using RL facts, XML facts, Bucketsets and multiple Rulesets which internally has decision table and If-then rules. After deploying the same, Business rules runs successfully for some conditions and faults for some condition. The fault error for those failed conditions displays the following error:
Fact not found in the rule engine working memory, rule session execution failed. The rule session bpel:<somenumber> failed because an instance of the fact <factname> could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision 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. Contact oracle support if error is not fixable.
It is wierd becuase if it is a fault with respect to working memory then I would imagine it has to fail for all the conditions as all the conditions assert the same Object. Has anyone faced the same issue or am I doing something wrong here.
Venkat

Ervan
I deleted the RL facts that I had created and asserted the result to the Business Object, this seems to have taken care of this issue, but I am still not sure what was wrong in the way I build the rules using RL.Hope this helps.
Venkat

Similar Messages

  • Business Rule Error: Fact not found in the rule engine working memory, rule

    I am trying to create a simple decision table with an input(ValidateInput) and a output(ValidateOutput). The input and output schemas have unbounded and nested elements(Parent-child relationship). When I create a condition(specific condition on input) and in the action I am asserting the output object. But when I run using EM it throws the following exception. It would be helpful if somebody could tell me what could be the problem. Please note when I set the output as ValidateInput object then it runs fine. Also it executes fine with ValidateOutput if it doesn't have unbounded(List) element inside it.
    Error Message: {http://xmlns.oracle.com/OracleRules10/OracleRules10_DecisionService_1}operationErroredFault
    Fault ID     rules:211
    Fault Time     Jun 18, 2011 10:45:13 AM
    Non Recoverable Business Fault :
    Fact not found in the rule engine working memory, rule session execution failed. The rule session 270013 failed because an instance of the fact com.example.customer.ValidateResponse could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision 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. 270013
    Edited by: reachsky on 18 Jun, 2011 9:57 AM

    It's working now..I had to use Global variable to declare child element of the output variable and use the same during action.

  • Fact not found in the rule engine working memory,rule session executionfail

    Hi
    I'm getting this error on my BRE, the instance Id shows 'faulted' but other consectuctive web services are 'completed' successfully.
    please advise how to fix it.
    Error Message: {http://xmlns.oracle.com/zz_ValidationRules/zz_ValidationRules_DecisionService_1}operationErroredFault
    Fault ID rules:417
    Fault Time Aug 25, 2011 4:59:39 PM
    Non Recoverable Business Fault :
    Fact not found in the rule engine working memory, rule session execution failed. The rule session 130287 failed because an instance of the fact Response could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision 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. 130287
    thanks,
    Umesh
    Edited by: user13664410 on Aug 25, 2011 2:19 PM

    When i had this issue i overcame it by opening the Rule Editor->Deleting all existing facts that are imported->Close JDeveloper -> Delete the contents of .rulesdesigner directory in your workspace -> Restart JDeveloper -> Reopen Rule designer and re import all facts.
    Also make sure that all the schemas that are used for Facts are valid ones.

  • Fact Not Found Business Rules Error

    Hi
    I am encountering the following fault while executing one of the condition of the rule. The other condition works fine. Can anyone please tell me the reason for this error, I have asserted the fact with values and also am not getting any errors in the Business Rule Validation Messages, so i am not sure why I am encountering the following error.
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/CustOraBR4/CustOraBR4_DecisionService"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/CustOraBR4/CustOraBR4_DecisionService"><errorMessage>Fact not found in the rule engine working memory, rule session execution failed. The rule session 360002 failed because an instance of the fact com.oracle.xmlns.bpm.bpmobject.data.bruleoutput.BRuleOutputType could not be found in the working memory of the rule session. This is most likely a rule modeling error. The decision 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. 360002</errorMessage></errorInfo></part></operationErroredFault></bpelFault>
    Regards
    Venkat

    Hi,
    Just checked my old backup file and you are right. It does not have the business rules. One reason I can think of is they are not part of UJFS structure and in fact uses a table driven. All the rules can found with the tables UJP*.
    You can print them into html and copy into an excel. From there I think you have to manually copy into the target system. If you are using transport route, you do not have worry as the transports cover the table driven rules with the required config in the UJT_TRANS_CHG table.
    Thanks,
    Sreeni

  • Fact not found in rule session

    Hi All,
    Iam trying one sample on inference in Oracle Business Rules. lam receiving an error message -
    Error while executing a rule session unit of work, fact not found.
    The rule session InferenceSample:750003 failed because the fact com.xyz.brwithbpel.Customer could not be found or doesn't exist.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    This error comes only when I test the business rules for inference condition. If I run the rules by removing the inferencing condition, the rule executes successfully.
    First thing that comes to my mind is that inference is causing an infinite loop. If this was the case it should show a message something like "Out of memory". But the error messages are telling something different.
    I am not able to find any clue. Any help will really do great for me.
    Thanks.
    .

    Hello Guys
    Did you get a way to retract the fact ? I am facing similar problem.
    Say, I have two rules and for given fact both rules are getting satisfied. But I want to come out from the rule engine when actions for Rule1 is done.
    1) Rule1 (Priority 99)
    If <...>
    Then <...>
    retract <fact>
    2) Rule2 (Priority 89)
    If <...>
    Then <...>
    But I am getting following error:
    Error while executing a rule session unit of work, fact not found.
    The rule session DiscountRules:490053 failed because the fact order.SalesOrder could not be found or doesnt exist.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    But if I remove the retract <fact> from Rule1 it works fine but Rule2 is overriding the results (actions) in case both rules satisfy the conditions.
    thanks
    /Mishit
    Edited by: Mishit P on Aug 12, 2010 8:12 AM

  • SAPinst error:- The java class is not found:  com.sap.engine.offline.Offlin

    Hi,
    I am in the midst of Installing SOLMAN on RHEL5-ORACLE
    Have installed IBM JDK version 1.4.2_10
    During the CREATE SECURE STORE PHASE I am getting the following error:
    sapinst_dev log file O/P
    WARNING[E] 2008-06-09 18:04:43.225
               CJSlibModule::writeError_impl()
    CJS-30050  Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart.
    TRACE      2008-06-09 18:04:43.225 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    TRACE      2008-06-09 18:04:43.243 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 2529
    TRACE      2008-06-09 18:04:43.281 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 2530
    ERROR      2008-06-09 18:04:43.310 [sixxcstepexecute.cpp:951]
    FCO-00011  The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
    TRACE      2008-06-09 18:04:43.317 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP Solution Manager 4.0 Support Release 4 > SAP Systems > Oracle > Central System > Central System. You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS. </p> </body></html>
    TRACE      2008-06-09 18:04:43.317 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    SAPINST.LOG file  O/P
    WARNING 2008-06-09 18:04:43.224
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s SMD -f /sapmnt/SMD/global/security/data/SecStore.properties -k /sapmnt/SMD/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1. Output:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart
    WARNING[E] 2008-06-09 18:04:43.225
    CJS-30050  Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
    The java class is not found:  com.sap.engine.offline.OfflineToolStart.
    ERROR 2008-06-09 18:04:43.310
    FCO-00011  The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
    SecurStoreCreate log O/P
    The java class is not found:  com.sap.engine.offline.OfflineToolStart
    Pls suggest how to resolve this issue
    Pls help to resolve this issue
    Rgds,
    Abhijeet

    Hi All,
    I Found the Solution.
    The SAPinst tool was somehow not able to extracte the
    J2EEINSTALL.SAR files from the JAVA Components DVD.
    So I manually extracted the the file in the temporary install folder which the SAPinst creates in the /tmp filesystem (on LINUX by deafult) during the installation process.
    The following command is used (I used this on Red Hat LINUX 5.2) to extract the J2EEINSTALL.SAR file:-
    /sapmnt/SMD/exe/SAPCAR
    -xvf /dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR
    /sapmnt/SMD/exe/SAPCAR -->source directory of the file SAPCAR which is used to extarct CAR / SAR files on UNIX
    /dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR--> destination dir. where the SAPinst tool will read and execute the file.
    Rgds,
    Abhijeet K

  • I took a back up from UFBR but....not found Business Rules

    Dear All,
    I took a back up using UJBR T.code and I have checked the back up whehter its properly come or not ..but I did not found BUsiness rulus when checked wtih T.code UJFS. But business rules not found.
    pls advise me wher can i found back up of business rules.
    Regards,
    guru

    Hi,
    Just checked my old backup file and you are right. It does not have the business rules. One reason I can think of is they are not part of UJFS structure and in fact uses a table driven. All the rules can found with the tables UJP*.
    You can print them into html and copy into an excel. From there I think you have to manually copy into the target system. If you are using transport route, you do not have worry as the transports cover the table driven rules with the required config in the UJT_TRANS_CHG table.
    Thanks,
    Sreeni

  • Receiving "Not Found" - then "Error:Out of Memory" trying to open Sequence

    I have received a FCP Project edited in 2009 from the UK and have pulled the project file onto my workstation and all of the media onto an ext HD. I have also reconnected all of the media. However, when I try and open one of the Sequences in the project - I receive the following error "Not Found" then once I click off of that a second error "Error:Out of Memory". All of the other sequence in the project open fine.
    Initially, I was able to open the original project file and open the sequence - but when I tried to copy the sequence & paste into a new project-I would receive the errors. Now I am receiving the same errors in the original project.
    At first I thought it might be an problem with the computer but I have tried this on two different work stations /computers so I don't think it would be a prefs ( trash preferences) issue. Also footage was first on an XRAID and then I brought it to an external HD, so I don't think it had anything to do with permission issues.
    This sequence is critical that I am able to get to it as it is part of a TV episode, so I would very much appreciate any help / advice on fixing this problem ASAP!
    Thanks!

    p.s. having looked at other posts, perhaps I am missing some (or all) of the relevant codecs?
    In the folder Macintosh HD > Library > Quicktime
    there is basically nothing. Do you think this is the problem?
    If so, where do I download FCP codecs from?
    Many thanks..

  • Class Not Found - IE, all others work

    Hello,
    following problem:
    I've written an Applet with forte4java 4.0. It works fine with NS, Mozilla, Opera. But with IE (5.0,5.5,6.0) I get a Class Not Found Error? I've tried EVERYTHING, and while searching the Web, I found Applets, that act similar. So I created an Applet whith the following empty Methods:
    init, destroy, start, stop, paint, repaint and run.
    The same result!
    So I took the eclipse IDE and compiled it -> It worked !???
    Same whith JBuilder.
    So, I love the Forte IDE but this f..., stolen me 'bout 12 hours of work. So any suggestions? Am I have to change Settings?

    this applet is only one class, myMenu.class. And the class which isn't found is myMenu.class .
    I've tested again and recognized that when I compile this class , which consits actually only of an empty init Method, with Eclipse, it can be found in all Browsers, but if I do this a few times the same 'Class not found' is shown in all IE. With forte it's allready, when compiling it first. I'm at this point to believe this is f...ing win ME.
    Regards riedling

  • Instructions for "Actionlist Not Found" error didn't work

    i received the actionlist not found error and despite following the corrective instructions three times, i'm still unable to install adobe flshplayer for internet explorer...any help?
    ...i also perfomed a clean uninstall of flashplayer the second time but didn't work

    I don't know what "corrective instructions" you are referring to, but if you use the offline installer, you shouldn't get that message any more.

  • Problems with Active Directory Users showing as not found in Open Directory work group manager

    I’m running a golden triangle setup with Open directory assigning group policy and authentication provide by active directory. In workgroup manager I can search through the AD and add users or computers to groups in OD workgroup manager. However when I save and refresh the users or computer appear as ‘not found’. Is there a reason for this?

    Hi Zero
    It's very reassuring to know im not the only one having issues with this..
    Im on my second re install of the server.. I like you have no wish to do another clean install as everything else is connected and it seems like the answer is probably very simple.
    So today im going to re- run the terminal commands as layed out in the online guides.
    However i was kinda hoping someone would be able to supply us with an answer.
    thanks
    J

  • Agent Not Found for rule 168 in Travel Management WF WS20000040

    Hi,
    I got a strange error occurring that I can not quite figure out. I am using a copy of a standard delivered SAP Work flow for Trip Approval (WS20000040) that is identical to the SAP delivered workflow except without the expense department tasks (we only need manager approval). I also updated the agent assignment for tasks TS20000131, TS20000139, and TS20000189 to be General Tasks. When an employee creates a trip, the workflow is started properly and goes to the first workflow step which is user decision step 416. It uses rule 168 to determine the manager of the workflow initiator. This works properly. The manager goes to their inbox and executes this workflow step. The trip changed and trip approved buttons work fine, but if the manager chooses the reject button, the form is closed and the workflow stops with an error. The next step down the reject path is an activity step 476 - enter and send message. This runs task TS20000139. The agent assignment also uses rule 168 to determine the manager of the workflow initiator. The same agent should be choosen for both this step and the previous step since the workflow initiator is the same for both and the same rule is being used. The advance with dialog check box is checked in both steps. Both step refer to tasks that are both marked as synchronus object methods and object method with dialog.
    For testing purposes, I changed the agent determination in both workflow steps to be the workflow initiator and ran it. The workflow stopped at the approve trip facts step as expected and when I choose reject trip, I was taken immediately to the create mail task that task TS20000139 runs as it should. I tried creating a trip as the employee and the manager and it work properly in both occasions regardless of which user the trip was created under when just workflow initiator is used for agent determination.
    I ran SWI2_DIAG to look at the errors that occurred when it stopped in error when I used rule 168. According to the error message, the approve trip fact step completed successfully, but the enter and send message step failed with no agent found. Following is the error message:
    Workflow WS90000048 no. 000000277688 activity 0000000476 role 'AC00000168': No agent found
    What I don't understand is that the agent determination for the approve trip facts step which works perfectly uses the same agent determination as the enter and send message step which is terminating with an error. Also when I change both steps to use workflow initiator as the agent, then they both work perfectly.
    Help, Please
    Gregg
    Edited by: Gregg Hinkle on Feb 12, 2008 4:48 PM

    Thanks Martin,
    I used your suggestion and passed the actual agent from the prior task to the container and then used this value as an expression to determine the agent for the step that was causing me pain. Now the workflow step is continuing properly and automatically bringing up the create message step as expected.
    Arghadip,
    I tried your idea about creating a copy of the standard delivered workflow and even set it as a general task and I got the same result as with the standard SAP (error with no agent found).
    Thanks again for everyone's assistance

  • Configuration file bc4j.xcfg not found. Old pages work, new ones don't.

    , I've spent way to much time already trying to troubleshoot this problem.
    Simply put, everything works fine on JDeveloper 9.0.3. The same application can Not view anything on JDeveloper 9.0.2
    I'm deploying the application to Oracle9ias 9.0.3 and I come up with the following error:
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file **/common/bc4j.xcfg in the classpath
    This error only occurs when I deploy the application through Enterprise Manager. Yet when directly deploying the files all application pages that were unchanged have no difficulty working, but the application pages that have changes (database tables changed as well) don't work properly. In fact, they attempt to make View Object select statements that are not contained in the new version of the application (PK name has changed).
    How can I get the pages pointed to the new bc4j.xcfg? Is there something wrong with the configuration on the server? (I've already attempted: including the bc4j.xcfg in the additional path, sychronizing, deploying the business components, and even recompiling in 9.0.2)

    We had the same error message here. We resolved it by changing the format of the password in the bc4j.xcfg file. To do this, find the bc4j.xcfg file in your project directory. Using notepad or another external editor, edit the one under the "src" directory. Find the password tag under your connection in the file.
    Edit it so that it reads like this:
    <password value="<yourpassword>" />
    Let me know if it worked..
    BTW, I have also heard that upgrading your Java instalation on your server will also fix the problem, but we have not tried that.

  • Class not found JBoss rules

    servlet crashes at run time:
    06/09/27 16:44:52 CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken
    06/09/27 16:44:52 Shutting down OC4J...
    I've checked and the class is included in the project libraries (In fact I got a little frustrated and included all the JBoss rules jars.
    anyhow I don't see why it can't find an included library

    Can you try and see if copying the jar files to the
    [jdev-root]\j2ee\home\lib directory helps?That didn't help unfortunately. I've been trying to understand how oc4j classloading works - were you assuming that:
    "The missing class is present, but the loader configured to use it is a child of the initiating loader." - (from the ..conatainers for j2ee developers guide)?
    I've also tried deploying to a .war file in JDeveloper and tested it with tomcat where it works fine. Deploying the same .war file thorugh the oc4j (launched in standalone mode) web interface results in the same problem - bringing down the oc4j server - as it does clicking 'run' in JDeveloper.
    Is there some code I can put in my servlet (it's an extremely simple web-app to test using drools with oc4j) to output what classloaders are active and where they are looking? I've never had to do this before either.

  • Hi i got a new computer...when i typr an adress into firefox...it says adress not found...IE works fine...HELP

    Hi i got a new puter with win7...i had probs with my first download of firefox...did a reinstall...what happens is when i type in an address in firefox i get error message saying search returns no results...all works good in IE...please help me defeat the dark overlord...i need my FIREFOX back...are there some settings i need to try?...i thought i did all right

    Perform the suggestions mentioned in the following article:
    * [[Firefox cannot load websites but other programs can]]
    Check and tell if its working.

Maybe you are looking for

  • Critical Issue: Availabilty check & alternative BOM selction issue

    During the upgradation project I'm working facing the following critical issues: 1)While creating the sales order, system carries out the availability check in APO.In material master checking group Z5 is defined.     Actually I want to know hw the sy

  • Query to support Alert

    Through this forum I learned of a query to support an alert for a new sales order. SELECT T0.DocNum, T0.CardCode, T0.CardName,T0.NumAtCard, T0.DocDate, T0.DocStatus, T0.Printed FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE DATEDI

  • Target a movie clip inside a movie clip

    When I go to the symbol editing mode on the first movie clip, I drag the instance of my 2nd movie clip to the stage. I then am duplicating my work, (it is over lapping) not sure what I am doing wrong here? and I am finding that my child movie clip is

  • Standart assignments in document for line item for certain ledger group

    Hi colleagues, I have a task to fulfill field order while posting asset retirement for certain G/L (91-2070000) and certain Ledger Group (0L). I've searched this in SPRO but can't find it. Maybe you can suggest where it could be customized. Thanks in

  • Do I need an activation code to re-install CS3 and CS5 upgrade??

    I might have to re-install all software but only have the serial numbers, no activation codes. Do I need them and if yes where can I get them?