One process flow question

hi
How to abort the running processes using pl/sql or another tools except use workflow minitor?
thx

thx igor
When i exec list_requests.sql,it reports:
AUDIT ID STATUS NAME DATE OWNER
12743 READY Deployment Fri Jun 18-6ÔÂ -04 10:40:3 RTU
17812 READY Deployment Sat Jun 19-6ÔÂ -04 10:45:2 RTU
2 rows selected
AUDIT ID STATUS NAME DATE OWNER
12744 READY Unit0 18-6ÔÂ -04 10:40:3 RTU
17813 READY Unit0 19-6ÔÂ -04 10:45:2 RTU
2 rows selected
AUDIT ID STATUS NAME DATE OWNER
20039 BUSY PROCESS_FLOW:MAP_D 19-6ÔÂ -04 03:14:2 RTU
1 row selected
Then i exec abort_exec_request.sql ,and import the parameter value '20039'.
It reports PL/SQL procedure successfully completed.
But exec list_requests.sql again ,it reports the same as previous.

Similar Messages

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • Process Flow Question

    Oracle 11.1.0.7:
    We currently have various mappings and what we want is in process flow to fork and merge back and only if all those mappings are successfully completed then go further in the process flow. I see that it allows fork for parallel processing but there is no merge. So how do I merge them all back and go to the next step in process flow. Next step of process flow is dependent on successful completion of all the previous mappings. And we want all the previous mappings to be executed in parallel for performance reasons.
    I earlier posted this question on Database General.

    Hi ,
    Just use the "AND" operator in the process flow. Take the success transition from all your mappings to a SINGLE "AND" operator.
    Make the successful transition of all the mappings to go into AND operator. AND operator will make sure that all the mappings are executed and then it will be move ahead processing other activities in your process flow.
    After AND operator you can put a FORK or other mappings or any other objects in your process flow.
    Thanks,
    Sam.

  • Execute process flow question?

    Hello,everybody!
    I design a process flow to load OLAP,but everytime I excute it ,there are errors(for each mapping)as follows:
    starting the task LD_MXCASE:LD_T_TIME
    ora-06550:line 1 colum 40
    PLS-00201: 'AW_MXCASE'must be declared
    ORA-06550: line 1 colum 22
    PL/SQL: Item ignored
    ORA-06550:line 1, colum 83 :
    PLS-00201:'CAROLAP'must be declared
    ORA-06550:line 1, column 65 :
    PL/SQL: Item ignored
    ORA-06550: line 1,column 130:
    PLS-00357: Table,View Or Sequence reference
    'T_TIME' not allowed in this context
    ORA-06550: line 1,column 228 :
    PLS-00201: 'AW_T_TIME'must be declared
    ORA-06550:line 1,column 416 :
    PL/SQL: Statement ignored
    finshing the task:LD_MXCASE:LD_T_TIME.
    Please help me how to resovle this prolem!
    Thank you very much.

    If the data is loaded successfully, it should be visible eiher from EOM or from other tools. It is not easy to debug this problem from here, so all I can give you are some hints:
    1. It might be an EOM problem - have you tried viewing the data by using other tools (BI beans, for example)?
    2. It is possible that, even though the load was technically successful, causing no database errors (and no error logs either in RAB or runtime service logs), the loading procedure was incorrect. For example, it is possible that there was a logical error in the loading procedure that loaded 0 rows in the cube (by having a filter condition that erroneously filters out all the rows or an unsuccessful join). Can you check for this? Are the data loaded successfully in your relational cube in the first place?
    Regards:
    Igor

  • What is the OMB+ script to apply a schedule to one process flow?

    Let's say process flow name : 'MY_PRLCESSFLOW'
    schedule name:'MY_SCHEDULE'
    so what is the script?
    thanks so much.

    http://blogs.oracle.com/warehousebuilder/2007/07/more_process_flow_basics_for_l.html
    OMBALTER PROCESS_FLOW_MODULE
    Purpose
    Alter the Process Flow Module by renaming it, and/or reset its properties.
    Prerequisites
    Should be in the context of a project.
    Syntax
    alterProcessFlowModuleCommand =  OMBALTER ( PROCESS_FLOW_MODULE
         "QUOTED_STRING" ( "renameClause" [ "alterPropertiesOrReferenceClause"
         ] | "alterPropertiesOrReferenceClause" ) )
    renameClause =  RENAME TO "QUOTED_STRING"
    alterPropertiesOrReferenceClause =  SET ( "setPropertiesClause" [ SET
         "setReferenceClause" [ UNSET "unsetReferenceClause" ] | UNSET
         "unsetReferenceClause" [ SET "setReferenceClause" ] ] |
         "setReferenceClause" [ UNSET "unsetReferenceClause" ] ) | UNSET
         "unsetReferenceClause" [ SET "setReferenceClause" ]
    setPropertiesClause =  PROPERTIES "(" "propertyNameList" ")" VALUES "("
         "propertyValueList" ")"
    setReferenceClause =  ( "setReferenceLocationClause" [ SET
         "setReferenceIconSetClause" ] | "setReferenceIconSetClause" )
    unsetReferenceClause =  ( "unsetReferenceLocationClause" [ UNSET
         "unsetReferenceIconSetClause" ] | "unsetReferenceIconSetClause" )
    propertyNameList =  "UNQUOTED_STRING" { "," "UNQUOTED_STRING" }
    propertyValueList =  "propertyValue" { "," "propertyValue" }
    setReferenceLocationClause =  ( REFERENCE | REF ) LOCATION "QUOTED_STRING"
    setReferenceIconSetClause =  ( REFERENCE | REF ) ICONSET "QUOTED_STRING"
    unsetReferenceLocationClause =  ( REFERENCE | REF ) LOCATION
         "QUOTED_STRING"
    unsetReferenceIconSetClause =  ( REFERENCE | REF ) ICONSET
    propertyValue =  ( "QUOTED_STRING" | "INTEGER_LITERAL" |
         "FLOATING_POINT_LITERAL" )
    Keywords And Parameters
    alterProcessFlowModuleCommand
    This command modifies an existing process flow module.
    renameClause
    Rename an existing process flow module.
    setPropertiesClause
    Set values of properties of a process flow module.
    Base properties for PROCESS_FLOW_MODULE:
    Name: BUSINESS_NAME
    Type: STRING(200)
    Valid Values: N/A
    Default: NAME
    Business name of a Process Flow Module
    Name: DESCRIPTION
    Type: STRING(4000)
    Valid Values: N/A
    Default: ''
    Description of a Process Flow Module
    propertyNameList
    Comma-delimited list of property names. Property names are not in
    quotation marks.
    propertyValueList
    Comma separated list of property values.
    setReferenceLocationClause
    Set a location to a supported workflow engine.
    unsetReferenceLocationClause
    Unset the location of the process flow module.
    propertyValue
    Value of a property.
    Examples
    OMBALTER PROCESS_FLOW_MODULE 'process_module' RENAME TO 'p_module' SET
    PROPERTIES (DESCRIPTION, BUSINESS_NAME) VALUES ('This becomes a process
    flow module.', 'process module')
    This will rename the Process Flow Module "process_module" to "p_module",
    and set its description to "This becomes a process flow module", set its
    business name to "process module".
    See Also
    OMBALTER, OMBCREATE PROCESS_FLOW_MODULE, OMBDROP PROCESS_FLOW_MODULE

  • Business Process Flows Question

    In BPF's is it possible to stop a user from moving on to another step in the BPF's process? 
    The idea we had in mind was creating a stat account to capture a variance between two accounts.  If the variance was greater than 1 for instance, it won't allow a user to continue or move past a particular BPF step.
    I'm not aware of any way to force this, but I'm hoping someone has a solution or can confirm this for me.
    Thanks,
    Mike

    Yes, completion criteria can be set for any BPF step (and not sub-step).
    The criteria must then tie in with the work status (unlocked / submitted / approved / etc) that you've set up for an application. In order to complete the BPF step, the user must first change the work status to the level you indicate in the BPF.
    BPF Admin console -> Define steps and sub-steps -> after you create a step, then modify it. One of the properties is completion criteria.

  • OWB Process Flow - How is the best  version control tool ??

    HI all,
    I just start work with OWB and I have a question to know how is the best way to do something.
    Imagine the scenario below:
    If I have 2 or more requests for example:
    Request 1: Create a Dimension City.
    Request 2: Create a Dimension Products.
    I Have ONE process flow and i need put my changes inside. This is my problem.
    In my scenario I don't know what Request goes to Prod First.
    If I put the Request 1 and Request 2 in my PROCESS FLOW, maybe I need change is someone decide change MY REQUEST PRIORITY.
    There is something in OWB to "control the version or changes" ?? For a mapping I export the MDL and commit on SVN, but I dont know haw can i do with the process flow.
    Something to agree multiples peoples work in different mappings and a SAME PROCESS FLOW ??
    What is best way to work with process flow and version control.
    What are the best practices when it comes to version control?
    Thanks.

    Amit,
    Are you really doing this in 10.1.3.x and not 11g?
    At any rate, I don't see how #2 and #3 relate whatsoever to your choice of a version control system. OK, maybe in #2 if there is some "maintenance" activity to be done against the version control server. Subversion is the open source alternative that you listed there and is pretty commonly used. If your company is already using one of the mentioned tools, why change? About the only thing I'd mention is to advise you NOT to use CVS for well documented reasons (JDev does support it) - if you would have picked CVS otherwise, choose Subversion. As far as question #1 - I've only used Subversion (well, I did use CVS for a while) with JDeveloper, so I can say it was "effective enough for me." In 10.1.3.x, I also used the external svn tools for doing lots of things like merging and so forth; in 11g, the support is much much better.
    Best,
    John

  • How to chage the logical Name of a Process flow?

    Hi,
    While I am creating process flows, some times, I do copy of one process flow its creating copy_of_pf1 ( for the process flow pf1) and I am doing necerrary changes and updating the process flow name.
    But in the backend, its maitining Physical name as the name which we have given ( which is visible in OWB) and the loical name is still Copy_of_pf1. Its not updating as with physical name. Is there any way to update this.
    Any help would be greatly appreciated.
    Thank you,
    Regards,
    Gowtham Sen.

    Also (without changing the naming mode...)....
    If you click on any object in the main tree and select properties, the Translations tab will also have the business name for the object and any sub-object - for the languages you have installed.
    This is useful for example for setting the business names for a dimension and its levels, hierarchies and attributes - you can set the names all from one panel, albeit hidden in the translations panel!
    Cheers
    David

  • Process Flow Design

    I'm looking for some guidance on a Process Flow Design.
    Background -
    I'm trying to develop a process, using OWB, to load 400+ tables into an ODS (external tables -> DB tables).
    Can this be achieved in one process flow or do I need to create multiple process flows (smaller chuncks) or 400+ process flows?
    Does any good documentation exist on this subject?
    Thanks
    Mike

    Hi,
    The .bat file looks something like this:
    rem echo OFF
    set ORACLE_HOME=c:\Oracle\ora10G1.0
    set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    sqlplus.exe owbrt9204/owbrt9204@db @F:\BI_FlowScripts\run_process1.sql
    There is one .sql flie associated with eac .bat file:
    spool c:\BI_FlowScripts\Log\run_process1.log
    variable ret_stat number;
    DECLARE
    REPOS_SCHEMA VARCHAR2(200);
    LOCATION_NAME VARCHAR2(200);
    TASK_TYPE VARCHAR2(200);
    TASK_NAME VARCHAR2(200);
    SYSTEM_PARAMS VARCHAR2(200);
    CUSTOM_PARAMS VARCHAR2(200);
    OEM_FRIENDLY NUMBER;
    BEGIN
    REPOS_SCHEMA := 'OWBRT9204';
    LOCATION_NAME := 'BI_LOC_WORKFLOWS';
    TASK_TYPE := 'PROCESS';
    TASK_NAME := 'PROCESS1';
    SYSTEM_PARAMS := ',';
    CUSTOM_PARAMS := ',';
    OEM_FRIENDLY := 0;
    :ret_stat := PKG_RUN_REMOTE.RUN_JOB ( REPOS_SCHEMA, LOCATION_NAME, TASK_TYPE, TASK_NAME, SYSTEM_PARAMS, CUSTOM_PARAMS, OEM_FRIENDLY );
    COMMIT;
    END;
    print :ret_stat;
    exit :ret_stat;
    The function RUN_JOB in the package PKG_RUN_REMOTE is the sqlplus_exec_template rewritten as a function which returns the job status (resides in the runtime schema).
    We implemented this for OWB 9.0.4, and haven't really looked at it since, so there may be an easier way to do this in the latest version that I'm not aware of.
    Roald

  • Handling transaction in process flow

    Hi All,
    I had created one process flow which has 3 mappings in it. I want that, if any mapping fails due to any reason, any insertion or updation made by previous mappings should get rollbacked. I had pointed each mapping to END_ERROR as well as END_SUCCESS components, stating that If any error comes the goto END_ERROR, but I don't know how do I make sure that all 3 mappings act as an individual entity so that all should get rollback when any one mapping fails.
    Thanks,
    Danish
    Message was edited by:
    Danish

    Hi, Danish. Have you done it ? Would you help me on that?
    I copied the sample code to the SCRIPT parameter of a sqlplus activity from OWB documentation:
    "declare status varchar2(30);begin map1.main(status); if status!='OK' then rollback else map2.main(status); if status!='OK' then rollback; else commit; end if; end if;end if;"
    and substitued "map1" and "map2" with my mapping names.
    Also, I appended "exit" to the code, but the job always hangs and does nothing. The two mappings were configured to commit manually.
    Non-PL/SQL scripts work pretty well for me. And, honestly and shamefully, I have no knowledge of PL/SQL.
    Thank you.

  • Process Flow - Email

    Hi!
    I need some assistance regarding my email process flow.
    Lets say I have process flows. One process flow runs a single mapping . If it ends in error it launchas another process flow.
    This other process flow is my email process flow. Its just a process flow(killing my self writing process flow) which just sends out an email.
    So if my 1st PF is failed, I get an email.
    What Im trying to do now is use global variables. So I have a varible in my PF1 with value = Error in PF1. And I now want to bind this variable to my EMAIL variable in my EMAIL PF.
    This means, if PF1 Error = Send this varible into PF2.
    I have tried using IN/OUT parameters, trying to bind variables.. But I cannot get to to bind my EMAIL variable to my PF1 variable.
    Any sugg?
    Cheers

    If PF1 and PF2 are sub-process flows of e.g. PF3, then it should be possible to just use the variable i.e. on the START operator of PF2 you can define a Process Flow Parameter (IN), it should then be possible to bind the Variable to the parameter of PF2.
    Sounds like you're nearly there from what you've tried.
    Si

  • Process Flow with Status Busy

    Hello
    In Warehouse Builder Browser I have one Process Flow with Status Busy. I have restarded the whole server and status is still Busy.
    Through Oracle Workflow I try to Find Active Processes and there just is no one.
    Why is my Process Flow still Busy and how do I stop it? (Maybe the there is an error in Warehouse Builder Browser, it is not busy?)
    Best regards,
    Tina

    Just logout and login into Warehouse Builder Browser again. It is not busy any more ;-).
    /Tina

  • How to check mappings execution time in Process flow

    Hi All,
    We created one process flow and scheduled it. It is successfully completed after 30 Minutes.
    Process flows contains 3 mappings, First mapping complete sucessfully, Second mapping will start, after completing successfully second mapping. Third mapping will start and complete sucessfully. Success emails will generate.
    I would like to know which mapping is taking long time execution.
    Could you please suggest how can we find which mapping is taking long time execution.
    I dont like to run each mapping indiviual and see the execution time.
    Regards,
    Ava.

    Execute the below query in OWB owner or User schema
    In place of '11111' give the execution id from control center.
    select Map_run.NUMBER_RECORDS_INSERTED,
    map_run.NUMBER_RECORDS_MERGED ,
    map_run.NUMBER_RECORDS_UPDATED ,exe.execution_audit_id, Exe.ELAPSE_TIME,exe.EXECUTION_NAME,exe.EXECUTION_AUDIT_STATUS,map_run.MAP_NAME
      from ALL_RT_AUDIT_MAP_RUNS Map_run,ALL_RT_AUDIT_EXECUTIONS Exe
    where   exe.EXECUTION_AUDIT_ID=map_run.EXECUTION_AUDIT_ID(+)
            and exe.execution_audit_id > '11111'
            order by  exe.execution_audit_id descCheers
    Nawneet
    Edited by: Nawneet on Feb 22, 2010 4:26 AM

  • Issue when generating XPDL from process flows

    I have a process flow which has the following architecture.
    It begins with a Start activity called “START1”. START1 has two parameters P_MESSAGE_TYPE and P_MESSAGE_ID. These parameters are populated from values provided by an external process. From START1 an unconditional transition goes to a ROUTE activity. Leaving the ROUTE activity are 18 conditional transitions and 1 unconditional transition.
    The 18 conditional transitions each perform a test on the parameter value supplied in P_MESSAGE_TYPE. The value supplied is checked against a string value (they all check for different values, e.g. 'referenceEngineeringInstructionRecordExtract'). The 1 unconditional transition provides an “emergency exit” should something come through that does not match any of the 18 conditions.
    If there is a match against one of the 18 conditions then that particular transition is followed and a sub-process on the end of that transition is executed. Flow then continues from that sub-process on to an OR operator (which brings together the exit transitions from all 18 of these sub-processes) before the flow ends with the ususal Success, Error and Warning activities.
    Here is the problem. When I build this process flow from scratch it generate out the XPDL it works fine. The XPDL generated around some of the conditional transitions looks like this:
    <Transition Id="TRANSITION_4" From="MESSAGE_TYPE_ROUTER" To="R_EI_PART_CHANGE">
    <Condition Type="CONDITION">
    <Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'</Xpression>
    </Condition>
    </Transition>
    <Transition Id="TRANSITION_5" From="MESSAGE_TYPE_ROUTER" To="R_ENGINEERING_INSTRUCTION">
    <Condition Type="CONDITION">
    <Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionRecordExtract'</Xpression>
    </Condition>
    </Transition>
    <Transition Id="TRANSITION_6" From="MESSAGE_TYPE_ROUTER" To="R_FATIGUE">
    <Condition Type="CONDITION">
    <Xpression>"P_MESSAGE_TYPE" ='referenceFatigueParameterRecordExtract'</Xpression>
    </Condition>
    </Transition>
    Here the complex condition in the transitions can be seen as, for example, *"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'* which appears in the process flow editor in the form *"START1"."P_MESSAGE_TYPE"='referenceEngineeringInstructionPartChangeRecordExtract'*
    and these are all consistent throughout, i.e. every transition in thn process flow editor shows the “START1” which then seems to get stripped off during the XPDL generation.
    Now, if I make a change to the flow (e.g. remove a sub-process or add a new sub-process) and regenerate the XPDL what usually gets generated is of this form:
    <Transition Id="TRANSITION_4" From="MESSAGE_TYPE_ROUTER" To="R_EI_PART_CHANGE">
    <Condition Type="CONDITION">
    <Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'</Xpression>
    </Condition>
    </Transition>
    <Transition Id="TRANSITION_5" From="MESSAGE_TYPE_ROUTER" To="R_ENGINEERING_INSTRUCTION">
    <Condition Type="CONDITION">
    <Xpression>"START1"."P_MESSAGE_TYPE" ='referenceEngineeringInstructionRecordExtract'</Xpression>
    </Condition>
    </Transition>
    <Transition Id="TRANSITION_6" From="MESSAGE_TYPE_ROUTER" To="R_FATIGUE">
    <Condition Type="CONDITION">
    <Xpression>"P_MESSAGE_TYPE" ='referenceFatigueParameterRecordExtract'</Xpression>
    </Condition>
    </Transition>     
    What can be seen here is that for some reason the generator has kept the “START1” context of P_MESSAGE_TYPE in the test for referenceEngineeringInstructionRecordExtract (and for two others that I haven't included) but not for the remaining 15 which appear as normal. This results in code that falls over at runtime. I haven't touched these conditional transitions between edits. They are uniquely sequenced and the process flow validates successfully.
    Has anyone else seen this issue before? I can’t find any reference to it either in MetaLink or in the forums.
    Edited by: AndrewD on Jul 3, 2009 1:57 PM

    Hi David,
    Thanks for the reply. The client version is 10.2.0.2.8 on a 10.2.0.2 repository. I suspect that it is something internally buggy. I have since found other issues - like I open up one process flow and choose the "Generate" option from the menu, whereupon it generates the XPDL for the last process I opened and not the current one...seems like there are several issues in this area.
    Andrew

  • Error While executing Process Flow

    Hello All,
    We created one process flow it contins 14 mappings in sequence to execute...7th mapping is getting failed with the below errors:
    CursorFetchMapTerminationRTV20007 MAP_FRPDTA_F4801LA
    Warning
    ORA-01002: fetch out of sequence
    ORA-02063: preceding line from FRPDTA MAP_FRPDTA_F4801LA
    Warning
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    *[IBM][iSeries Access ODBC Driver][DB2 UDB]SQL0913 - Row or object F4801LA in FRPDTA type FILE in use.
    ORA-02063: preceding 2 lines from FRPDTA
    Kindly suggest how can we resolve this issue...
    Regards,
    Ava

    Hi
    Worth posting to Database Gateway forum
    Heterogeneous Connectivity
    Cheers
    David

Maybe you are looking for

  • Since i downloaded Ios 6.0 every app crashes, even the original apps

    Hi there, I have an Iphone 4, and since the update of IOS 6.0 i'm having problems with ALL my apps, even the apps from Apple. Cause there crashing after i started them, most of the time they are up for like 3 min. And after that, black screen back to

  • JEditorPane

    I am trying to show a JSP page inside my Java Swing application. The JSP Page is working fine, when accessed through the normal browsers. I am accessing it on my application, through JEditorPane. I am passing its URL as string to the constructor of t

  • Using WRT300N router but would like to connect to a Wired network about 200 ft away

    I have a wirelessnetwork using WRT300N router but would like to connect to a Wired network about 200 ft away Can you tell me what I should buy to make it work ? Thank you

  • Does Boot Camp or Virtual PC support firewire for camera input?

    I have found Parallels does not have a camera firewire driver. Has anyone found another solution in Windows XP? MacBook Pro   Mac OS X (10.4.8)  

  • Samsung monitor shows black bars on sides

    I'm running OS 10.8.2 on a mid-2012 MacBook Pro, and I recently bought a Samsung Syncmaster SA300 (22 inch) monitor which I've connected using a VGA cable (DVI wasn't working, don't know why). I immediately noticed black bars on the sides of the scre