How to Reuse Business Rules

Hi,
I've created a composite business rule and exposed as a composite, if i want to call reuse that business rule in multiple bpel processes, how can i do it?
Any help would be appreciated, thank you :)
Thx,
Rahul venkat

Hi
I am currently facing a problem invoking a Composite from within the BPEL.
Scenario: I have created a composite which has one Business Rule Component. The composite deploys successfully to the Web Logic Server. (Successful compilation: 0 errors, 0 warnings). However there is a number of "ignoring messages" which do not affect the deploy. These ignoring messages could be the souce of my problem which I will explain later. Example of an ignoring message
ignoring C:\Work\Project\ValidationProcess\Rules\xsd\PDQuality_DecisionService_1Types.xsd; not on source path
Now if I create a new project composite which has a BPEL component. The BPEL component has a partner link to call the Composite mentioned above. When assigning variables i.e Input variables to the partnerlink service, I notice that the payload of the invoke variables ( TO Section) has an error "Exception - Problem building schema!"
To prove that the partner service is working. I can view the WSDL in Internet Explorer. I can use the Eclipse WTP workbench to invoke the service ( Composite with Rules ). Now could it be that I am getiing this problem because initially when deploying the service (Composite with Rules) I was getting these ignoring messages and could it be that I should add all the ignoring source to the source path.... OR am I just embarking on a tangent!
Thanks in advance
Using SOA 11G - 11.1.1.2 (WebLogic Server 10.3.2) and Jdev 11.1.1.2.0
Thx,
Venkat Rahul

