Problem executing Business Rule in BPM 11g
I've createad one business object CPFBObject which contains several attributes. My requirement is that if relationship is parent the it goes to human task otherwise to end. for thet I've written the business rule which is as not working properly. Please suggest what to do?
Hi
I do not know why business rule is not working. But, if "relationship" is an attribute of the Business Object "CPFBObject", then you can also use an exclusive gateway to perform the conditional branching logic. See this example image: http://imgur.com/AhePz
Regards.
Daniel
Similar Messages
-
Anybody here knows the difference between Business Rules and BPM..
We can do pretty much everything with a Business Rules Engine as we would do with BPM , then in which scenario should we use BPM and in which scenario should we use Business Rules Engine?
Ofcourse Business Rules Engine has more complex set of rules than any BPM product in the market for .eg. ILOG Business Rules...BPM and a rules engine are different. Both are important, but they have different uses.
Oracle BPM Studio is used by Business Analysts and Developers to model processes, integrate underlying components (including business rules) and develop user interfaces.
There's an Engine that executes the processes that have been modeled. It sends the work item instances to the right person or persons with the right data when the work item reaches an interactive activity in the process. Similarly the Engine has invokes the underlying components specified in the process when the work item instance reaches an automatic activity.
There's an out of the box Workspace runtime that lets end users manage and run their work item instances as they flow throughout the processes.
We can business rules inside the processes, but one does not replace the other.
Dan -
Admin rights to validate/execute business rules
Hello everyone,
we set access priviliges and administration rights in shared services by assigning users to particular groups. We assigned two users to the administration group 'hypadmins' who now have access to all applications. In Essbase they can access applications, affect changes in the outline, validate the outline etc. However, they cannot validate or execute business rules (Error: Cannot connect to server). The problem does not persist when connecting to the server using a different (existing) admin user. The access priviliges for all rules are set to the admin group 'hypadmins' (and no other). Can anyone help with respect to identifying the source of the problem?
p.s. Can anyone explain what the Essbase Native Security Mode is?
Thanks in advance
Florian943380, I'm not picking on you, and I am glad you found an answer to your issue. My ire is saved for whoever thought that a blog equals copying knowledgebase articles from Oracle Support and sticking it on his blog. Why oh why oh why do I even bother paying support? And I suppose why oh why oh why do I kill myself writing blog content when I could just "borrow" it word for word from Oracle?
Regards,
Cameron Lackpour -
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 GargHi 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. -
Not able to invoke business rules from BPM
Hi,
I have a simple business rule (Used Bank class in Alias and created a simple rule set) and able to invoke successfully from webdynpro application.
But the problem comes when I try to run the same webdynpro application (as a part of BPM process) from UWL, it always throws ClassNotFoundException for Bank Class.
The thing is that I'm able to run webdynpro application properly (and is doesnt throw error) as standalone but when I run the same application from UWL (I have binded UI to BPM process), it throws class not found error.
Thanks for your time and help.
Best Regards,
ShivaHi Shiva,
sorry to bother but how did you integrate the rule in the BPM? I'm trying to use a rule as automated activity but I'm unable to create the Webservice from the rule...
kind regards,
Matthias -
Issue with executing Business Rules from Planning web
Hi,
We are using Hyperion Planning 9.3.0.1 and we keep getting an issue with the Business Rules. We get an error if we try to run the rules from Planning web. The same rules validates and executes fine if we run it from AAS. This issue gets resolved if we restart the Planning and RMI service. But this issue keeps happening randomly. Is there a permanent resolution to it? Is it a bug or I am missing something here?
Thanks and Regards,
Amol
Edited by: user638718 on Apr 7, 2009 5:20 PMHi,
Have you installed any of the patches for 9.3.0.1, I think it goes up to 9.3.0.1.09
One of the fixes was :-
8-665086601 (6588823) – 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. The time interval is specified in milliseconds and defaults to 300,000 (five minutes).
Though I know there has been more attention to fixing known issues on 9.3.1 than 9.3.0.1
Cheers
John
http://john-goodwin.blogspot.com/ -
Error while executing business rule "Please increase CalcLockBlock setting"
Hello,
An error is occouring when I execute a particular business rule. The following message appears when I view the error from Job Console:
"Dynamic calc processor cannot allocate more than [100] blocks from the heap. Please increase CalcLockBlock setting and then retry"
No such error is occouring when I execute any other business rule.
Can anyone please tell me how to resolve it?
Regards,
Sa'adHi Sa'ad,
in the business rule your getting the error message is a calculation, where the result needs more than 100 blocks to access to.
The error comes from three possible causes:
1. Lockblock setting is low (essbase.cfg)
2. Your data cache setting is to small
3. Block size is to large
I think you have to increase data cache settings (by default 8192 KB) to.
Cheers
Uli
Edited by: Uli Drexelius on 13.07.2011 14:23 -
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,
PrabuMaybe 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 -
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 -
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 -
Testing rules designed using Oracle Business Rules in Oracle 11g SOA
Hi.
I want to test the rules designed in ORB from a java class or a JSP.
I am looking for a way to provide input from a form/UI , then execute the rules and display the result back on form/UI.
Any sample showing how to achieve this would be helpful.
Thanks,
ChinmayHi Chinmay,
Oracle's SOA testing framework allows any or all ofthe invoked services to be emulated. Simply click on the invocation in the process diagramand supply a response document to use instead of actually invoking the service. Tests can also make assertions about document content at any step in the business process. You can use a SOAP client to test you WS, such as Fiddler, generic SOAP UI, SOAP UI utility. You can also do your unit testing from the OBR Designer itself.
Hope that helps!
Cheers
Anirudh Pucha -
Oracle Business Rules with BPM
Hi
Please explain how to use Oracle Business Rules in Oracle BPM enterprise and Oracle BPM studio.
Also please provide links for documents if available.
Thanks in advanceHi,
It's a good question for which I do not have the answer! I would also want to see some documentation or insights about the integration of OBR and BPM. Will be monitoring this thread.
Thanks in advance -
Executing Business Rule / Calculation from Excel - Essbase
Hi All,
Currently I am trying to run the calculations / Business rules from essbase after locking and sending data. I am using the below code to run the business rule / calculation from essbase.
Sub RunBusinessRule()
On Error Resume Next
X = EssVCalculate(Empty, "AggFlash", False)
MsgBox "Business Rule executed successfully"
End Sub
The issue is that my code gives me a message that the business rule is executed successfully but the rule keeping running in the background for some time. Actually i need a code which will check the status of the process of calculation and when it actually gets completed I should get a message that it's been done. Please expedite.Hi,
I take it you mean calc script and not business rule as really they are separate.
The reason you get a message straight away is because you have the synchronous parameter set to false, if you set it to true it should not return until it is comple
e.g.
X = EssVCalculate(Empty, "AggFlash", True)
Cheers
John
http://john-goodwin.blogspot.com/ -
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/ -
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
Maybe you are looking for
-
My ipod touch 3rd gen is disabled how do I restore it
I have an Ipod touch 3rd generation and its disabled and it says try again in 23 million mins how do i fix it?
-
Dynamic column selection while running report
Can any one explain how to get the following functionality in report: I have a cube with following fields:(with depriciaated amounts) Plant Mat# Fiscper Jan Feb March April May June July Aug Sep Oct Nov Dec ==== ==== ====
-
Online Backup Application - Not Displaying Properly
I have installed the Online Backup program (4.0) and, when started, the main window has no scroll bars and cannot be resized. Yet you see content, such as backup scheduling, continues further down the page. You can't get to the rest of the window d
-
For some unknown reason my Itunes account is taking some albums that I import and creating separate albums for each song. Is this because I have numerous albums that I import with different artists on it? Could this be the reason that It's separating
-
Importing layered Illustrator files
Hello I'm on an Intel Power Mac. Premiere 4.1.0 Importing layered Illustrator files does not work properly. It doesn't provide the pop up option box, to tell you what you want to do with the layers - either bring them in individually, or as a sequenc