Biztalk Rules Engine RuleSet too complex error

We call biztalk rules engine policies programatically instead of using biztalk orchestration, and we have around 2000 rules all together. We are getting the below exception intermittently and causing the cpu of web servers to spike to 100%. Please advise
if you have any suggestions.
Microsoft.RuleEngine.RuleSetTranslationComplexityException: Ruleset is too complex and translation cannot complete within the configured translation timeout interval.
   at Microsoft.RuleEngine.ReteTranslator.RuleSetToReteTranslatorImpl.ProcessRuleConditions(LogicalExpression expr, Boolean connectJoins, TimeOutControl timer)
   at Microsoft.RuleEngine.ReteTranslator.RuleSetToReteTranslatorImpl.ProcessRuleConditions(LogicalExpression expr, Boolean connectJoins, TimeOutControl timer)
   at Microsoft.RuleEngine.ReteTranslator.RuleSetToReteTranslatorImpl.ProcessRuleConditions(LogicalExpression expr, Boolean connectJoins, TimeOutControl timer)
   at Microsoft.RuleEngine.ReteTranslator.RuleSetToReteTranslatorImpl.Translate(RuleSet ruleset, Int32 duration)
   at Microsoft.RuleEngine.RuleEngine..ctor(RuleSet ruleSet, Boolean doOptimizations)
   at Microsoft.RuleEngine.RuleEngineCache.Allocate(String rulesetName, TrackingConfiguration& trackingConfig)
   at Microsoft.RuleEngine.Policy..ctor(String policyName)
Dilip Bandi

Hi Dilip,
Recommend you to refer this Technet article: High
CPU When Executing a Business Rules Engine (BRE) Policy
Also refer the post: RuleSetTranslationComplexityException
- Scenario...
You need to Increase the time out in the registry for the rules engine (Translation Timeout) from 1 minute ("60000") which
is default to higher value, something like 5 minutes.There is no performance impact of increasing this value.
This setting can be set in the registry or a .config file. The registry settings are global for all applications that host a rule engine instance.
Registry location:
32-bit server:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BusinessRules\3.0
64-bit server: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\BusinessRules\3.0 
Setting these values in an application configuration file will override the values in the registry. If the policy is being executed within an IIS worker process, the web.config file
can be modified. If the policy is being executed within a BizTalk orchestration, the BTSNTSvc.exe.config or BTSNTSvc64.exe.config file can modified.
Rachit
Please mark as answer or vote as helpful if my reply does

