Headstart Business Rule Design Xformer utility
When using the Headstart Business Rule Design Transformer to generate Business Rules, the table is required to be checked out. In previous releases, we have been told that an automatic check-out is performed on the table(s), but ours forces us to manually check-out the table definition, or it does not continue. We think we have the user settings done correctly, but there may be something that we have missed. How can we get Headstart to automatically check-out the table(s) for which we want to run the Business Rules design transformer? Or is this a bug in the current release? We are using Headstart release v6.5.2.3 (HSU_BRTR). Thanks.
Tim,
Headstart should be able to check out any tables you need.
We think we have the user settings
done correctly, but there may be something that we
have missed. How can we get Headstart to
automatically check-out the table(s) for which we
want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
- Under 'Process the following objects', choose 'Checked out by anyone'
- Also check the check box '... also Checked In objects'
- Choose whether you want to automatically check out with or without lock
If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
Hope this helps,
Sandra Muller
Similar Messages
-
Problem using "Create Business Rule Design Definition" utility
Hi everyone,
I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors :
Errors
Message
Combination of Message Prefix and Message Number (SGM-ENG) does not match format AAA-NNNNN.
Activity aborted with ORACLE internal errors.
-1400 ORA-01400: cannot insert NULL into ("HST50"."QMS_MESSAGE_TEXT"."LANGUAGE")
I suppose that the utility concatenate the message prefix and the language to build the error message.
Our Oracle Designer version is 6.0.3.9.0, Headstart 2.1.2 with patch 12.4 and Developper is 6.0.5.35.3
Any patch available?
Regards,
Jerome CoutureTim,
Headstart should be able to check out any tables you need.
We think we have the user settings
done correctly, but there may be something that we
have missed. How can we get Headstart to
automatically check-out the table(s) for which we
want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
- Under 'Process the following objects', choose 'Checked out by anyone'
- Also check the check box '... also Checked In objects'
- Choose whether you want to automatically check out with or without lock
If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
Hope this helps,
Sandra Muller -
Business Rule Design Transformer fails with ORA-00001
I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
Exact error message: "Activity aborted with ORACLE internal errors.
-1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
If someone has any clue about this I would be very grateful
Cheers,
DimceJan,
The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
Dimce -
Headstart Business Rule IN parameter changes value
I've created a Business Rule (CEV rule � triggered by create) with following code:
IN parameters: p_datum_van, p_cat and p_prest
cursor c_cap is select datum_tot
from cew_cat_prest
where . . .
and p_datum_van between datum_van and datum_tot
and datum_tot is not null;
l_datum_tot cew_cat_prest.datum_tot%type;
begin
dbms_output.put_line('BR5 p_datum_van '||p_datum_van);
open c_cap;
fetch c_cap into l_datum_tot;
if c_cap%found then
dbms_output.put_line('BR5 eerste controle p_datum_van '||p_datum_van);
update cew_cat_prest
set datum_tot = p_datum_van - 1
where cat = p_cat
and prest = p_prest
and datum_tot = l_datum_tot;
dbms_output.put_line('BR5 tweede controle p_datum_van '||p_datum_van);
update cew_cat_prest
set datum_tot = l_datum_tot
where cat = p_cat
and prest = p_prest
and datum_van = p_datum_van;
dbms_output.put_line('BR5 derde controle p_datum_van '||p_datum_van);
The updates are not executed correctly since p_datum_van changes !!!
Eerste controle: p_datum is correct
Tweede controle: p_datum has changed its value
What we do:
Record 1: van (from) 01/01/2003 tot (to) 31/01/2003
Record 2: van 01/02/2003 tot <null>
Add new record: van 15/01/2003
What we want:
Record 1: van 01/01/2003 tot 14/01/2003
Record 3: van 15/01/2003 tot 31/01/2003
Record 2: van 01/02/2003 tot <null>
Eerste controle: parameter p_datum_van = 15/01/2003
Tweede controle: parameter p_datum_van = 01/01/2003
Remark: if we use the TAPI procedure ups instead of updates, we have the same problem
How is it possible that an IN parameter changes its value during execution of a procedure ???Tim,
Headstart should be able to check out any tables you need.
We think we have the user settings
done correctly, but there may be something that we
have missed. How can we get Headstart to
automatically check-out the table(s) for which we
want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
- Under 'Process the following objects', choose 'Checked out by anyone'
- Also check the check box '... also Checked In objects'
- Choose whether you want to automatically check out with or without lock
If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
Hope this helps,
Sandra Muller -
Why not allow Business Rule Design Transformer to overwrite existing BRDDs
Hi,
It can be quite annoying during development to continually having to remove the BRDD Trigger and PL/SQL Definition when running the BR Design Transformer reveals missing information in the BR Analysis definition. It seems that it would be practical to have at least the option to have the Business Rule Design Transformer overwrite an existing Business Rule Design Definition.
You could think of an additional parameter in this utilily labeled "Overwrite existing BRDD?" with allowable values Y(es) and N(o) with No as default (so that the default functionality is the same as before).
Below you find the code that can be added to the HSU_BRTR package to realize such a functional improvement. Maybe you can consider it for a next release...?!
best regards,
Lucas Jellema
AMIS Services BV
code to add to HSU_BRTR to provide a parameter that allows the user to specify whether or not the HSU_BRTR is allowed to overwrite an existing BRDD:
in the revision history:
09-jan-2003 Lucas Jellema
6.5.2.3AMIS1.1 Added new parameter and supporting code that allows user to indicate
whether existing Business Rule Design Definitions may be/should be overwritten
at the end of procedure install
hsu_install.add_parameter
( PACKAGE_NAME -- package name
, 40 -- sequence
, 'Overwrite existing BRDDs?' -- prompt
, 'N' -- default value actual
, 'No' -- default value displayed
, 'Y' -- mandatory
, 'N' -- allow multi-select
, 'N' -- include shared elements
, '' -- element type short name
, '' -- sql expression actual
, '' -- sql expression displayed
, null -- where clause
, null -- synchronize with
, null -- foreign key column
, -- help text
'Choose whether you want this utility to overwrite existing Business Rule Design Definitions.'
hsu_install.add_allowable_value
( PACKAGE_NAME -- package name
, 40 -- parameter
, 1 -- sequence
, 'Y' -- actual value
, 'Yes' -- displayed value
hsu_install.add_allowable_value
( PACKAGE_NAME -- package name
, 40 -- parameter
, 2 -- sequence
, 'N' -- actual value
, 'No' -- displayed value
--------6.5.2.3AMIS1.1
Just before procedure transform_stage2
procedure delete_brdds
( p_tbl_id in ci_table_definitions.id%type
, p_br_name in varchar2
-- Purpose Delete existing Business Rule Design Definition
-- Usage from run procedure
-- Remarks Find PL/SQl Module Definition based on Business Rule Label
is
cursor c_brdd
( b_tbl_id in ci_table_definitions.id%type
, b_br_name in varchar2
is
select trg.id trg_id
, trg.name name
, plm.id plm_id
from ci_database_triggers trg
, ci_plsql_modules plm
where trg.table_definition_reference = b_tbl_id
and trg.plsql_module_reference = plm.id
and plm.name = b_br_name
begin
-- loop over journalling busrules of this application
<<brdd>>
for r_brdd in c_brdd(p_tbl_id, p_br_name) loop
-- delete busrule (delete of trigger is since 6i not enough anymore, so
-- explicitly delete PL/SQL module also)
bllog.write
( 'Deleting trigger '||r_brdd.name||' and PL/SQL module '
||hsu_name.get_name_and_path(r_brdd.plm_id)
||', a new business rule design definition overwrites this old one.'
, bllog.information
bltrg.del(r_brdd.trg_id);
blplm.del(r_brdd.plm_id);
end loop brdd;
end delete_brdds;
inside procedure transform_stage2
(just before the comment: -- check if BRDD with this plm_name already exists)
if p_overwrite_br = 'Y'
then
delete_brdds
( p_tbl_id => g_trg_tbl(i).tbl_id
, p_br_name => l_plm_name
end if; -- find_trg and overwrite =Y
A new parameter in procedure transform_br_fun
procedure transform_br_fun
, p_overwrite_br in varchar2 default 'N' -- 6.5.2.3AMIS1.1
use the parameter p_overwrite_br in the call to transform_stage2
transform_stage2
( p_fun_id => p_fun_id
, p_fun_label => r_fun.fun_function_label
, p_fun_short_definition => r_fun.fun_short_definition
, p_msg_prefix => p_msg_prefix
, p_msg_language => p_msg_language
, p_rule_type => l_rule_type
, p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1
new parameter p_overwrite_br in the procedure run
NOTE: in both PACKAGE SPECIFICATION and BODY
, p_overwrite_br in varchar2 default'N' -- 6.5.2.3AMIS1.1
use the parameter p_overwrite_br in all calls to transform_br_fun inside procedure run
transform_br_fun
( p_fun_id => r_fun_tree.id
, p_msg_prefix => p_msg_prefix
, p_msg_language => p_msg_language
, p_create_att_usages => p_create_att_usages
, p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.
-
ORA-06502 in Business Rule Design Transformer
For a specific business rule we got the following error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small. It appears that it is caused by a long entity relation name. See the detailed logging below. Bij reducing the length of the entity relation name involved the utility worked file.
Relationship: afstand rechtsmiddel gedaan bij namens verdachte door is included as Usage for entity: GGRL/ RELATIE
Relend usage is found with name: technisch ttz gevoegd bij and id: 1497077058224033627321119385618562861
Relationship: TECHNISCH TTZ GEVOEGD BIJ->STRAFZAAK is not found to be part of AFSTAND RECHTSMIDDEL GEDAAN BIJ NAMENS VERDACHTE DOOR->RELATIE
Triggering event UPDATE UITSPRAAK.AFSTAND RECHTSMIDDEL G0 found.
bltext.get_lines_from_repository, p_text_type=CDIDSC
bltext.get_line_containing
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too smallJan,
The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
Dimce -
LCM Business Rules Export using Utility.bat
Hi All,
Wondering if anyone has any tips on using Utility.bat to export business rules. I've defined a migration for business rules but it only exports one Business Rule to xml. When executing the same migration definition from Shared Services, the business rules get exported to XML fine.
We're running Planning 11.1.2.1.600.2.
Thanks,
RyanHello Ryan,
Want to Export BR of ESSBASE (or) from Calc manager .
If Calc manager then first select all the Calc manager related artifacts through migration definition, after you get the export XML file ,Create a import migration XML file .
Now try to use Utility.cmd and place the files in Utility.cmd folder only and import all calc rules . -
Error creating 'Journalling Business Rules'
When running 'Maintain Journalling Business Rules' for a table with 19 columns an EMPTY 'BR_xxx_JRN_DEL' trigger is created , hence the CAPI definition fails.
If I add 1 more column to make it 20 columns the 'BR_xxx_JRN_DEL' and the CAPI are both generating correctly.
Has anyone else found this ?????Sandra,
Ok we have the modified version of hsd and we still have similar problem. Here is the detailed log
Log Messages
Utility Maintain Journalling Business Rules
Revision 6.5.3.2
Parameters
Prompt Value
Table to be Journalled app/ my table
Errors
Message
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Debug Detailed
Message
BLAPI.OPEN_ACTIVITY
Number of Tables to create/delete Journalling Rules for: 1
Business Rule Design Definition for BR_xxx_JRN_UPD
No Update Trigger Columns specified. Business Rule BR_xxx_JRN_UPD will fire when any column is updated.
end of initial_checks
Create/maintain message with constraint_name = HRS_BR_xxx_JRN_UPD
Message QMS-00151 already exists in Headstart message tables, no new message was created.
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
and this is the piece of code from bltext
-- 6.5.2.3 changed if condition
-- if length(l_text_lines(l_ctr + 1))+ 2 + length(l_build_string) > 1990
if length(replace(l_text_lines(l_ctr + 1), chr(10), NL_CR)||NL_CR)
+
length(l_build_string) > 2000
then
exit;
end if;
end loop; -- compose 1 build string
-- 6.5.2.3 changed if condition
-- if nvl(length(l_build_string),'') > 0
if nvl(length(l_build_string),0) > 0
then
-- 6.5.0.1 column element_type_for added.
insert into cdi_text
( txt_ref
, txt_seq
, txt_type
, txt_text
, element_type_for
values
( p_el_id
, l_insert_at_seq
, p_text_type
, l_build_string
, p_el_type
end if; -- nvl(length(l_build_string),'') > 0
if l_ctr >= p_text_counter
then
exit;
else
l_build_string:= '';
l_insert_at_seq:= l_insert_at_seq + 1;
end if; -- l_ctr = p_text_counter
end loop; -- (maximum) over all lines in local text-store
end if; -- l_lock
exception
when others
then
bllog.write
('Exception: '||sqlerrm
, bllog.debug
bllog.write
(' Length Buildstring '||to_char(length(l_build_string))
, bllog.debug
bllog.write
(' Line number '||to_char(l_insert_at_seq)||' Text type = '||p_text_type
, bllog.debug
bllog.write
( 'Exception; Note that the text for this element may have been corrupted.'
, bllog.errors
end write_lines_to_repository; -
Can not run the Business rules with Hyperion Business Rules Desinger
<p>I created a business rules with Business Rules Designer,and validate is ok, but when I run it, pop a blank window withtitle "Run Error", how to solve it ?</p><p> </p><p>Thanks</p>
I would export the rule to essbase and test it there. I should run and the log will tell you something. I would also look at the business rules log to see what it says. <BR><BR>
-
Planning Admin or users cant see Business Rule
Hi - When I log onto Planning with the 'owner' id, I am able to see all the Business Rules associated with that cube. But when I log in with an ID that has Administrator permissions for that Planning application, I'm not able to view any of the Business Rules. I am able to see all the calc scripts associated with that cube.
I have created a group in Essbase with permissions to that cube and have calc access. then I log onto Business Rules designer and assigned my Rules to that group, but I'm still missing some permission somewhere and I can't figure it out.
Planning 3.5.1
Essbase 7.0
Thanks.Something else I have noticed, when I create a form in Planning using the 'owner' id and then associate Business Rules with it. Then I log in with Planning Administrator permissions and go into that form to in 'enter data' mode, I dont see that 'Launch Rules' button to select the rules to run on that web form.
-
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.
-
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 -
Java.util.ConcurrentModificationException when mapping the business rule?
Hi,
In our project there are two BP's.One is Main BP and other one is Sub BP.I would invoke the SubBP from Main BP.So Inside main Bp there is a JCD component and output of this component would be input of Sub BP.The main BP will be
Start=====>JCD===>SubBP===>End.
So when I add business rule between JCD and SubBP and Save,I am getting java.util.ConcurrentModificationException...But the mapping are seems like fine..
Please update me if any of you knows the solution.
Thanks,
Renga.S.Did not include the full stack trace, here it is:
ava.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at com.sun.deploy.security.WIExplorerCertStore.getCertificates(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
Designer TAPIs, business rules, and journalling
Is it possible to create table APIs, as with Designer, when using either SQL Developer or the Data Modeler?
If not, is the practice of encapsulating tables considered redundant and do you have any suggestions as to where business rules should be placed (assuming we're not placing them all in an ADF middle tier)?
I also noticed a previous post stating that the creation of journal tables, again as in Designer, was not possible with SQL Developer / Data Modeler. Are there any plans to add this very useful functionality?
Thanks,
DavidMaybe this project will be helpful.
http://code.google.com/p/tapig/
Table API Extension for Oracle SQL Developer
Regards -
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 muchTry 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
Maybe you are looking for
-
How do you know if your CLONE is current?
i am using carbon copy cloner and when i plug in an external hard drive it runs a backup. i would like to make sure that the backup is /current/ and right now short of looking for a file that is new on my hard drive and then finding the same file on
-
Dear friends, I am having a difficult time to transfer(or say export) data of the tables in oracle to anther system (eg. saved as a flat table, can be opened using notepad, etc.). I would very appraciate if someone can tell me how to do it. Thanks fo
-
Hello Experts, When updating existing vendor master data, I've got error message invalid down payment account... I have searched through forum but can't find the solution. I appreciate your answer. John
-
JavaScript SaveAs: Acrobat Pro vs. Reader
Hi Guys, My Privilaged / Protetected JavaScript SaveAs function works perfectly in AcrobatPro. The problem is that it will start to run in Reader, but the SaveAs won't execute. Ideas?
-
maryke900 wrote: After wipe blackberry saving mode gone and device analyzer Hi maryke900 Welcome to BlackBerry Support Forums Battery saving mode and BlackBerry device analyzer is a part of the core OS . If you're unable to locate those application t