Problem with business rule

Hi all,
I have a problem with a business rule (BR) deployed as a standalone Descision service.
the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
the two conditions are confugured (i.e. <50 and >=50).
the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
<bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. 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>
it seems like an output of the business rule used by the assign after the invoke activity is empty.
But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
Any help please?

In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
cu
Andreas

Similar Messages

  • Problem with Business Rules in OBPM 10.3.1 Enterprise for WebLogic

    We're having a problem with our Business Rules. We've updated two of our business rules (that are used by business rule transitions) in Studio; however, when we publish the updated process, the business rules are not updated. We cannot find anywhere in the Process Admin where to administer the rules to make sure they're overwritten.
    I've double checked, and the updated rule code is in the .project.xpdl, but for whatever reason, the rules are not being updated during the deployment. I'm sure that we've done this many times in the past, but for some reason, now it is not working.
    We're tried variations of the different versioning when we publish, and we've also tried to unpublish all of the older versions of our process, but it does not change the business rules. We can try to unpublish and undeploy, but it seems like we would lose all old instances of that process that are still running if we did that.
    Has anyone ever had this issue, or know if there is a way to effect the business rules via the process admin?

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Problem with Business rule-Essbase Error(1042017):

    Hi,
    I am getting the following error when i run this business rule specifically.
    Detail:Cannot calculate. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP.  Check network connections.  Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server.  Restart the client and try again.
    I dont get this error with any other rule. I have checked the solution provided in this link
    _[http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_error/erhelp.htm#ercalc.htm]_. But this solution wont help because i dont get this error in any other rule.
    The rule i run is
    "Depreciation Value" = "Cumulative.Asset value"/ ("Assumptions_Programs"->Jul->@UDA(Entity,@NAME(@CURRMBR(Location)))->@UDA(Location,@NAME(@CURRMBR(Location)))->"Assets life in months");
    The functions in the above rule will get replaced as below
    "Depreciation Value" = "Cumulative.Asset value"/ "Assumptions_Programs"->Jul->IND_Assumptions->LOC_IND->"Assets life in months";
    If i hardcode and run, i dont get this error. Please help.
    Regards,
    Ragav.

    The reason it works when you hard code it and why it doesn't when use UDA is simply that you should never have a multiple answers in a cross dimensional. @UDA function returns multiple answers. Even if for your case it only brings back one I believe it is tripping up the calculation. Worse if you are actually bring back multiple answers for @UDA that is definitely not going to work.
    I would have to understand all your fixes above the calcultion to recommend you the best possible solution. But at least you understand why you are getting the error and what you have to fix

  • Problem with Business Rules

    Hi,
    I just started with a simple Business rules sample.
    All the time only the first condition in the rule set seem to be executed and the result is same inspite of conditions not matching the first condition.
    Am I doing something wrong?
    Thanks,
    Prabu

    Maybe not, the rule may be working as designed. If you are doing a simple rule you also need to implement the negative, e.g.
    if I have a rule that price must be greater that $1000
    if price > 1000 then ...
    The rule will only activate for prices greater than 1000 what about less than?
    so you need to implement the negative
    if price <= 1000 then
    cheers
    James

  • Problem with Business Rules access from Shared Services

    Hello,
    When trying to access Business Rules from Shared Services (expand Business Rules and click on the application) I get the "Refer to the Security Guide to configure security permissions for this application" message, but the user is fully provisioned for Business Rules. It happens even logged on as admin. Access from Administration Services works fine. The version Hyperion system 9 (9.3.0.1). What is wrong? Help, please.
    Thanks,
    Timur

    You can't access Business Rules from Shared Services. This is no different from any other application - Planning, Essbase, etc. You can provision users to the application roles, but you can't actually do anything with the application, other than security, in Shared Services. You use Admin Services to maintain Business Rules.

  • Error importing composite with business rules into SVN

    Hello,
    When I import a composite with business rules into Tortoise SVN I get below error.
    Error: Commit blocked by pre-commit hook (exit code 1) with output:
    Error: Path
    Error: '/trunk/ProjectName_SCA/.rulesdesigner/jaxb_classes/com/ProjectName/package-info.class'
    Error: is restricted for commit by pattern '\.class$' for the current user.
    I could import other composites(w/o business rules)
    Thanks

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • Slow Performance with Business Rules

    Hello,
    Has anyone ever had slow performance with business rules? For example, I attached a calc script to a form and it ran for 20 seconds. I made an exact replica of the calc script in a business rules and it took 30 seconds to run. Also, when creating / modifying business rules in EAS it takes a long time to open or save or attach security - any ideas on things to improve this performance?
    Thanks!

    If you are having issues with performance of assigning access then I am sure there was patch available, it was either a HSS patch or planning patch.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • URGENT :   EP 7.0 /ECC 5.0  -   Problem with Business Package : ESS/MSS

    Dear Portal Gurus,
    We are facing a problem with business package for ESS/MSS
    Our system Info is as under :
    Portal:- NW 2004s
    ERP2004: - (R3 ECC 5.0)
    ESS:- BP for Employee Self-Service (mySAP ERP 2004) 60.2
    MSS:- BP for Manager Self-Service (mySAP ERP 2004) 60.1.1
    SAP XSS  à (SAP ESS 100, SAP MSS 100 and SAP PCUI_GP 100 , all upto SP 12)
    After the Business Packages were installed,found that some  ess apps where not deployed...so manually deployed it.
    The JCO connections are OK.
    Do we need to set up the backend Homepage Framework for the same......even for preview.....was thinking not.
    Also, here is the error and exception that we get when we preview any ESS iview.
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:234)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:159)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:183)
    Thanks.
    Message was edited by: Ashutosh Rana

    I got the same problem :/
    not the authorization, but the fields in working time is displaying wrong.. (too big)
    Any solution to this?
    Best Regards
    Kristoffer Engh

  • Problem in Business Rule Framework (BRF).

    Hi,
    Problem in Business Rule Framework (BRF).
    Facing problem while assining the 'Expression and Actions' to the Events in BRF giving the error 'Class ID is missing'.
    Created an event called 'Z_My_Event_01' of implementation class '0E001', object (Event) is created succesfully but while assining the Expression and Action to that Event it shows the error 'Class ID is missing'.
    Thanks
    Rajiv Garg

    Hi Rajiv,
    this might help u.
    Business Rule Framework Transactions:
    BRFEVT01 - BRF: Create Event
    BRFEVT02 - BRF: Change Event
    BRFEVT03 - BRF: Display Event
    BRF - Business Rule Framework
    BRFACS01 - BRF: Create Abstract Action
    BRFACS02 - BRF: Amend Abstract Action
    BRFACS03 - BRF: Display Abstract Action
    BRFACT01 - BRF: Create Actions
    BRFACT02 - BRF: Change Actions
    BRFACT03 - BRF: Display Actions
    BRFAPC01 - BRF: Create Features for Appl.Class
    BRFAPC02 - BRF: Change Features for Appl. Class
    BRFAPC03 - BRF: Display Features for Appl.Class
    BRFAPL01 - BRF: Create Application Class
    BRFAPL02 - BRF: Change Application Class
    BRFAPL03 - BRF: Display Application Class
    BRFEXP01 - BRF: Create Expression
    BRFEXP02 - BRF: Change Expression
    BRFEXP03 - BRF: Display Expression
    BRFIMC01 - BRF: Create Impl. Class
    BRFIMC02 - BRF: Change Impl. Class
    BRFIMC03 - BRF: Display Impl. Class
    BRFRLS01 - BRF: Create Rule Set
    BRFRLS02 - BRF: Change Rule Set
    BRFRLS03 - BRF: Display Rule Set
    BRFRUL01 - BRF: Create Rule for Event
    BRFRUL02 - BRF: Change Rule for Event
    BRFRUL03 - BRF: Change Rule for Event
    BRFU01 - BRF: Compare SAPscript Texts
    BRF_FILL_TBRF185 - Automatic Filling for TBRF185
    BRF_OVERVIEW - Overview of BRF Objects
    Visit following link:
    http://www.sap.com/industries/insurance/pdf/FSCM_BRF.pdf
    pls reward if useful.
    cheers,
    hema.

  • Problem deploying composite with Business Rules

    I´m trying to deploy a simple composite at my EM, but the following error occurs when i try:
    [06:10:29 PM] Error deploying archive sca_POProcessing_rev1.1.jar to partition "default" on server AdminServer [http://soabpm-vm.site:7001]
    [06:10:29 PM] HTTP error code returned [500]
    [06:10:29 PM] Error message from server:
    There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: FulfillmentRules to service engine: implementation.decision, for composite: POProcessing: Error while loading the rule catalog.
    The rule catalog cannot be loaded.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    A rule catalog could not be found.
    The catalog FulfillmentRules in package fulfillmentrules could not be found.
    Make sure that the rule catalog fulfillmentrules.FulfillmentRules exists in the path oracle/rules/fulfillmentrules/FulfillmentRules.rules:oramds:///soa/shared/common/oracle/rules/:oramds:///soa/shared/mediator/oracle/rules/:oramds:///soa/shared/rules/oracle/rules/:oramds:///soa/shared/workflow/oracle/rules/:oramds:///soa/shared/casemgmt/oracle/rules/
    It seems that it´s trying to lookup my component at MDS, but i didn´t implement it that way, so, what's going on?
    Any help would be most appreciate.

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Moving Net Income to Balance Sheet with Business Rule

    Hello,
    The system is BPC 7.0 SP3, on SQL 2008
    I was wondering if anyone else has had this issue.  I created a business rule that moves Net Income Year to Date to the Balance Sheet, and call it through logic.  
    The problem I am having is that all periods are calculating correctly except for Period 12.  The same number that is calculate for Period 11 is posted to Period 12. 
    The Time Dimension looks correct with it's prior and current and next properties.
    Here is the Business Rule setup, all entries you do not see are NULL
    Transformation Group        Source         Source DataSRC     Destination Account   Destination DataSRC                      
    CEYTD                                NetIncome     TOTALADJ             29210                          Input                                                                               
    Reverse Sign                      YTD        Remark          
    False                                    True        CEYTD
    Here is the logic I use to call the stored procedure.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [USD], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [LC], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    If anyone has experienced this issue before, I would really appreciate some help on how to resolve it.
    Thank you,
    Mark Glowczewski

    Hi
    why not try the script logic in doing this it will be much more flexible
    Thanks

  • Problem running business rules through forms that are 15+ mins long.

    I just upgraded to 9.3.1 from 9.0.1 and we are having some issues with our business rules. We have business rules that can run up to several hours but the status on the screen ends up timing out with a 'please see planning' log error.
    The error in the log states: Status unknown, calculation context no longer available
    I can tell every second planning is checking on the business rule but after about 15 mins it does not:[9/5/08 19:47:06:810 CDT] 000000c1 SystemOut O state in essMainCalc.getprocessstate = 1
    Even though there is an error I can look at what is running in essbase and see that the business rule is still running. When it finishes it does what it is supposed to do.
    I have tried updating HBRServer.properties to a new timeout but it does not work.
    I am really lost here, can anyone help?

    Hi,
    There are a couple of you have, you can switch business rules to start running in the background after a certain time, the status of the rules can then be checked from planning with the business rules status page
    To set this up :-
    1 Select Administration > Manage Properties.
    2 Select Application Properties to set properties and values for a Planning application.
    3 Add the property by clicking Add, entering the property in the blank row, and entering a value in Property
    Value:
    Enter HBR_MAX_WAIT_FOR_RULE and the interval in milliseconds to wait before running
    business rules in the background. If this property is not set, the feature does not work, and
    business rules do not run in the background.
    Optional: Enter HBR_MONITOR_DELAY and the interval in milliseconds for checking
    business rule status.
    The default and minimum value for both options is 180000 milliseconds (3 minutes). If you
    set a lower value, that value is ignored, and the property is set to the default value.
    4 Click Save and confirm your changes.
    Or you could try installing patch 9.3.1.1.1 or above (it is now at 9.3.1.1.7) from metalink3.
    The patch includes :- (8-665086601) When the Business Rules connection to the relational database is lost, Business Rules does not reconnect to it. To solve this problem, an optional property, HBR_CONNECTION_VALIDATE_TIME, was added to HBRServer.properties. This property specifies a time interval for checking the connection between Business Rules and the relational database. If the connection is not valid, a new connection is established
    I hope this helps
    John
    http://john-goodwin.blogspot.com/

  • Mixing geospatial queries with business rules

    Is there an easy way to incorporate a Spatial-/Locator-based geo-spatial query into an Oracle Business Rules rule? For example (pardon my psuedo-code):
    IF pub within 2 miles of my house AND pub sells cider THEN walk to pub
    If not then is there another way to break down this sort of problem?

    Hi Sri,
    1. Basics of BR ( Business Rules ) can be found in planning document ( there are 2 planning docs 1. user guide and 2. Admin guide). Pls find that
    2. From Planning perspective , we create Business Rules ,which are nothing but another version of essbase calculatino scripts , thats why you do see in EAS.
    3. Essbase training does not include Business Rules ( planning does include).If you are comfortable with calculation scripts, then BR's should be comfortable to you.
    4. To see BR's in shared services , I have a question , did you install Planning and all.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • RTP not working with Business Rule

    I am trying to create a buisness rule that fixes on a member in a custom dimension based on a run time prompt using Calc Manger (11.1.2.2).  I created the variable at the cube level, set it to 'Member' and selected the appropriate dimension, and selected RTP.  The FIX statement is very simple FIX("Current",{Contract}).  The rule validates and deploys with no problem.  When running the rule either on form save or through Business Rules I receive the error: "error parsing formula for [FIX STATEMENT] (line 2): invalid object type.  If I change the variable to uncheck 'RTP' and place the same member used previously as the Default value the rule runs no problem.  Is there any reason why the rule appears to not be able to read in my RTP selection?
    Thanks,
    CS

    Though this is not a calc manager issue, I am sure the member that Planning is picking up is a member that is set tyo dynamic calc.
    You cannot use a member that is set to dynamic calc in a fix.
    -Sree Menon

  • Problem with busy cursor

    IHey there,
    i have a popping up window in my Flex app. This window needs a little time to get created. In this time I want to set the Cursor to busy. But instead of the busy cursor Flex displays no cursor, also the arrow cursor disappears.
    I tried the hack with callLater but it doesn't help. Had anyone a similar problem and knows how to fix it?
    By the way: What is the best way to set the busy cursor? Static, with the parentApplication.cursoManager property or in the component with this.cursoManager? All of these ways have the same result on my problem: no cursor!
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork() {
        // DO WORK AND ADD POPUP
        this.cursorManager.removeBusyCursor;
    I checked the right timing with trace statements [ trace("setBusy") ... ] and the also cursor comes Back when work is done and popup was added. All right and in right time. But the cursor disappears in that time instead of showing the busy cursor.
    Can anybody help me???

    I see there are problems with reading the code, try again:
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork {
        // DO WORK AND ADD POPUP
        this.cursoManager.removeBusyCursor();

Maybe you are looking for

  • Edited Image is not displayed in Organizer

    When I edit a photo  in Photoshop Elements 12, then CLOSE; SAVE with options checked to appear in Organizer and Version set with original, the image is not in the Organizer, nor in Version set.  It IS in the file folder with the usual ..._edited_2.jp

  • Can you please help me figure out what filter(s) to use to recreate this picture?

    Hi Everyone! I'm a student and not an expert in Photoshop. I'm trying to work over in After Effects using a Photoshop edited picture I was given (not separated in layers). However in order to give the image more movement I would like to recreate the

  • Oracle linux 6.5 - yum update

    Hello, my update is ending by following error: Transaction Check Error:   file /lib/firmware/isci/isci_firmware.bin from install of kernel-firmware-2.6.32-431.29.2.el6.noarch conflicts with file from package kernel-uek-firmware-2.6.32-100.35.1.el6uek

  • Flash Player.plugin on Mac OS X causes a plugin [195.165.205.181] to start

    Whenever I have the Flash Player.plugin in the Libraries/Internet Plugins folder on my iMac, this shows in the privacy->cookies/plugins [195.165.205.181] plug-ins I narrowed it down to flash by moving all plugins out of that folder and restoring them

  • My laptop wont turn on. please help!!

    i turned my macbook pro 13" on this morning and when i did there was a kernel panic and i've tired to restart it, but the kernel panic is reoccurring what do i do? please help!!