Business Rule Deployment Date & Time

Hi All,
Can we know if a business rule is deployed or not, including the time and date for deployment?? This must be available in RDBMS i think.
Like i tried a query which selects all the Business Rules and display created , modified and moved date and time.
The issue is that the time provided by the result of query do not match if we access the same business rule through workspace --> calc manger--> specified application --> specified plan type--> and the rule name
The query is
select * from
hsp_object ho
where ho.OBJECT_TYPE = 115
Regards
Ace,

vvipirailo wrote:
It's in EPMA schemeIt should be in the Calc Manager schema/database if the products have been deployed to separate dbs/schemas
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Edit Business Rules a Run Time

    Hi Friends,
    We can edit business rules at run time using SOA Composer if they belong to a SOA composite.
    Is it possible to edit business rules in non-SOA application at run time using SOA Composer or otherwise?
    Thanks,
    Sachin.

    Hi Ashish,
    Yes. I am referring to non-soa applications using Business Rules similar to grades application in below link:
         Creating a Rule-enabled Non-SOA Java EE Application
    When I deploy above application, I do not see the business rules dictionary available for editing in 'SOA Composer'. Does this mean that SOA composer can only show dictionaries belonging to SOA composite?
    And cannot show dictionaries in Non-SOA apps similar to one in above link?
    Thanks,
    Sachin.

  • How to undeploy business rules deployed in Planning

    I am unable to undeploy test business rules deployed on Production. Deleting from calculation manager leaves BR in planning.. is there in any other option??

    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

  • Business Rules and Dates

    I have many Java POJOs imported as facts. In each of these POJOs there is at least 1 date property.
    How am I to use these dates in my rules. for example:
    pojo.date > '08/22/06'
    pojo.date < today
    println(pojo.date)
    Although I have imported the java date class and have been over the docs many times, I cannot seem to figure out how to use the dates properly.
    I'm also having a similar problem where I have large numbers stored as doubles. When I make a rule like: pojo.largenumber > 3000 I get the error :
    Cannot perform operation. 'RUL-01726: Data type operator for >, at position 0: java.lang.Long > int '
    Thanks for the help,

    smartel2 wrote:
    I understand we need to compare like values, just as we would in java and other
    languages. however, I am trying to use the Rule Author to enter my rules, as my end
    user / business analysts would. When I use the rule author I can't seem to use any of
    the Date methods for example using the expert mode in the Rule Author
    pojo1.getStarttime ().compareTo(pojo2.starttime)
    gives: "Cannot perform operation. 'RUL-01717: "compareTo" is not a valid identifier
    name. '" when I apply it.Ah, I see. You are doing this correctly. You need to import the Date class into the datamodel and then check the "expand" option for the getStarttime() method of the fact type of pojo1 (or, the expand option if there is a starttime bean property). It should show up then.
    I also don't understand why my previous example "pojo.largenumber > 3000" would
    need a conversion. Shouldn't the interpreter be smart enough to know that the left
    side of the expression is a double and auto cast the right side constant '3000' as a
    double to satisfy the condition?The error indicated that "largenumber" was a Long object, not a primitive double. If largenumber was a double, the cast should be done correctly. If it's not, it may be a bug. Post the code for the pojo class if you think otherwise.
    How do I use the Rule Author to create these kinds of rules?I think the above mostly covers this one.
    How would I use the Rule Author to create a rule for "pojo.startdate is after Sept 1, 2005"One suggestion I have is that you use the Calendar class instead of Date for doing date manipulation. Date is mostly deprecated, and basically only servers as a wrapper for a long number (seconds since the epoch). Most importantly, Date is not internationalizable.
    Calendar has full support for locales, timezones, and all of the other necessary stuff for appropriately handling dates. A simple example of the reason for this class is that date formats differ significantly, for instance, "01/07/89" is January 7th, 1989 to an American, but is July 1st, 1989 to a European. Depending on the format, it could be July 1st, 0089 to a computer.
    So, the answer to you question is to create a final variable that represents the date (either a Calendar or Date) and then use that. With Calendar, you have to also use the SimpleDateFormat object to initialize it. I would probably write a function to initialize all of the global final date objects.
    How do I use standard java objects and there methods in the Rule Author, like Date.Answered above I think, but the short is to import them into the DataModel and then check the "expand" option for the property or method of that type that you want to access its properties and methods.
    Do I have to create all my rules in pure RL language (full script) ?Could you clarify this question?
    And finally, fully integrated date support is one of the things that's being worked on for the 11g release, so this should be much easier to handle in the future.

  • 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;
    }

  • SOA - BPEL with Business Rules deployment issue

    I am trying to construct the Purchase Order Processing SOA sample, I am able to deploy and test with mediator, BPEL. When I tried to add business rules to the BPEL I am getting following error. can anyone please help on this?
    10:47:54 AM] Creating HTTP connection to host:XXX.XXX.XXX.XXX, port:7001
    [10:47:54 AM] Sending internal deployment descriptor
    [10:47:54 AM] Sending archive - sca_POProcessing_rev1.4.jar
    [10:48:00 AM] Received HTTP response from the server, response code=500
    [10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
    [10:48:00 AM] HTTP error code returned [500]
    [10:48:00 AM] Error message from server:
    There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: ManualApprovalRule to service engine: implementation.decision, for composite: POProcessing: Error compiling fact classes.
    Error while compiling fact classes for service ManualApprovalRule.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    ManualApprovalRule.
    [10:48:00 AM] Check server log for more details.
    [10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
    [10:48:00 AM] ####  Deployment incomplete.  ####
    [10:48:00 AM] Error deploying archive file:/D:/ORACLE_HOME/Docs&Samples/Purchase_Order_Tutorial/POProcessing/POProcessing/deploy/sca_POProcessing_rev1.4.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Hi,
    It would be helpful to others if you say which version/patch you are using.
    To answer number 1, that has always been a feature of business, you don't get the option to overwrite, its always been a pain.
    I have not come across issue 2 and I am sure I have imported many rules with the cross dimensional operator in them ->
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule and Run Time Prompts - 11.1.2.2

    Hi,
    New to Hyperion and getting weird results or my rule is bad.  In my webform I have the rule attached and the boxes 'Run on Save' and 'Use Member from Form' checked.  I want to see the RTP window so I left that unchecked.  When I run this, I'm getting a value of '77' in Jan and Feb for Scenario= '2+10' and Year= 'FY13'.  How is that possible?
    On the popup window, I specifically selected ''2+10' and 'FY13'.  Those are on the Page and not the POV, if that makes a difference.
    Fix ( "Working" , "No_Entity" , "PRJ-10021-SERV" , "IMR" , "No_Location",
          "EC-15000","EC-15010","EC-15009","EC-15004","EC-15706","EC-15709","EC-15721","EC-16899" )
    Fix ("Jan":"Dec")
    "A-41000" (
    If ( {RTP_Scenario}== "Budget" AND {RTP_Year} == &CurrBudYr )
    "A-41000" = 77;
    Endif
    Endfix
    Endfix

    Hi
    Your if statement is not checking if the member is budget it is checking if the RTP_Scenario value is the same as the Budget scenario, so you might want to try something like:
    Fix ( {RTP_Scenario},{RTP_Year} ,"Working" , "No_Entity" , "PRJ-10021-SERV" , "IMR" , "No_Location",
          "EC-15000","EC-15010","EC-15009","EC-15004","EC-15706","EC-15709","EC-15721","EC-16899" )
    Fix ("Jan":"Dec")    
    "A-41000" (
    If ( @ISMBR("Budget") AND @ISMBR(&CurrBudYr) )    
    "A-41000" = 77;  
    Endif
    Endfix
    Endfix
    Cheers

  • Business rule takes time to open

    Hi,
    Business rule takes much time when trying to open it.
    I'm new to essbase. Can any one tell in which log i can get the information like why it takes much time like that.
    Thanks
    Kumar

    we are facing this issue for particular user. In the same system, we tried with two different users. for 1st user that BR is opened in a minute, but the same BR took around 20mins to open for 2nd user
    OS - Window XP
    EAS version - 9.3.1
    Example
    A is 1st user --> XX business rule took 1min to open
    B is 2nd user --> XX business rule took 20mins to open
    Here both the users are having same access on the BR and the applications
    Thanks
    Kumar

  • Members on rows, can they be passed to run-time prompt in a business rule?

    Hi!
    I have a input form which has a business rule with properties "Run on Save" and "Use members on Form".
    The business rule has run-time prompts (local variables) as follows (showing only the fix part of br...)
    FIX ([V_Year],[V_Version],[V_Scenario],@LEVMBRS ("Offering", 0),[V_Entity],
    [V_ICP], [V_Account])
    calculation...
    endfix
    Now my accounts are on rows and I would like pass those account members to the [V_Account] variable through run time prompt. The [V_Account] ís a local variable with Type "Members" in Account dimension. I have also selected 0-level accounts as limits. Other dimension members from page/pov seem be passed successfully to run-time-prompts.
    The run-time-prompt does not seem to be able to catch those account members on rows? Is it at all possible to pass members on dataform rows to run time prompts?
    kind regards,
    user637777

    Hi!
    Thanks John!
    I just have live with that and find another way to restrict the calculation regarding those accounts.
    kind regards,
    user637777

  • Composite Forms and Business Rules

    Working with 11.1.2.3. I have a composite form with 4 tabs - 3 input tabs and 1 review tab. Each of the 3 input tabs have the same business rule attached to them and are set to Run on Save. Within the composite form I have selected the business rules from the 3 input tabs.
    Problem is, when a user enters data into one of the tabs and then clicks Save, the business rule runs twice.
    Any ideas what would cause this? 

    Hi Anthony - thanks for your response.
    In regards to the 3 input forms, the Page/POV sections were slightly different.  For example, Input 1 had No_Category and No_Brand in the POV and Channels in the rows, Input 2 had No_Channel and No_Brand in the POV and No_Categories in the rows and Input 3 had No_Channel and No_Category in the POV and Brands in the rows.
    I have since modified the forms so all 3 Input forms have the same members in the POV (these are No_ICP and No_Function) and also have the same members in the Page (Local_Input and SC_No_Scenario).  As part of the change I also have Channels, Categories and Brands in the rows of all 3 Input forms (although each Input form has different members from the Channel, Category or Brand dimensions)
    Anyway, even after making these changes, the business rule runs multiple times.  (I did notice that when I Save data in the Category form the rule runs once.  When I run Save data in the Brand form the rule runs twice and when I Save data in Channel form the rule runs 3 times.)
    Very strange - and very frustrating.  (Rule takes 34 seconds to run, which is almost too long.  Multiply that by 2 or 3 times and it's much too long of a wait.)

  • How to schedule business rule in Planning

    HI,
    Is it possible to schedule Business Rule on specified time, i mean automation to execute business rule after certain events or date.
    Secondly can we run maxl file using windows scheduler?
    Regards
    Kumar

    You can use the business rule command line launcher, it is a command line utility so you can schedule it using windows scheduler.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Automating Business Rules

    I am trying to use the CmdLnLauncher utility in a .bat file to run business rules with run-time prompts. The problem is I cannot get the launcher to run when the variable I am trying to pass in through the run-time prompt has a space or "-" character in it<BR>Beow is the data stored in the .xml file with TBHSal being the business rule and EmpSelMerit being the Variable name. <BR><BR>TBHSal<BR>ExecDB::"Planning/03s03thfmpln01/PL_Spare/Wrkforce"<BR>EmpSelMerit::"Thompson_Fred (5448)"<BR><BR>"Thompson_Fred (5448)" is the entity I am trying to run the business rule on, but the launcher errors out because of either the space between the first name and the employee id or the fact that there are parentheses. Same holds true if I try to use an entity that has a "-". If I run the launcher on the same business rule using an entity that does not have any special characters, it works fine. Unfortunately changing the format of my entities is not an option.<BR><BR>So the question is, is there any way to enclose the entity, either with double quotes, single quotes, or parentheses to get this to work.<BR><BR>Thanks for your help.<BR><BR><BR>

    Did you test launching the rule from a Form, passing the same member name "Thompson_Fred(5448)" for the Variable? Just to ensure that there is not a problem with the member ID.<BR><BR>On a side note, I know you mentioned member ID's could not change, but wouldn't there be more value in having the Employee Name as the Member ID and the employee # as an Alias (or vice versa). This way you could search, calculate, report,etc on either Name or ID. - just a thought)<BR>

  • Versioning Business Rules

    Hi Friends,
    I came across this questions during my discussion with stakeholders who plan to leverage OBR in their applications:
         Q] If we edit Business Rules at run time, how can we maintain versions to track changes and revert to a previous version if required?
    Any suggestions/experiences?
    Thanks,
    Sachin.

    Yep.  Since MDS is included in SQL Server I have several customers who use it to create a simple way for end users to manage "homeless" data. 
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Changes at once to all Business rules

    Hi All,
    I am having a requirement where I need to do some changes in all my Business Rules at one time which is related to the script content. How can I achieve this task?? From where and all I need to fetch for the scripts information. I would appreciate your suggestions. I using Planning 9.3.1, windows env.

    Jockney also brings up a good point to use Macros where you have repetive code in your rules.
    If you are looking to run some type of script on all the rules and you have a few the VB code below can be used to export these to a text represenation.
    'Courtesy of John A. Booth
    'Save as export_rules.vbs
    'Replace SQLSERVERNAME AND AAS_CATALOG with their proper names for your environment
    'Currently writen to work with MS SQL Server
    'The id this executes as must have select access on the AAS_CATALOG
    'Large rules (> 40KB) will take some time to export. Small rules export very quickly.
    'CODE BEGINS
    Dim numRules
    Dim ID
    Dim length
    Dim index
    Dim headerSize
    Dim fileName
    Dim rule
    headerSize = 233
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set rs = CreateObject("ADODB.Recordset")
    Set cnSS = CreateObject("ADODB.Connection")
    Set shellObj = CreateObject( "WScript.Shell" )
    if (fs.FolderExists(shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules") = False) Then
    fs.CreateFolder (shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules")
    End If
    cnSS.Open "Provider=sqloledb;" & "Data Source=SQLSERVERNAME;" & "Initial Catalog=AAS_CATALOG;" & "Integrated Security=SSPI"
    strQuery = "Select max(id) from hbrrules"
    rs.Open strQuery, cnSS
    If (rs.EOF <> True) Then
    numRules = rs.fields(0)
    For ID = 1 To numRules
    rule = ""
    strQuery = "Select name from hbrrules where id=" & ID
    rs.Close
    rs.Open strQuery, cnSS
    If (rs.EOF <> True) Then
    fileName = rs.fields(0)
    rs.Close
    strQuery = "Select body from hbrrules where id=" & ID
    Set rulefile = fs.CreateTextFile(shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules\" & fileName & ".txt", True, True)
    rs.Open strQuery, cnSS
    If (rs.EOF <> True) Then
    length = rs.fields(0).ActualSize
    For count = 1 To length - headerSize - 5
    index = count + headerSize
    If Chr(AscB(MidB(rs.fields(0).Value, index, 1))) <> Chr(10) Then
    rule = rule & Chr(AscB(MidB(rs.fields(0).Value, index, 1)))
    Else
    rule = rule & VBNEWLINE
    End If
    Next
    rulefile.WriteLine(rule)
    rulefile.Close
    End If
    End If
    Next
    End If
    rs.Close
    'CODE ENDS

  • How to include the COUNT Function in business rule

    Hi all,
         I am working in oracle data quality in ODI.
         This is regarding the business rule in Data quality.
         I need to count the number of records when my status_type="A".
         But when i include the COUNT function in business rule.
         I find the following error as "*Unspecified Count Function*".
         Waiting for ur valuable reply.
         Thanks in advance,
         JayaPradha P

    Hi,
    The following is the condition I have to be used
    For eg:*Count records in DIM_SERVICE_ORDER_CODE where service_type = ‘P’*
    But when i use COUNT function.
    Im getting the error as "Unrecognised function count"
    waiting for ur valuable reply
    Thanks in advance,
    JayaPradha p

Maybe you are looking for

  • How do I change my apple ID & Icloud ID?

    My kids and I have been sharing the same apple ID and icloud ID so updates mess up all our phones cause eveyones info gets put together then downloaded onto each phone.  So I want to make a seperate account for each of us so our stuff stays on the ri

  • LaCie Ethernet Disk Mini Gigabit/USB not recognized by Leopard

    I have successfully setup the disk on USB using OS X Tiger 10.4.10 but I cannot get the Network Preferences Pane to recognise the disk as an ethernet device under OS X Leopard 10.5 during initial installation and configuration. Under Leopard the disk

  • Same pdf shows different colors than in photoshop

    Hi, I´m new to Acrobat, I work with Mac-support basically. I have a client that complaints that colors är not identical in Acrobat, compared to when he opens the same pdf file in Photoshop or in Illustrator. All applications are latest versions of CC

  • Rtl co simulation licensing issue with vivado hls 2015.2

    ERROR: [Simtcl 6-50] Simulation engine failed to start: A valid license was not found for simulation. Please run the Vivado License Manager for assistance in determining which features and devices are licensed for your system. I am using 30 day evalu

  • Force ipad to show full resolution photos ?

    I am surprised and annoyed to find that all my photos on my IPad have been reduced in size to a preset maximum (2048x1024 or something close to that, I think) during the import process,  I have many very large photos (autostitched landscapes etc), an