Similar Messages

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • HOW TO ADD BUSINESS RULES

    HI EVERY ONE,
      I HAVE A REQUIREMENT WORKING ON MM , I HAVE SOME BUSINESS RULES IN FUNCTIONAL DESIGN DOCUMENT AND I NEED TO WRITE THE TECH DESIGN . MY QUESTION IS HOW TO ADD BUSINESS RULES IN TECH SPEC. EXAMPLE I HAVE FINAL DUE DATE AS BUSINESS RULE i.e,
    Final Due Date = Baseline Date + Maximum Day Term
    If Clearing Date is = Final Due Date = Invoice is Paid-On Time
    If Clearing Date is < Final Due Date = Invoice is Paid Early.
    If Clearing Date is > Final Due Date = Invoice is Paid Late
       I have the data available for Final Due date from R3 .
    So after creating the Info Object( characteristic), where can I add this formula for that Z INFO OBJECT ?  I have total of 5 business rules like this in my funtional doc
    Help will be appreciated . Points will be assigned if my problem solved...
    thanks

    Hi Harish,
    With the assumptions:
    1. You are using a BI 2004s system
    2. The fields Baseline Date, Clearing Date & Maximum Day Term are being sourced from R/3
    The rules can be coded into the End Routine in the Transformation.
    If you are using a BW 3.x system, this logic can be coded in the Start Routine at the Transfer Rules or the Start Routine at the Update Rules.
    Hope this helps.
    Regards,
    Shrikant

  • How to modify business rules?

    How to modify business rules using SOA composer?
    Please provide deatils.

    I have followed same steps but its not working
    When i was chnaged insert action edit properties values .
    it is not refelcting. showing old value.
    Please help me

  • Can I ReUse business rule with JHeadStart ?

    Hi All,
    I am looking for tools and methods for our development team to achieve this goal. The keyword is Re-Use as far as we can, in all application layer.
    We will have core application, and for any new customer we will only develope the things that specific to that customer and Re-use the core application.
    Will JHeadStart help us to achieve that goal ?
    Could anybody pls help me with the scenario for maximum reUse ?
    Thank you for your help,
    Krist

    Krist,
    JHeadstart does not 'help' much with your business rule implementation, but it also does not prevent it (I'll get to the bugs you mentioned later). ADF BC is an excellent framework for implementing your business rules, and if you implement these rules on Entity Objects (instead of View Objects) as much as you can, they are highly reusable. Have a look at this paper, which is from the 'before ADF' era but will still contain lots of information on how to implement various types of Business Rules in ADF BC:
    http://www.oracle.com/technology/products/jdev/htdocs/bc4j/BusinessRulesInBc4j.pdf
    The JHeadstart bugs you mention should not hinder you (much). The first should not reproduce in the latest patch version; you can create your own application module subclass as long as it (directly or indirectly) extends the JHeadstart one.
    The bug with respect to View Object extending does not mean the Java class extending of the View Object classes, but rather the situation where one View Object 'inherits' the attribute definitions of another View Object. I would not advice using this type of 'definition inheritance', and furthermore implementing business rules on View Objects should be avoided as much as possible if re-use is your goal; the Entity Objects underneath the View Objects are a much better location.
    The bug with imported Entity Object is more a restriction in how you organise your sources in JDeveloper (i.e. spreading your Business Components across multiple projects) than it is a limitation on reusing business logic.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • How to create business rule for 'Integrity constraint - child not found'

    Hello, I am using JDeveloper 11.1.2.3.0.
    When an integrity constraint is violated an error message coming from database is displayed in my application. In this case is the error "integrity constraint (TableName) violated - child record found "
    How can I personalize the error shown in this case? I tried with EO business rules but I couldn't find this key, only "Key exists" or "UniqueKey".
    Can anyone help?

    Check Catch Me If You Can article. This should be handled there as one of the errors thrown in the model layer. Check the AdfmErrorHandlerImpl ...
    Timo

  • How to create Business Rule?

    Hi All,
    i am new to Hyperion, can any one help me on the following issue.
    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form and aloso have to calculate the data for the following member
    Cost per Unit = Total Revenue/Unit
    i have already have the member formula in outline for cost per Unit as follows
    Cost per Unit = Expense/Unit
    How i can create the business ruleto calculate the data for cost per Unit (Total Revenu/Unit) and the aggregation of data to the parent level in data form
    I have 12 dimensions and i am using 9.3.1 Version
    Thanks in advance
    Ram
    Edited by: Ram on Sep 2, 2011 2:36 AM

    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form^^^These are oldies but goodies:
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part.html
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part_17.html
    Cost per Unit = Total Revenue/Unit^^^Are you asking if it makes sense to calculate this ratio at all levels of the database or only at the top level? If you mean that it only makes sense at level zero, you could use a FIX statement to select all level zero members and then perform the calculation. Based on the formula, I would think you could get away with a dynamically calculated member formula, assuming Total Revenue is dynamically calculated as well. Generally, level zero calcs in a business rule are only required if there's a percentage involved; if the formula is valid at aggregated levels, make it dynamic unless reporting performance (I have seen dense formulas that go across many, many blocks -- bad idea) falls off a cliff.
    Regards,
    Cameron Lackpour

  • How to apply business rule over report level

    Hi All,
    I have a column name AAA over which i have to apply a business rule/filter like
    COUNT(“X Fact”." ID") WHEN “X Fact”.”Time to Issue Policy” <= 2 days at report level.How to apply that?any idea?
    Regards,
    Sonal

    Hi,
    Thanks for responce.
    Yes my AAA col is measure column coming frm Order Fact table (i.e AAA= "Order Fact"."Number of Order") & below is Business rule which I have to apply there
    COUNT(“Order Fact”."Order ID") WHEN “Order Fact”.”Time to Order” <= 3 days.How Can I apply this logic there at report level.Plz help?
    Regards,
    Sonal

  • How to Load Business Rule XML in 9.3.1

    Hello,
    I am using EAS 9.3.1. On the Business Rules component, I selected Export Business Rules, and it invited me to export all business rules, variables, macros, and projects into one xml file. Now I cannot figure out how to load that xml file. I am copying from a production environment to a development environment, because we moved the database of the development environment to another server. I have reconfigured the applications and databases. What do I have to do to load the xml file?
    Thank you,

    Thank you. I was getting the following error, and I thought it meant, I cannot expand the Business Rules icon because I did not have any business rules. If this something I configured incorrectly, or something the DBA missed?
    Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules.
    Detail:Error creating DBConfig object. Please check if there are exceptions in the log file and if HBR is configured correctly.
    Detail:null

  • How to change business rule in the runtime

    I create a business rule and add it in a BPEL process. After deployment, this process works fine.
    How to modify the rule in run time? I mean I do not need to redeploy the process.

    If you are using SOA suite 10g qhen you add a decision serivce to your BPEL process it doens;t use a pointer to the rules repository but actually makes a copy of the rules respository and deploys it locally within the BPEL process. Because of this any changes you make to your initial respository will not be seen because the delopyed process does not use the original version. You need to update the decision.dec file in your BPEL project and change the repository information to point to the original rules repository you want to use.
    Once you have done this redeploy the BPEL process and your changes shoudl be reflected in your process.
    Hopefully this information helps
    Regards
    richard

  • How to extract Business Rules in OWB (Design Center)

    Hello All,
    We recently inherited an OWB project without any documentation. Can anyone tell how best to EXTRACT the business rules within the Design Center Client? Is it even possible to get this info from within the tool? We are trying to put down some documentation and really need to know rules used to load the tables.
    Thanks so much

    Try this http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/ch07s03s01.html
    "To remove a business rule or ruleset from an application after you deploy the business rule or ruleset, make it ineligible for deployment by clearing the check box next to its name in the Deployment View. Then you can perform a full deployment of the application by right-clicking it and selecting Deploy."
    As you've already deleted rule from Calc manager try to create empty rules with the same name (if first full deployment wouldn't help)
    Edited by: vvipirailo on Jun 6, 2012 10:42 AM

  • How to do Business Rules' performance turning in BPEL?

    Does anyone have any business rules' performance turning experience or suggestion? Please share and help.
    In our BPEL process, we invoke one or two business rule with Decide activity. Because we think using business rule should be more flexible and re-usable. If we want to modify rule in the production environment, with business rule method it's no need to re-deploy the BPEL process. What we need to do is lively modify the business rule with rule author.
    But in the stress testing period, we find that the Decide activity which invoke the business rule is a big bottleneck in the BPEL process. If the concurrent threads are large enough, then the whole BPEL server is suspend and more error BPEL instances happen.
    By default, the business rule is deployed as web service in application server and BPEL process invoke it through SOAP protocol. SOAP protocol is much slow than WSIF method. So we change the describe file in BPEL process and let BPEL process invoke business rule through WSIF method, meanwhile we change some parameters and do some turning work with database and SOA Suite. But WSIF method is not good enough and we can't find any parameter related to business rule and web service.
    After using WSIF method, we still find lots of following errors log in stress testing (Timed out):
    <2008-04-18 22:34:16,453> <ERROR> <default.collaxa.cube.engine.dispatch>
    <DispatchHelper::handleMessage> failed to handle message javax.ejb.EJBException:
    An exception occurred during transaction completion: ;
    nested exception is: javax.transaction.RollbackException: Timed out
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit
    (ApplicationServerTransaction.java:582)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle
    (InvokeInstanceMessageHandler.java:37)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke
    (SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle
    (InvokeInstanceMessageHandler.java:37)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke
    (SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit
    (ApplicationServerTransaction.java:582)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
    ... 29 more
    <2008-04-18 22:34:16,453> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process>
    无法处理分派消息 ... 异常错误 ORABPEL-05002
    消息处理错误.
    尝试处理消息 "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" 时出现异常错误;
    异常错误为: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    ORABPEL-05002
    Thanks,
    Melody

    Some of my suggestions:
    You can just check bpel stats for checking how much exactly it took for Business rules.
    Hello Melody,
    Can you also let us know your test case? I tried performance test with Oracle Business Rules (file/webdav both), and results were pretty good (http://chintanblog.blogspot.com/2008/05/custom-decision-service-i-am-not-very.html)
    Regards,
    Chintan

  • How to Migrate Business rules along with access privileges

    Hi All,
    I migrated business rules from prod to dev using lcm. The business rules got migrated correctly, but the access privileges did not. I tried exporting from EAS and import. Even then the access privileges were not migrated.How do we migrate business rules along with access privileges? Quick help is much appreciated.
    We are on hyp. planning 11.1.1.3. and we use classic planning applications.
    Thanks
    Lakshmi

    If they are native users/groups then it may be down to the ID for the users/groups being different across environments, this has always been a problem with business rules, with planning applications then there is the updateusers utility to sync up the ID with shared services.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to call business rules scripts via Java API

    Hi
    I have a problem. I have some scripts (business rules in essbase) that can be seen thru Administration Services Console under Business Rules folder. How can I execute these script using Provider Services (via Java API to EssBase interface)?

    hi
    i look too java api sample for "HBR Lounch"
    you can try found example in EAS folder
    C:\Hyperion\AdminServices\AppServer\InstalledApps\Tomcat\5.0.28\eas\webapps\hbrlauncher\MC_LaunchWindow.jsp
    please back, if you will have resolution :)

  • How to export Business Rules 3.5 to XML or 9.3/11.1 compatible format?

    Hi,
    I need for upgrading Hyperion Planning 3.5 to 11.1.x.
    Please tell me how to export Hyperion Business Rules 3.5.1 to XML or 9.3/11.1 compatible format?

    I don't think there is an easy path to upgrade rules from that version as the format changed.
    You may in the end have to resort to copy and pasting the rule code.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • 10.4.10 External Hard drives, and other oddites

    Greetings, I decided to turn my Mini into my file server tonight, and connected a 160 GB hard drive via an external USB 2.0 Case, and formatted it, and then copied some 50 GB of data from another hard drive that was formatted EXT3. I then installed t

  • CTIOS: Supervisor after first intercept, cannot perform any other supervisor actions

    We are working on a custom CTIOS agent desktop and are experiencing an issue, and we were wondering if anyone else has seen the same problem and knows a work-around. A supervisor barges in on a call for one of the agents in her team and then leaves t

  • How to create hyperlink in PDF?

    how do i create a live link in a pdf using Acrobat XI Pro?

  • Data Class in ABAP dictionary

    hi,    recently we moved the tables from tablespace PSAPBTAD to user defined tablespace & since than we have poor performance in PROD - have any one had this issue before ? any idea on data class and tablespace ? thanks

  • Widget Browser Not Working - Please Help

    When I open up the Widget Browser program it doesn't work because it says that I am not connected to the internet, but I am. Can anyone help me fix this problem? Thanks in advance.