Similar Messages

  • Subtitles too complex error - in PAL subtitles only

    I have a project that is going to be authored in both PAL and NTSC. It has subtitles in six languages.
    On the NTSC one, everything burns fine.
    On the PAL one, I get an error when burning saying "subtitle or menu subpicture too complex."
    We have the same subtitle scripts being used in both, and the menus are the same beside the difference in dimensions (I think there is probably some slight movement of button position). The dimensions for the subtitle cells entered in the PAL version are actually slightly smaller in height, but the same width as the NTSC.
    NTSC, I have the dimensions of the subtitle boxes set to:
    92 628
    325 445
    PAL:
    112 608
    450 525
    I am in the process of narrowing down which subtitle tracks are causing the errors, but does anyone have any insight into why this would happen only in the PAL version when both are using the same subtitle scripts?

    sorry - two things I forgot to mention: CS4 and Mac OS 10.5.8

  • Page too complex error message

    Hi all; new to this forum. I have a HP2840 laser (color and black and white) all in one printer which is appx. 1 year old. I keep getting error message "page too complex" and cannot print page. Also, the printer always took a long time to print anything out, but now it won't print. Can my printer memory be full?  Any thoughts would be appreciated. thanks. 

    This is a quote from another post. This is not from my own in anyway shape or form. I am sorry I dont have the person that found this fix and I would like to thankthe person that did find this one.
    In order to fix this you need to turn off High Speed USB in the Secondary Service menu.
    To access the Secondary Service Menu press the Menu button and the number 2. Use the < arrow to navigate to the High Speed USB selection.
    Press Enter and then use the arrow key to go to Off and press Enter again. Press the Cancel button twice to exit the Secondary Service Menu

  • SSAS DRILLTHROUGH - Specified query is too complex error.

    Hi Guys,
    I'm working on an SSAS 2012 OLAP cube with around 100 dimensions and a single measures group. When I try to run a simple DRILLTHROUGH query such as:
    DRILLTHROUGH
    MAXROWS 1000 SELECT
    FROM [Cube] WHERE ([Measures].[Fact_Count])
    I get an error as below.
    The specified query is too complex to be evaluated as a single statement.
    Does anyone have any experience of this error and how to work around it? If I remove the majority of the dimensions from the cube I can run this query successfully. Looking at the limits set for analysis services I should be well within these.
    Thanks in advance 
    Sean

    Hi Scaneyw,
    Based on my research, this is a SQL Server Analysis Services (SSAS) design limitation. In SSAS, Drillthrough” generates internal CrossJoin query that contains all attribute hierarchies in measure group. So the error appear when MDX parser receives statement
    with> 1000 nodes.
    Here are some tips for you to avoid this error.
    Reduce number of dimension attribute hierarchies in measure group below 1000.
    Delete unneeded attributes and disable Hierarchy for attributes that are only used as properties.
    Consider creating smaller Measures Groups with less dimensions + attribute hierarchies.
    If you have any concerns about this feature, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope the complete “drillthrough” feature is will be improved in future SQL Server Versions.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • 'Menu too Complex' Error with Simple Subtitles

    Hi,
    I am buildling a DVD with the option to turn subtitles on and off.  I have built what I thought was a pretty simple configuration to achieve. See diagram and error message below.  I have successful bult a similar disc, a blu-ray, with significantly more complexity and content with no problem. I am trying to build a similar, simple subtitle centric structure for 3 individual video products, but each project I create fails to build the disc in the end with the same error message. Any suggestions?
    I am using CS6 on a Windows7 PC platform. Encore v. 6.0.2.004. Can provide more specs as necessary.
    Thanks!
    Lindsay

    Based on other threads, it is not the navigation, but the subtitle formatting (margins or fonts or such). Margins must be adjusted upon import.
    I have not tested any of these solutions.
    This is the one that seemed the most likely to work:
    http://forums.creativecow.net/thread/145/865932#870828
    Dave Knop said:
    "You make the adjustments upon importing the file.
    If you created your subtitles within Encore, the only way I know to see the full list of settings is this:
    Select a subtitle track on your timeline and from the top menu, click Timeline > Export Subtitles. Save the file. Now with that same track selected on your timeline, Re-import the file.
    (Timeline > Import Subtitles )
    Upon import of this file you should see the FULL range of Subtitle setting options in the menu. The margins will be the numbers defaulted at (72 648)/(48 432) The 72/648 numbers are the left and right margins that seem to cause the error.
    Setting them to 92 (left) and 628 (right) has worked for me."
    Please let us know.

  • Subtitles are too complex.

    I' am making a DVD using all image files from CaptionMax. See post from yesterday:
    stevenl, "Image Subtitles." #1, 10 Apr 2006 4:34 pm
    Anyway in just a test of the whole subtitle thing I only imported 1 subtitle track and tried to burn a folder and/or image file and got a message telling me that my one track is too complex. I'm going to need seven more, so if you think it's complex now??? All I did is set my first play to Timeline 1 with the one track set to display. Now, I have another timeline in the project that I set as the end action of the first with its track set to display. Can there be an issue in that the two timelines are different aspects 1 is 16x9 and 2 is 4x3?
    I don't think that my problem should be anything related to this thread:
    ivansull, "EncoreDVD 2.0 Subtitles" #10, 21 Mar 2006 10:46 pm
    since my subtitles are all index .tif files that are already as small as they're going to get. I've also used these type of files in our Sonic DVD Fusion system many times and never had this kind of issue.
    I've read about other Encore issues with subtitles, but most of them seem related to text subtitles, what issues (if any) are there with image files?
    Thanks,
    Steven

    Steven,
    The "too complex" error is probably the one mentioned in post #5 of the "EncoreDVD 2.0 Subtitles" thread. This is not an Encore issue, but a limitation set by the DVD-Video specification. It doesn't matter whether the subtitles are imported via a text script or as bitmap images; if any (horizontal) line exceeds 1440 bits it exceeds the spec maximum.

  • Error when invoking Rule Engine using Java API

    Hi,
    I have implemented a Java class which calls the Rule Engine to execute the rules. If I test by setting the value of the input inside a main method and get the output, it is working fine. The ruleset is also invoked and there is no problem. However, when I expose this java class as a web service and invoke the web service, I get the below error. I dont get the error if the .rules file is not present in the loaction mentioned. I get the error when the .rules file is present in the location. Not sure if this is an issue with the java call outs or loading the dictionary.
    Error:_
    <faultcode>S:Server</faultcode>
    <faultstring>oracle/rules/sdk2/exception/SDKException</faultstring>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NoClassDefFoundError">
    <message>oracle/rules/sdk2/exception/SDKException</message>
    <ns2:stackTrace>
    <ns2:frame line="38" file="ImplementRules.java" method="Query" class="oracle.rules.querystudentcriteria.ImplementRules"/>
    <ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl"/>
    <ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method"/>
    <ns2:frame line="101" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="83" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="152" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2"/>
    <ns2:frame line="264" file="EndpointMethodHandler.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandler"/>
    <ns2:frame line="93" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube"/>
    <ns2:frame line="604" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="563" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="548" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="445" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="275" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2"/>
    <ns2:frame line="454" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit"/>
    <ns2:frame line="250" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter"/>
    <ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter"/>
    <ns2:frame line="319" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke"/>
    <ns2:frame line="232" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter"/>
    <ns2:frame line="310" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="87" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction"/>
    <ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper"/>
    <ns2:frame line="292" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl"/>
    <ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="326" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.wls.DMSServletFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="3592" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
    <ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject"/>
    <ns2:frame line="121" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager"/>
    <ns2:frame line="2202" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="2108" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="1432" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl"/>
    <ns2:frame line="201" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread"/>
    <ns2:frame line="173" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread"/>
    </ns2:stackTrace>
    The Java class looks like:
    public PersonType Query (PersonType p)
    try {
    //FileReader reader = new FileReader("/home/orasoa/223345/STRS1.rules");
    //FileReader reader = new FileReader("D:\\Arun\\NGCE_WS\\POC1\\UHG\\QueryStudentCriteria\\oracle\\rules\\querystudentcriteria\\STRS1.rules");
    InputStream stream=ImplementRules.class.getResourceAsStream("/STRS1.rules");
    Reader reader=new InputStreamReader(stream);
    RuleDictionary dict = RuleDictionary.readDictionary(reader, new DecisionPointDictionaryFinder(null));
    List<SDKWarning> warnings = new ArrayList<SDKWarning>();
    dict.update(warnings);
    DecisionPoint decisionPoint = new DecisionPointBuilder().with("STRS1_DecisionService_1").with(dict).build();
    DecisionPointInstance point = decisionPoint.getInstance();
    ArrayList input=new ArrayList();
    input.add(p);
    point.setInputs(input);
    List<Object> output=point.invoke();
    catch (Exception e) {}
    return p;
    Cheers,
    - AR

    Hi, I am getting a similar error when I deploy my application on the weblogic server.
    Could you detail how this was resolved?
    Thanks,
    SB

  • BT Mapper error : The style sheet is too complex

    Hi Guys,
    I am trying to test the map in visual studio and I immediately prompted with the error “XSLT exception: The style sheet is too complex”. I have searched for this on the web and came to know that this might be caused by number of lines in XSLT and my BT mapper
    is very big. And I can confirm that this is not due to any mapping errors or syntax errors because I checked the same mapping using few lines of xslt and it worked.
    Does anyone has seen this error in BizTalk mapper? I am testing the map using “Test map” in visual studio.
    I am using BizTalk server 2013 R2 Dev with visual studio 2013.
    Thanks
    JB

    Hi JB,
    There is a known issue with framework 4.5 as mentioned in the given article:
    http://support.microsoft.com/kb/2828841/en-us
    Trying applying this hotfix and make the config changes as mentioned in the below article.
    BizTalk
    2013 Orchestration fails with Error "The Stylesheet is too Complex"
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Rules engine error

    Hi ya,
    I am getting an error calling a rule from orchestration. Its a simple policy which accepts a message of a schematype, looks at field1 of the message under conditions and then assigns a value to field2 of the same message.
    I keep getting following error :
    Inner exception: An exception occurred inside the rule engine instance executing policy "Policy1".
    Field "*[local-name()='field2']" does not exist in XML document "bizTalkProjectName.SchemaFileName", selector "/GetMap".
    I checked to see that the fully qualified name of the schema in biztalk project matches to the document type
    Basically I am doing similar to the example given here - http://msdn.microsoft.com/en-us/library/aa995540.aspx
    Any ideas what's wrong?
    Thanks
    Phanindra

    The error is pretty specific.  Most likely, one of the GetMap elements is missing the field2 element.
    Examine the xml of the message to verify field2 exists, then you can test the Policy in the Composer to paths are correct.

  • 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.

  • CS6 3D error (bug?) "Could not complete your request because the path is too complex."

    I'm running into a bit of a problem with having a shape extruded in 3D.
    If I draw a rectangle shape set to path over an image and then choose "source - work path" and "3D extrusion" I will get a 3D rectangle with the image on the front side.
    If I draw a 3 sided polygon (triangle) set to path over an image and then choose "source - work path" and "3D extrusion" I will get a error telling me that the path is too complex.
    I'm doing the exact same thing.
    Now, if I have 4 sides plus, on the polygon it will extrude just fine.
    Something seems to be happening with 3 sided polygons.
    This holds true with the pen tool as well. Three points will give you the error, 4 and above seem not to.
    Any ideas and to why this is happening?
    Thanks!
    Lux
    CS6 - latest build
    Mac 12 core
    24gigs Ram
    Cloud subscriber

    Work around. (CS6)
    (1) Draw your trangle shape.
    (2) Convert one of the corners to a smooth corner (just barely). If you doesn't work, bend flex it a little more, and try again.
    (3) 3D/New 3D extrusion from selected layer.
    (4) Switch camera to top view.
    (5) With 3D layer selected, in the coordinates menu of Properties panel, set X angle to 90.
    (6) Snap object to ground plane.
    (7) Set depth to 0.
    (8) In the Cap menu of the Properties panel, adjust cap width to 100%.

  • Script Error:Current search specification is too complex

    Hi,
    Following search expression is giving the error -
    Current search specification is too complex to be refined. Start a new less complex query or refine a query. (SBL-DAT-00487)
    ssearch = "([Date] > '" + sDate1 +"' AND [Business Component] = '"+BC1 +"') OR ([Date] > '" + sDate2 +" AND [Business Component] = '"+BC2+"')";
    bc.SetSSearchExpr(ssearch);
    bc.ExecuteQuery();
    Please let me know how to overcome this error.
    Edited by: user1961577 on Nov 16, 2009 10:31 PM

    You can't refine a PDQ/saved query where there is an OR expression between multiple fields.
    The simple reason: Siebel can't display it on the GUI.
    You can refine it if the OR expression is just an OR between entries in the same field.
    ([First Name] ~= "John" OR [First Name] ~= "Joe") AND [Last Name] ~LIKE "Doo"
    can be refined
    ([First Name] ~= "John" OR [First Name] ~= "Joe") OR [Last Name] ~LIKE "Doo"
    can't be refined.

  • ? Mail [12721] Error 1 performing query: WHERE clause too complex...

    Console keeps showing this about a zillion times in a row, a zillion times a day: "Mail [12721] Error 1 performing query: WHERE clause too complex no more than 100 terms allowed"
    I can't find any search results anywhere online about this.
    Lots of stalls and freezes in mail, finder/os x, and safari -- freqent failures to maintain a broadband connection (multiple times every day).
    All apps are slow, cranky with interminable beach balls getting worse all the time.
    anyone know what the heck is going on?

    Try rebuilding the mailbox to see if that helps.
    Also, how much disk space is available on your boot drive?

  • Tow fact assersion problem with BPEL and rule Engine

    I have imported two different xsd for buliding xml fact A and B. I have defined two RuleSetA and RuleSetB that RuleSetA only act on A and RuleSetB only act on B.
    When i call RuleSetA from BPEL decision Service it detects both of the facts A and B as a related fact to RuleSetA and expect that I use both of them for assertion and watch!!
    When this condition occure BPEL can not create ear file for that DecisionService!!
    I have set visible property of fact B to false in ruleAuthor and then Bpel detects only fact A in decisionService creation wizard. I have deployed BPEL but when i run it the DecisionService raise this error "undefined mypackage.B at line and coumn ..."
    It means that Rule engine expects that I should assert fact B too!! but it's irelevent.
    I have checked Decision Service deplyment descriptor files such as decisionservic.desc
    I can not find any name or setting for fact B in assertionlist setting.
    Please Help me what is the problem

    Hi,
    I'm not sure i understand what you're trying to achieve, but let me explain some of the rule engine and decision service concepts.
    The Oracle Rule Engine has the concept of a rule repository (that is what decision service considers a rule engine connection). A rule repository is a container of rule dictionaries (in the decision service world we use the term catalog for this).
    It is the rule dictionary you're selecting when creating a decision service partnerlink.
    So now a rule dictionary comprises of
    - A (common) datamodel.
    The datamodel comprises of the variables, fact types, functions
    - One or more rulesets
    All of the rulesets share the same datamodel of the rule dictionary, there doesn't exist
    a fact type model for a specific ruleset.
    Now, when you create a decision service partnerlink, we let you choose the ruleset
    that is being executed as part of the decision service. Then we query the rule dictionary
    data model for all the fact types that can potentially be used for executing the ruleset
    and assume that you have some knowledge about which fact types to assert and which
    one to query (watch).
    The thing is that the decision service partnerlink wizard doesn't have knowledge that
    your ruleset B uses fact type B and your ruleset A uses fact type A since both fact type
    A and B are part of the datamodel of the rule dictionary. So, when you choose to execute ruleset B, its in your responsibility to select appropriate fact types for assertion
    and query/watch (in this case you would choose fact type B for assertion, eventually the same or some other fact type for watch).
    Best Regards,
    Ralf

  • Business rules engine faults..

    Can someone please advise on what could cause this issue?
    We are using SOA suite 11.1.1.2
    1. The rules engine takes an input as usual but doesn't send any output.
    2. The BPEL process that invokes the rules sends out a bpelFault instead - (because the rules engine doesn't send anything back)
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <selectionFailure>
    <part   name="summary" >
    <summary>empty variable/expression result. The XPath variable or expression /ns1:callFunctionStatelessDecision/ns1:resultList/ns2:RulesResponse is empty at line 122. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary>
    </part>
    </selectionFailure>
    </bpelFault> 3. At other times, the process works fine for the SAME input

    Hi Paul:
    The short answer is yes.  But its not easy.
    You will have to add some references to your orchestration:
    System.Transactions.DLL, System.Data.DLL, Microsoft.RuleEngine.DLL
    Next the BRE will need a connection string to connect to your database.
    Create a Variable in the orchestration ex:  SQLConn of type  System.Data.SqlClient.SqlConnection
    Create a Variable in the orchestration ex: RulesConn of type Microsoft.RuleEngine.DataConnection
    in an expression shape set the following :
    SQLConn = new System.Data.SqlClient.SqlConnection("Initial Catalog=Customer;Data Source=(local);Integrated Security=SSPI;");
    RulesConn = new Microsoft.RuleEngine.DataConnection ("database", "tablename", SQLConn);
    then call the rules shape.... it should work.
    there is a blog post about this I have used in the past:
    http://blogs.msdn.com/b/rgarg/archive/2009/04/23/using-biztalk-business-rules-engine-bre-with-database.aspx

Maybe you are looking for

  • I tried to upgrade iTunes, now it won't install on my computer.

    I was prompted to upgrade my itunes to the newest version. I downloaded the new version. It downloaded completely but when it came to setup I got a window saying, "The feature you are trying to use is on a network resource that is unavailable. Click

  • New to Premiere Pro- Errors rendering, exporting, viewing video

    I'm very new to Premiere Pro (and my macbook) but have recently got into video editing for my work and am having some issues on my second project. The first project (just a 1 minute video for YouTube) worked fine with no issues. After searching the f

  • MPD and replaygain

    I just started using MPD and would love to get Replaygain working with it. I know how to tag my files with mp3gain and have configured MPD to use replaygain info.  Problem is mp3gain stores replaygain info in APEv2 tags and MPD only supports reading

  • Can a submit button send forms directly to an email address?

    Hi, I'm just trying to design a form for an online business and am wondering whether I can have all forms sent directly to an email address to notify me of an order. I have Acrobat 9 Extended and Windows 7. Cheers

  • Error 402653081Trying to install IOS 5 on 3GS

    I keep getting this error when trying to instal IOS5 on my 3GS(wsing windows 7) I have updaded I tunes but have tried 4 times to in stall the update. this error comes up when the backing up the iphone data. It says if I reset the phone I will wipe th