Disable business rules after workflow promote

Dear All,
I have the following case:
in capex module, after everything finished, the user then promote the budget.
and that makes the data form read only. but in this case, because adding new asset is done by business rules, the user could still add new asset.
is there anyone have a solutions or experience the same thing?
Regards,
Feri

Ya that will be a tricky one.
The only general comment is to build this into your process.
So you will give everyone a window to add To Be Hires during 1 or 2 week period. Then you block everyone and remove the ability to launch the script. Then managers review. So this becomes disconnected from "workflow" the tool inside of Planning.
You could build something but this would be way outside the out of the box process and I wouldn't want to go there personally. You would move the calc into a maxl script and build in code to validate against the workflow tables to see if the calc will work or not. This would require all sort of validate scripting and error handling and would require bring in some experts probably. The only other scenario is to troll the forums and maybe find someone how built something like this and get them to share their code.
In principal what you want sounds obvious and make sense to be in the tool.

Similar Messages

  • Associate Business Rules with Workflow

    Hi All,
    We have a planning application, and forms are having some business rules.
    Now our requirement is, when a user promote his cost center to another user, he should not have the access the Business Rules for that cost center.
    so, is there any way that we can associate business rules with workflow?
    Thanks in Advance,
    Edited by: user12865804 on Oct 4, 2010 2:26 AM

    Ya that will be a tricky one.
    The only general comment is to build this into your process.
    So you will give everyone a window to add To Be Hires during 1 or 2 week period. Then you block everyone and remove the ability to launch the script. Then managers review. So this becomes disconnected from "workflow" the tool inside of Planning.
    You could build something but this would be way outside the out of the box process and I wouldn't want to go there personally. You would move the calc into a maxl script and build in code to validate against the workflow tables to see if the calc will work or not. This would require all sort of validate scripting and error handling and would require bring in some experts probably. The only other scenario is to troll the forums and maybe find someone how built something like this and get them to share their code.
    In principal what you want sounds obvious and make sense to be in the tool.

  • Can't see some Business Rules after running the Import via LCM

    I am trying to migrate our Business Rules down from Prod to Dev to get them back in sync. Here is the steps I have run:
    Export ALL Business Rules and Sequences from Prod via LCM
    I confirmed the export directory contains an .xml file for EACH Rule.
    copied the export directory down to Dev Shared Services server
    Turned on DEBUG for Shared Services
    Deleted ALL Business Rules and Sequences from Dev EAS BR repository
    I confirmed that ALL BUsiness Rules are listed and checked in LCM Import.
    run the Import from Dev Shared Services via LCM
    I get a Completed successfully message. No Errors.
    I Refresh Rules in Dev EAS and I only see 25% of the Business Rules listed.
    I have tried to Stop/Restart the EAS services and still nothing.
    I confirmed that the ID I am using to Export / Import has access on each Business Rule either directly or via a Group that has access.
    Any thoughts??
    Thanks in advance for any assistance on this!
    Robert

    Thanks John!
    I was really trying to get it done via LCM since I have all other migrations being done there. but I ended up taking your advice and doing it the old fashion way via EAS export.
    To answer your questions:
    We are on 11.1.1.3
    I did not see any problems in the Services logs for EAS. Nothing that stood out.
    We are migratiing 66 Rules and 15 Sequences.
    We are using Weblogic instead of Tomcat.
    Even though I have a workaround for the issue I am still interested in understanding why some of them did not import via LCM. You mentioned that you might consider adjusting some config settings. What settings would you recommend looking at?
    Thanks again John!
    Robert
    Edited by: user627522 on Nov 16, 2010 6:27 PM

  • Cant see Business Rules after restore

    Hi - using Business Rules 3.5.1 - we are trying to refresh our development Business Rules with our Production Business Rules. DBAdmins did the restore and if I go looking in the sql tables, I do see the rules. But when I go into the Business RUles Designer, I do not see any rules.
    the development name of the business rules database is the same as the production.
    what am I missing here?
    Thanks.

    there is a table in the business rule db called "alloproc" which contained the production server name. Ran a sql query to update it to the development and the business rules appeared in Designer.

  • BOIS 4.2 - Disabling Rule Approval Workflow

    Greetings,
    How can we disable the rule approvals workflow in Information Steward ? from the application itself or from CMC ?
    Regards,

    Rule Approval is a part of rule management and governance process around validation rules. It's not possible to disable the rule approval.
    Can you explain your scenario and need for disabling the rule approval?

  • Business rules execution error

    Hi,
    I am facing an error with business rules and forms.
    We are having 6 folders and each folder relating to different departments and each department (folder) contains 5 forms.
    The same environment is in UAT server and Production server.
    The same UAT server is migrated to Production.
    Here the problem is example: In each folder, form 2 is tagged with 3 business rules like rule1, rule2 and rule3.
    These 3 rules are same for the form 2 in all folders, except the legal entity, code, prduct will be vary as per the user selection.
    but the code is same.
    In these 3 rules, the first 2 rules rule1 and rule2 are not working. While double clicking the rule, its says that, error while executing the calculation script. Please check the log file. The same error coming for form 2 in all folders with the same rules which are tagged.
    But the same rules are working with the same form in UAT environment. I have tried to change the rules from UAT to Production.
    After changing the rules also, the same error is coming while executing the business rule.
    So can any one suggest me what to do and how to resolve this.
    Thanks & Regards
    RREDDY

    The same error when executing the business rule after opening the form.
    " Error executing the calculation script. Check log for details"
    I have checked the log also, but its also showing the same sentence.
    While validating the rule, I have checked the same thing and I have compared with the UAT settings also. Its all are fine.
    Only these 2 rules with the same form in all the folders are getting the error.
    I have done one more thing that copying the content of Business rule code in UAt and paste the same in Production and saved it.
    I have checked all other settings they are remain same and no changes. Then I have detached the rules from web form and saved it and log-off from planning.
    Again logged in and tagged the BR's to the form and tried to execute, even then also the same error coming.
    thanks
    rreddy
    Edited by: user4483519 on Sep 21, 2009 4:39 AM

  • Issue on Business Rules in SOA

    Hello
    I am writing a business rule as per the screen shot and in one scenario it is firing twice even though i selected 'there is a case where' option.
    My requirement was if pem >0 or tool name is 'PEM' then add PEM. It is firing twice in case if pem >0 and tool name is 'PEM' (both fullfilled). Can anybody help me on this please?
    Thanks!

    Don't know much about SOA Composer (sorry - you've hit the BPM forum), but you should be able to see the business rules from the Oracle BPM Composer. If you've installed BPM, go to http://xx:####/bpm/composer and you'll see business rules after poking around a little. Let me know if you need more help finding them.
    Dan

  • How to view or Edit Business Rules in SOA Composer

    HI,
    We have a requirement to use Business Rules with OSB. We have OSB 11.1.1.5 installed in Clustered environment. Installed SOA composer patch on top of OSB 11.1.1.5. I have createed and deployed the sample Business Rules WAR/SAR targeted it to Admin Server. I could able to open Business Composer URL. Though unable to see any Rules. Nothing is available in Composer. I have privilege as "Admin".
    In Server --> Deployments --> Composer war is active.
    What else I need to check to view the Business Rules in Composer! Please let me know quick remedy to overcome!
    Edited by: 945206 on Jul 10, 2012 2:51 AM

    Don't know much about SOA Composer (sorry - you've hit the BPM forum), but you should be able to see the business rules from the Oracle BPM Composer. If you've installed BPM, go to http://xx:####/bpm/composer and you'll see business rules after poking around a little. Let me know if you need more help finding them.
    Dan

  • Error with business rules

    We are using 7.1.2 and I am unable to find business rule option in the view panel, and when I tried to open business rules client it is giving the below error Can any one gone through this.
    application error- 429 activex component cant create object
    Thanks
    M.V

    The same error when executing the business rule after opening the form.
    " Error executing the calculation script. Check log for details"
    I have checked the log also, but its also showing the same sentence.
    While validating the rule, I have checked the same thing and I have compared with the UAT settings also. Its all are fine.
    Only these 2 rules with the same form in all the folders are getting the error.
    I have done one more thing that copying the content of Business rule code in UAt and paste the same in Production and saved it.
    I have checked all other settings they are remain same and no changes. Then I have detached the rules from web form and saved it and log-off from planning.
    Again logged in and tagged the BR's to the form and tried to execute, even then also the same error coming.
    thanks
    rreddy
    Edited by: user4483519 on Sep 21, 2009 4:39 AM

  • 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/

  • Call ODI interface from Business Rule

    Hi All,
    Is there any way to call ODI interface from business rule?
    I search the forum and found there is a way to call java code from business rule by CDF.
    ODI provide a dos batch file to invoke the ODI interface. But, how can I call batch file from business rule.
    I am using planning version 11.1.1

    Thanks.
    I can call the JAVA from business rule after assign the security in udf.policy.
    And, I am working on calling ODI scenario. However, I found connection refuse as follows.
    ava.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:520)
         at java.net.Socket.connect(Socket.java:470)
         at java.net.Socket.<init>(Socket.java:367)
         at java.net.Socket.<init>(Socket.java:180)
         at oracle.odi.sdk.invocation.internal.AgentNetworkCmd.<init>(AgentNetworkCmd.java:38)
         at oracle.odi.sdk.invocation.OdiInvocation.<init>(OdiInvocation.java:107)
         at com.gammonconstruction.odi.ODICaller.main(ODICaller.java:
    do I need to add scheduler agent for java request ?
    and, how to add the agent if need?

  • Sometimes Business Rules disappear

    Hi.
    I have a probleme in Planning. I open web browser, connect to application and see my Business Rules, after 10-30 minutes (work with form etc.) they disappear. I log off, then connect to Planning and I see Business Rules again. What is it?
    Mike.

    Hi,
    I am not sure they have addressed that issue in 9.2.1, I know there has only been one patch released for that version (9.2.1.0.1) which doesn't mention anything about business rules.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Programmatically disable "mandatory business rule"

    Hello,
    Using jdevelopper 11.1.2.3.0 and HR schema, there is my use case :
    An entity object (Departments) with an attribute (DepartmentId) checked as "Mandatory". A java entity object class (DepartmentsImpl.java). In this java class, create() and doDML() methods overriden :
        protected void create(AttributeList attributeList) {
            super.create(attributeList);
            AttributeDefImpl attr = this.getEntityDef().getAttributeDefImpl("DepartmentId");
            attr.setMandatory(false);
        protected void doDML(int i, TransactionEvent transactionEvent) {
            AttributeDefImpl attr = this.getEntityDef().getAttributeDefImpl("DepartmentId");
            this.setAttribute(attr.getName(), 66);
            super.doDML(i, transactionEvent);
            attr.setMandatory(true);
        }What I want is to programmaticaly disable the "mandatory business rule" for DepartmentId attribute, because this attribute's value is programmatically set just before calling doDML().
    Problem : "attr.setMandatory(false);" seems to do nothing. In validation time, the mandatory business rule is working.
    What AttributeDefImpl.setMandatory() method should do? Or, what should be the right way to programmatically disable a "mandatory business rule"?
    Thanks.

    Nirav, reading your post, I realized that "mandatory" propertie is part of attribute definition. So I have try calling setMandatory() method in EntityDefImpl. I found a method loadAttribute() that I have overriden :
        protected void loadAttribute(DefElement defElement) {
            super.loadAttribute(defElement);
            AttributeDefImpl attr = this.getAttributeDefImpl("DepartmentId");
            if(attr!=null){
                System.out.println("DepartmentId found! after super");
                attr.setMandatory(false);
        }Changing the mandatory propertie here works fine. But, it is not suitable solution for me, because the entity definition is done just once : first time a user implement the entity object.
    You suggest me to do this when AM is initialized : I haven't try yet, but I think I will have same problem, because when the entity definition is done once, it will never been redo later. (That is what I understand during my tests. Maybe I'm wrong?)
    Timo, I can't simply remove the mandatory flag from the attribute, because in our application, user must be abble to choose if an entity pk is auto generated or not. (and that implies that pk attribute, checked as mandatory, could be programmatically changed to false).
    There is something I don't understand : calling setMandatory() in EntityImpl.create() method has no effect. But, in same maner, if I call setUpdateableFlag(), thiw will have effect. Both method are changing Entity Attribute Definition. So why setMandatory() will have effect only during the first definition of Entity, and setUpdateableFlag() will work all the time?
    Thanks for your help.

  • Unable to access Business Rules Facts after refreshing XML Facts

    I have created a business rule using an xml schema to generate the XML Facts. Then I created a Decision Function to call a Ruleset to process the information in the XML Facts. This decision function has input and ouput parameters from the XML Facts.
    The decision function is used inside a BPEL Process, by defining the Dictionary has the created business, defined the Service has de Decision Service. After this configuration I'm able to define the Input Facts and Output Facts from and to a variable in the bpel process. Using the Decision Fact Map window I define the input and output to the exposed Business Rule Facts. This works just fine. The BPEL runs and the Rules are correctly used.
    When I change my xml schema to add more elements and complex types I use the "Reload XML Facts From Updated Schemas" option available in the bussiness rule. After this operation I will no longer have access to the Bussiness Rule Facts in the Decision Fact Map window. So I'm no longer able to call the decision function.
    Yet the business rule has no problems and i have tested using a fuction to call the Decision Function.
    Is this a bug or a feature?
    I'm using Oracle 11g with the SOA Composite Editor 11.1.1.0.0.52.19.

    Problem solved. There was an element in the xml schema that had nillable = true. Because of this the XML Fact for that element would no longer be available in the BPEL Process. Removing the nillable and generating the XML Facts again solved the missing variable problem.

  • Unable to refresh database after forced stop of the business rule

    Hello, Experts!
    I am currently testing and tuning performance of business rules in Hyperion Planning 9.3.1. I launched a business rule in EAS Console that was running way too long so I decided to stop it manually. But after this manual stop when I try to refersh Essbase from Hyperion Planning (Administration>Manage Database>Database Refresh) I get the following error:
    +com.hyperion.planning.olap.EssbaseException: Cannot restructure. There are other active users on database [%s] (1013101)+
    I remember having done forced business rule stops earlier in other Hyperion Planning 9.3.1 deployments and they did not generate such errors. So could you help me on how I prevent Hyperion Planning from this error after manual business rule stops because most likely I will have to do them in the future? Thanks very much!

    John, you are right. I erred earlier: I was thinking that I had stopped the business rule, but it still was running. I had not seen this rule running because of lack of permissions for my user name. After adding extra Essbase permissions to my user name in HSS, I was able to see in EAS Console in Ediit>Sessions window that the rule was still running and Hyperion Planning definitely will produce the above error message if one tries to refresh Essbase cube while the rule is still running.

Maybe you are looking for

  • YUV OR VGA FOR EXTERNAL SCREEN

    I want to use an external screen but my VGA input of the external screen is already busy by another computer, so guys tell me if YUV is as good in terms of quality audio/video than VGA ?

  • Database Restore from COLD Backup

    Dear all, I .m trying to restore a production database from a COLD backup. Before the COLD BAckup, we have take a HOT backup as usual and then shutdown the database to perform the Cold Backup. After restirong all the oracle files and arch redo log, i

  • HT201413 Incomplete songs

    I have just purchased a complete album, it shows to have been downloaded but the songs only play about 1 minute then jumps to the next song.

  • Windows client for ARD?

    I'm looking in to how to establish a remote desktop connection from Windows to Macs with the stipulation that we not use VNC so I'm wondering if a Windows client for ARD exists. If not, does anyone have a suggestion for doing RDC from Windows to Mac.

  • Playback error

    how can i fix an error where some albums on my ipod nano 7th gen seem to play instantly through each song with less than one second per song? I think it could possibly have some thing to do with gapless playback start times that may have gotten messe