Business Rules comparing 2 values using formula

Hi All,
My intention is to setup a businessrule which verifies that the value of a specific field is not greater than 1.6 * the value of another field. Let's say my model has Products with Sales and CostPrice as attributes and  someone should be notified
if SalesPrice > 1.6 * CostPrice.
Would it be possible to set this up using MDS only ?
Kind regards,
Cees
Please remember to mark replies as answers or at least vote helpfull if they help and unmark them if they provide no help.

One idea:
Create a new attribute and use a business rule to populate the attribute with a value that is 1.6 times the Cost.
Then use another business rule to validate that the value of that attribute is less than the SalesPrice.
If you have attribute groups, you can create this attribute without showing it to users by not adding it to any groups. (Or set display length to zero.)
Hope this helps,
Suzanne Selhorn [MSFT]
Suzanne Selhorn [MSFT]

Similar Messages

  • Business rule + compare date + problem in jspx

    Hi all ,
    i am useing Jdeveloper11.1.1.3 .
    i need to compare birthDate and employmentDate. birthDate must be greater than employmentDate at least 15 years.
    there is a business rule method in entity object impl file :
    * Validation method for InsuredPerson.
    public boolean validateInsuredPerson() {
    //start date must be greater than birthdate _ at lease 15 year (180 month)
    Date birthDate=getBirthDate();
    birthDate = (Date)birthDate.addMonths(180);
    Date startDate=getStartDateEmployment();
    if(birthDate.compareTo(startDate)==1) {
    return false;
    return true;
    when false eraise an error message wil genarate.
    when i test it in appmodule every thing is ok but by runnig jspx page :
    birthDate is --> 1970-05-05
    employmentDate --> 1991-05-05
    consider edit birthdate from 1970-05-05 to 1980-05-05
    so 1991-1980= 11 is < 15 --> error raise
    but in jspx year of birthdate changed to 1995 ==> 1980+15
    any body know why?or another way to develop it.
    Regards,

    I change my codes now it is ok .
    public boolean validateInsuredPerson() {
    //start date must be greater than birthdate _ at lease 15 year
    int birthYear=getBirthDate().dateValue().getYear();
    int startYear=getStartDateEmployment().getValue().getYear();
    int diff=startYear-birthYear;
    if(diff<15) {
    return false;
    return true;
    }

  • Running Business Rules with Decision Service using WebDav

    Hello everybody, I have a problem when I change a rule from Rules Author.
    I have the following scenario:
    Machine1 - I have Oracle Soa Suite 10 and I have defined a rule set using Rules Author pointing to a WebDav repository on Machine2
    Machine2 - I have define my WebDav repository, it contains the rule "amountToPay > 100"
    Machine3 - I have a deploy of a BPEL process using a Decision Service and Decide Activity elements pointing to my WebDav repository
    When I test my BPEL process it works correctly, but after I change the rule in Rules Author (on machine1) to "amountToPay > 200" the next invocations of BPEL process still evaluating the rule "amountToPay > 100" and doesn't evaluates my last changes on the rule, and I need to redeploy my BPEL process so that it takes the new changes on the repository.
    I am using Assert facts, execute rule set, retrieve results, and reset the session operation pattern in decision service and assertExecuteWatchStateless in invoke activity. I tried using assertExecuteWatchStateful as well but there was no difference in the result, any idea of that?
    Does the BPEL process needs to be redeployed?
    What can I do so that my rules take effect?
    I've searched for documentation but I couldn't find any solution.
    Thanks in advance.
    Luciano
    Message was edited by:
    user606994

    Hi,
    I am new to Oracle Fusion and working on Business Rules.
    Can you please tell me the changes need to be done in the sample java application to connect to the webDAV repository(carrental example which they have given in user guide)?
    Thanks in advance.
    I am using 10.1.3.1 version.

  • Execution order: Business Rule vs. Dynamic Member Formula

    Hi,
    I have a problem with a calc rule that calculate percentage of a list of account in comparison with other account (Ce10) as below
    FIX (list of account restricted here, @IDescendants(YearTotal),....)
    "Percentage"
    (IF (@ISUDA(Account,"Ce10"))
    "Percentage" = "NA CE"/"NA CE"->"CE10"; //Here the percentage member and "NA CE" member in the same dimension
    ENDIF)
    ENDFIX
    When I run the rule, the result is ok with the Months. But in the Quater and YearTotal, it's automatically aggregate to a wrong result as the YearTotal is dynamic calc (e.g: Jan: 10%; Feb: 10%; Mar: 10% => Q1: 30%). So I thought it because the Rule is executed first (Q1=10%) but after that, the dynamic aggregation of Year is executed so Q1 is aggregated as 30%.
    So how to fix Q1 = 10% as expected result. I did study on two pass calculation but it seem can not apply on this isssue. I searched for "back calculation" also but I still didn't find any solution for this.
    Please help me on this.
    Thanks.

    Thanks JM for quick responding. The problem here is "Percentage" is not a account's member.
    To make the question more clearly, I'll explain the rule:
    There's a list of account A: A1, A2,...,An
    and a list of account B: Ce10, Ce20, ..., Ce90
    There is a mapping n-1 between these two lists. For example, A1, A2 is mapped to Ce10, A3 to A5 is mapped to Ce20 and so on. I do it by assigning UDA (e.g: A1 {Ce10}, A2 {Ce10}...)
    And the rule is used to calculate percentage of accounts of list A in comparison with equivalent account in list B. So the percentage can not be account member. It's the reason why I can not use member formula and two pass calc here.
    Regards,
    Huy Van
    Edited by: Huyvtq on Jan 9, 2013 9:50 PM

  • Business Rules Decision Service Error using SOA Suite with the WebLogic

    Hi,
    We are working with Oracle SOA Suite 10.1.3.4 on WebLogic 9.2. We have some decision services that work properly on Oracle SOA Suite 10.1.3.4 with Oracle Application Server. Following http://download.oracle.com/docs/cd/E12524_01/core.1013/e13058/weblogic.htm, we have made necesary changes and deployed bpel process and deployed manually Decision Services EAR Files on Weblogic.
    When we invoke decision service from BPEL proccess next error appears, Could anybody help me to knows if this is a product installation/configuration problem or there is a failure on my ear rule file?
    Any help would be appreciated. Regards,
    <messages><input><dsIn><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><assertExecuteWatchStateful name="AsignarTaller" xmlns="http://www.oracle.com/PoC/ProcesoTest/AsignarTaller">
    <configURL>http://devenv:9700/orabpel/default/modelo_proceso__test/1.0/decisionservices.decs</configURL>
    <bpelInstance>
    <processId xmlns="http://xmlns.oracle.com/bpel">modelo_proceso__test</processId>
    <processVersion xmlns="http://xmlns.oracle.com/bpel">1.0</processVersion>
    <domainId xmlns="http://xmlns.oracle.com/bpel">default</domainId>
    <processURL xmlns="http://xmlns.oracle.com/bpel">http://devenv:9700/orabpel/default/modelo_proceso__test/1.0</processURL>
    <instanceId xmlns="http://xmlns.oracle.com/bpel">80004</instanceId>
    <conversationId xmlns="http://xmlns.oracle.com/bpel"/>
    </bpelInstance>
    <assertList>
    <datosTaller xmlns="http://www.oracle.com/PoC/ReglaTalleres">
    <provincia>1</provincia>
    <nombreTaller/>
    </datosTaller>
    </assertList>
    </assertExecuteWatchStateful>
    </part></dsIn></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
    </part><part name="summary"><summary>[Server CodecHandler] Failed to encode Failed to encode message</summary>
    </part><part name="detail"><detail>&lt;detail>
    &lt;bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">weblogic.wsee.codec.CodecException: Failed to encode message
         at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:111)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:181)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: com.bea.xml.XmlException: object type unknown: class oracle.xml.parser.v2.XMLElement
         at weblogic.wsee.bind.types.SOAPElementTypeMapper.serialize(SOAPElementTypeMapper.java:94)
         at weblogic.wsee.bind.types.SOAPElementTypeMapper.serializeElement(SOAPElementTypeMapper.java:110)
         at weblogic.wsee.bind.types.TypeRegistry.serializeElement(TypeRegistry.java:161)
         at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeElement(BaseSerializerContext.java:123)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:272)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
         at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
         at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:105)
         ... 24 more
    Caused by: com.bea.xml.XmlException: object type unknown: class oracle.xml.parser.v2.XMLElement
         at weblogic.wsee.bind.types.SOAPElementTypeMapper.serialize(SOAPElementTypeMapper.java:94)
         at weblogic.wsee.bind.types.SOAPElementTypeMapper.serializeElement(SOAPElementTypeMapper.java:110)
         at weblogic.wsee.bind.types.TypeRegistry.serializeElement(TypeRegistry.java:161)
         at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeElement(BaseSerializerContext.java:123)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:272)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
         at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
         at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
         at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:105)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:181)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    &lt;/bea_fault:stacktrace>
    &lt;/detail>
    </detail>
    </part></bindingFault></fault></messages>

    Hi Boris,
    Looks like you have not run the post upgrade script for 10.1.3.4.
    You need to install SOA 10.1.3.4 Basic Installation. Then start following : http://download.oracle.com/docs/cd/E12524_01/core.1013/e13058/weblogic.htm#BHCIIBFB
    You basically, first install 10.1.3.4 basic SOA install, Apply the Opatch 7337034 (HOTPLUG: SOASUITE 10.1.3.4 ON WEBLOGIC 9.2 - CHANGES FOR HOTPLUGGABILITY). Install WLS 9.2 MP3.
    Now, Download the Oracle SOA Suite 10.1.3.4 WebLogic Server 9.2 : patch : 7490612.
    Then , Modify the following mandatory installation properties in the Weblogic_SOA10134_Base\SOADomain.properties file as per the documentation above.
    Cheers
    Anirudh Pucha

  • Guideline for making java application to be used in oracle business rules

    hi'
    I am using Oracle Business Rules and trying to use one of my simple java program and trying to use it in rule author, however its showing "0 classes or packages have been imported.", please Tell me what guidelines to follow to program in Java so that we can use those Java classes in Rule Author.*
    I am using Oracle Rule author and in definition's Tab when I try to Import the classes then nothing is importing {color}"0 classes or packages have been imported."
    My Java class is
    package getDiscount;
    public class Test123 {
    private int i;
    public void setDiscount(int i) {
    this.i = i;
    public int getDiscount() {
    return i;
    public static void main(String args[]) {
    Test123 d = new Test123();
    d.getDiscount(100);
    void getDiscount(int quantity) {
    if (quantity &gt; 500) {
    setDiscount(10);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else if (quantity &gt; 250 && quantity &lt; 499) {
    setDiscount(5);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else {
    setDiscount(0);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    Test class:
    package getDiscount;
    public class Test123 {
    private int i;
    public void setDiscount(int i) {
    this.i = i;
    public int getDiscount() {
    return i;
    public static void main(String args[]) {
    Test123 d = new Test123();
    d.getDiscount(100);
    void getDiscount(int quantity) {
    if (quantity &gt; 500) {
    setDiscount(10);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else if (quantity &gt; 250 && quantity &lt; 499) {
    setDiscount(5);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else {
    setDiscount(0);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    Edited by: Yatanveer Singh on Dec 24, 2008 12:19 AM

    Error
    Cannot perform operation. 'RUL-01527: Received exception for loadClass. RUL-01016: Cannot load Java class lib.Demo. Please make sure the class and all its dependent classes are either in the class path, or user specified path. Root Cause: lib/Demo (wrong name: Demo) '
    Hide
    oracle.rules.sdk.exception.RulesSDKException: RUL-01527: Received exception for loadClass. RUL-01016: Cannot load Java class lib.Demo. Please make sure the class and all its dependent classes are either in the class path, or user specified path. Root Cause: lib/Demo (wrong name: Demo) at oracle.rules.sdk.mapper.RuleObjectHelper.loadClassOrPackage(RuleObjectHelper.java:2154) at oracle.rules.ra.uix.mvc.ClassSelectorEH.importClassesOrPackages(ClassSelectorEH.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.rules.ra.uix.mvc.BeanEH.genericHandleEvent(BeanEH.java:869) at oracle.rules.ra.uix.mvc.BeanEH.handleEvent(BeanEH.java:838) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source) at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

  • FRM-40207 supressed after Business Rule violation

    Situation:
    - Form based on table with column A number(1)
    - Item width in form = 2 (automatic, to enable negative sign)
    - Business rule on column: value must be > 0
    - Try saving record with column A = -2: Business Rule is violated --> error message (as expected)
    - Changing value to 22, no error, not possible to leave record/item: 'FRM-40207 Must be in range -9 to 9' is not shown
    - Trying to type 22 first time leads to the 'FRM-40207: Must be in range -9 to 9' message as expected
    - Generating the form with teh preference set QMS_DEBUG_MODULE: FRM message is also shown after violation of BR (negative value) (thus it is a Headstart problem?)
    - Setting a format mask of 9 on the field does not solve the problem, in that case 'FRM-40209 Must be of format 9' is supressed
    It looks like the rule frame/headstart code suppresses the FRM message after violation of a Business Rule,
    anybody experienced the same problem or knows a solution?
    tia
    Geert

    I think we came across the same problem as you are describing. We created a temporary workaround for our problem by creating a custom library object using both the <maximum length> and <format mask> properties. This may not be feasible if you have are having the problem with several columns of varying lengths.
    [email protected]

  • Business Rule problem

    Here is a problem I am not quite sure how to solve.
    Given a collection of objects of type X, find out if there are two objects in that collection that meet certain criteria.  For example, find out if there are two objects X1 and X2 such that X1.city=X2.city.
    How does one go about writing a rule for this?
    Thank you all,

    <p>Thank you!</p><p>I try, try, and try again and finally I solved the problem!:-)</p><p> </p><p>I remember POV axis contains another information aboutversion.</p><p>In detail, I have two form (A and B) identical except twoparameter: version in PAGE axis and account information in POVaxis.</p><p>FormA contains "Mem1_A" in POV and version"Ver_A" in POV, while</p><p>FormB contains "Mem1_B" in POV and version"Ver_B" in POV.</p><p> </p><p>At this point, I can retrieve correctly "Mem1_A" or"Mem1_B", through run-time prompt with local variablecalled "FirstMember". I added another local variable,called "SecondMember", with feature "use byvalue" and set-up with a value. I added following code atbusiness rule:</p><p> </p><p>[FirstMember] (</p><p>    IF (@ISMBR("Ver_A"))</p><p>        [SecondMember] ="Mem2_A";</p><p>    ELSEIF (@ISMBR("Ver_B"))</p><p>        [SecondMember] ="Mem2_B";</p><p>    ELSE</p><p>        ... at thispoint you can't arrive... if you set in PAGE axis only the versionsused in IF...ELSEIF</p><p>    ENDIF</p><p>)</p><p> </p><p>In this way business rule retrieve correct value for FirstMemberand set-up correct value for SecondMember. In business rule code"core" I used only FirstMember and SecondMember to referaccount dimension.</p><p> </p><p>I hope this explanation is clear enough... I don't speak aperfect English :-(</p>

  • User Variable in Business Rule or Global Variable

    I wanted to call the User Variable value of Planning application under the Globel Variable of Default Value. Example I have created one Globel variable under the Default value the user varible value need to pickup so any thought how I can do this.
    I know in the Form if you use &UsrVar this will show the user variable value in the Data form but it is not showing the User Variable value in global variable or inside the Business rule.It is giving an error message there is no substitution variable has been defined. Please explain.
    Thanks in Advance,
    Irsh
    Edited by: 818693 on 17 May, 2011 7:22 AM

    Hi,
    User variables are meant to be used in web forms and web forms only. You can certainly pass their values to business rules when you used them in POV or page section of the form during save. All you need to do is to create another business rule (local or global) variable in business rule on the corresponding dimension and use it in your business rule. If you enable running the business rule on save and using the form values for variables options in form properties, business rules would replace the values of business rule variables with the values that are set in user variables.
    Cheers,
    Alp

  • Database Subscription management business rules

    Interested in what others are using for hygiene related to their overall Eloqua database. What criteria do you use to remove someone? Do you have a recycle program that looks for second chance engagement first?

    Hi,
    when you define business rules with property values these values must exist on base level members. In such a scenario BPC simply looks for values on accounts with the relevant properties which, if those properties are only defined on summation level members, it would not find.
    BR,
    Arnold

  • Type of Business Rules inside HaleyAuthority

    At this moment I am working at my graduate rapport about the possibilities and limitations of Business Rules comparing with current configuration like workflow, scripting etc.
    I know there are a lot of different types of Business Rules (like Integrity rules, derivation rules, production rules and reaction rules). Maybe is my question silly, but which type of Rules are usable fore HaleyAuthority? I think it is possible to use more than one types, but is this true?
    Thanks a lot,
    Mark Suurland

    Anyone?
    Thanks you.

  • Conditional vs Business rule transitions

    Any thoughts on when I should be using a business rule transition instead of a conditional? Any need to use this yet?
    I understand the primary distinction is "dynamic" but am having a hard time getting my head around the difference without an example.
    Cheers,
    Andrew
    Andrew

    Andrew,
    I think business rules are mostly useful when modeling a condition that is likely to change, and you want to make it easy to change the condition on-the-fly, without having to change and re-deploy the process.
    A simple example is when there is a transition that must be followed only when a variable value is above some predefined value (for example, a manager must approve all orders above $ 10K).
    If using a business rule, this "10K" value can be easily changed as needed.
    The ALBPM documentation has some guidelines on when to use Business Rules (section "When to use Dynamic Business Rules):
    http://edocs.bea.com/albsi/docs60/studio/designer/business_rules_editor/t_Using_Dynamic_Business_Rules.html
    My example is taken from the one in the document describing ALBPM 6.0 new features:
    http://edocs.bea.com/albsi/docs60/resources/ALBPM6.0_NewFeaturesOverview.pdf
    regards,
    Eugenio

  • BPEL11g - Business Rules error

    Hi
    I have created a business rule in SOA11gR1. I have a common XSD which holds request and response and below is the Input and as well as output xml structure.\
    REQ:
    <root>
    <request>
    <Name>James</Name>
    <request>
    </root>
    RES:
    <root>
    <response>
    <Code>200</Code>
    <response>
    </root>
    The rule which i implemented was - if Name is null , then set Code as 200 in the Ruleset_1
    IF
    root$request.Name==null
    THEN
    assert new root$response(Code:"200")
    I havnt touched anything in Desicion function, links,Facts...
    I am getting the below ERROR while trying to deploy. Not sure what i have missed and can anyone get me more details on Business rules would be very useful.
    [08:18:12 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server soa_server1 [CHETC206027821.SID.BT.COM:8001]
    [08:18:12 PM] HTTP error code returned [500]
    [08:18:12 PM] Error message from server:
    Error during deployment: Error occurred during deployment of component: OracleRules1 to service engine: implementation.decision, for composite: Project1: The XML-Schema file for the fact oracle.rules.sdk2.decisionpoint.wsfacts.DecisionPointInputs could not be found in the composite.
    The XML-Schema file DecisionPoint.xsd could not be found in the composite. The XML fact oracle.rules.sdk2.decisionpoint.wsfacts.DecisionPointInputs of target namespace http://xmlns.oracle.com/rules/rules/decisionpoint assumes the existence of the schema file in the composite.
    Check the composite for the schema DecisionPoint.xsd and make sure it has target namespace http://xmlns.oracle.com/rules/rules/decisionpoint. The schema is expeccted in the project xsd or businessCatalog folder. If the error persists, contact Oracle Support Services.
    thanks
    Sesha

    Can anyone help me on this..

  • DB Call from Oracle Business Rule +Java Method call from OBR

    Hi,
    1.We have a requirement in project where we need to make DB Call from Business rule.
    We are using ORACLE SOA11g.
    Is this possible.Any pointers on this will be helpfull.
    2.Can we call java method from Oracle Business Rule.If so pls suggest how it can be done.
    Thanks In Advance,
    Oracle SOA User

    You can implement java class to make database updates using JDBC. You can add Java class as fact in business rules and invoke methods as actions of the business rules.
    Hope this will help.
    Jayesh Patel
    http://jayesh-patel.blogspot.com/
    http://www.yagnasys.com/

  • Import a business rule with LCM

    Hi,
    I have edited a new version of a business rule. After exporting it with LCM in development, I tried to import it (with LCM) on my test environment.
    It appears that, even if the LCM import is successful my business rule (that already exist on my test environment) wasn't replaced.
    Is there any parameter I have missed somewhere, because I can replace existing webform, or any planning components, but I can't replace business rules.
    I'm using Planning 11.1.1.3
    Regards,
    Franck

    Hi,
    If you want to replace a Business Rule into Planning using LCM you have to follow these steps:
    If you use Business Rule Server:
    1. Connect to Essbase Application from LCM console
    2. Find your business rule and replace it
    If you use Calc manager:
    1. Connect to Calc Manager Application from LCM console
    2. Find your business rule and replace it
    3. Connect to Calc Mananger console and Deploy your Business Rule
    Remark: You can replace it directly from your planning application
    Regards,
    David Mendele
    BI / EPM Project Manager at Business Decision
    Lima, Peru

Maybe you are looking for

  • Internal speakers no longer available under 10.4.8

    After I updated to 10.4.8, my computer seemed fine, and I was able to play sound, until I restarted it. Now it doesn't regonize my internal speakers. When I try to play anything, the red light in the sound out jack comes on. (any there is sound if I

  • Powerbook G4 up to date OSX not playing internet downloaded movies

    When I want to open/play an internet movie clip I get the message "the page has content of MIME type application/x-mplayer2" but you don't have the application to read it" - it then suggests I either download Windows Media Player or RealTime ... but

  • LDAP AUTHENTICATION- PLEASE HELP

    My client wants me use LDAP for authentication. I new to this: I have written a Authentication bean. As follows. //Used to authenticate user from LDAP directry. import javax.naming.*; import javax.naming.directory.*; import java.util.*; import java.l

  • File attachments on orders

    I would like to build an xml file from an order and attach it to that order in the CRM. Just putting a few feelers out to see if it is worth pursuing. Does anyone know if this is possible?

  • SOLVED: OWSM Server Agent deployment to 'home' not 'oc4j_soa'

    Hi I've just installed an OWSM agent to manage my web services. By default it has installed it on the oc4j_soa oc4j, which makes sense as this is where BPEL and ESB processes get deployed. However, my individual services, which I also want to secure