Complex condition in process flow transition

From a mapping i have three outgoing transitions:
1: "KM_UTIL_PKG"."GETTESTMODE"() = 0
2: "KM_UTIL_PKG"."GETTESTMODE"() = 1
3: unconditional
the process flow validates ok, deploys ok but when it is executed the error message is :
ORA-06550: line 1, column 1085: PLS-00201: identifier 'KM_UTIL_PKG.GETTESTMODE' must be declared ORA-06550: line 1, column 1058: PL/SQL: Statement ignored.
Although the function is there.
What am i doing wrong ?. Has anyone an example of the expected syntax in the transition condition editor > complex condition window ?
Ron

Try giving just = 0 and = 1 without the function call, as the function call is already appended in the where clause.
For example I was able to make it work by just giving IS NULL and IS NOT NULL.
Also there is VALIDATE button within the window where we give the complex condition. Try to validate the condition there itself.
Best,
Manohar

Similar Messages

  • Set complex condition of process flow transition by OMB skript

    Hi,
    i would like to set a complex condition for a process flow transition with OMB+.
    If i use:
    OMBALTER PROCESS_FLOW 'somename' ADD TRANSITION 'yyy' FROM ACTIVITY 'a' to 'b' SET PROPERTIES (TRANSITION_CONDITION) VALUES ('some complex condition')
    the skript sets the condition but the radiobutton within the transition condition editor still point to 'Enumerated Condition' and the complex condition editor sheet, where my condition should be printed is empty. But the Object details within the Process editor shows my condition correct.
    We use 11gR1 11.1.0.7.0 (OWB & DB).
    Has anybody a clue if i am able to set the transitioncondition to COMPLEX ? Or is it a bug ?
    Your Help is appreciated, thanks
    Thomas

    Hi Thomas
    You use the property COMPLEX_CONDITION on the activity for complex transition condition expressions.
    Cheers
    David

  • OWB Process Flow - Transition Warinig OR Error - Question

    Hi all,
    I have a question. In a Simple Process Flow I have:
    Start -> Mapping -> Warning -> Email
    -> Erro -> Email
    ->Sucess - End
    Is necessary use 3 Transition ?
    Can I do only 2 Transition like
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    How can I do "Warning OR Error" on a Transition?
    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    Thanks

    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    it exactly what you need
    Edited by: hungsao on Oct 17, 2012 9:10 PM

  • Process Flow Transitions are very slow

    I have a process flow with few activities. All these acttivities are executing some PL/SQL procedures.
    But I have noticed, when I ran the procedd flow it takes more than 5 minutes for eaqch transition. For a example I have two activities called Start_Proc and Calculate_Proc. When Start_Proc finished, next step is Calculate_Proc. NO coinditional transitions inbetween those two.
    But Wen Start_Proc finished it shows Start_Proc1on process monitor and it takes more than 5 minutes to goto Calculate_Procactivity.
    I have removed all codes inside these procedures and put null for testing purpose. So basically now all procedures do nothing and takes lessthan 2 millisecond to execute. Still when I run process flow with 4 steps it takes more than 30 minutes to finish.
    I tried optimizing repositiry option as well. But no luck at all.
    I am using OWB 10.2.x version
    Thanks in advance,
    Edited by: mc**** on 8/12/2010 13:57

    Oleg wrote:
    did you use for deleting data from audit tables truncate_audit_execution_tables script or use supplied with OWB purge_audit_template.sql script?Hi Oleg,
    Actually I used API for that instead of using script as below
    BEGIN
    wb_rt_api_purge.purge_deployment(TO_DATE('2000/01/01','YYYY/MM/DD'),TO_DATE('2010/08/30','YYYY/MM/DD'));
    wb_rt_api_purge.purge_execution(TO_DATE('2000/01/01','YYYY/MM/DD'),TO_DATE('2010/09/01','YYYY/MM/DD'));
    COMMIT;
    END;
    Thanks

  • Process flow lags

    Hi All,
    Can I give a condition in process flow stating that when a mapping is completed with success or completed with warning then continue to next mapping but when It fails with error then to to END_ERROR.? I mean if during success or warning.
    Regards,
    Danish

    Hi,
    1.) put two endings in your workflow: a) End_error, b) end_success
    2.) make a transition from your mapping c) to the next mapping d)
    3.) make a transition from c) to d)
    4.) make a transition from c) to a)
    5.) configure transition from 2.) that this is used when mapping_result=sucess (right mouseclick on transition),
    6.) configure transition from 3.) that this is used when mapping_result=warning,
    7.) configure transition from 4.) that this is used when mapping_result=errror.
    Regards,
    Detlef

  • How deploy a transition using complex condition by OMB+?

    Hello,
    I can’t deploy a process flow package using OMB+
    But, it doesn't work because of a transition with complex condition.
    I will try to explain my problem on the best :
    I am working in OWB 10g R2.
    I developped several process flow of this modele:
    - I have a package module named : PFL_MODULE
    - In this package module, I have created four process flow package :
    PPK_ODS
    PPK_DWH
    PPK_DMT
    PPK_SCH
    In each package I have three or four process flow.
    To deploy it, I use OMB+
    I created this script :
    +# move to apropriate context+
    OMBCC '/$project_name/PFL_MODULE'
    +puts "Current context is [OMBDCC]"+
    +puts ""+
    +# Connect to the default control center+
    +puts "Connect to the default control center"+
    +puts ""+
    +OMBCONNECT CONTROL_CENTER+
    +puts "Deploying workflows :"+
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'PROCESS_FLOW_PACKAGES' \
    ADD ACTION 'PPK_ODS' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE PROCESS_FLOW_PACKAGE 'PPK_ODS' \
    ADD ACTION 'PPK_DWH' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE PROCESS_FLOW_PACKAGE 'PPK_DWH' \
    ADD ACTION 'PPK_DMT' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE PROCESS_FLOW_PACKAGE 'PPK_DMT' \
    ADD ACTION 'PPK_SCH' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE PROCESS_FLOW_PACKAGE 'PPK_SCH' \
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'PROCESS_FLOW_PACKAGES'
    OMBDROP DEPLOYMENT_ACTION_PLAN 'PROCESS_FLOW_PACKAGES'
    +puts [OMBCOMMIT]+
    +puts "Workflows are deployed"+
    when I tested it, everything worked !
    But, recently, I had to modify one of my process flow. This process flow is in PPK_SCH package (and it named PRC_SCH_FULL)
    I had to change a transition using an enumerated condition (SUCCESS, ERROR) by a transition using a complex condition.
    My condition is very simple, I test one of my variable ("PRC_SCH_FULL"."VAR_END" =1)
    When I deploy my new process flow by the control center in OWB it works.
    But, when I deploy it by my script I have an error message :
    *OMB05602 : An unknown Deployment error has occured for Object Type DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for PPK_SCH.*
    I'm sure the problem is in transition because when I put an enumerted condition back, it works again.
    So, How can I do to deploy my process flow package that contains a process flow with complex condition in a transition?
    thank you in advance for any suggestions.
    Jue.
    Edited by: Jue on 20 juil. 2011 05:06

    If I get what you said, then you have 2 enumerated and one complex condition?
    Rules for Valid Transitions
    For a transition to be valid, it must conform to the following rules:
    All activities, apart from START and END, must have at least one incoming transition.
    Only the AND and OR activities can have more than one incoming transition.
    Only a FORK activity can have more than one unconditional outgoing transition.
    A FORK activity can have only unconditional outgoing transitions.
    An activity that has an enumerated set of outcomes must have either an outgoing transition for each possible outcome or an unconditional outgoing transition.
    An activity can have zero or more outgoing complex expression transitions.
    An activity, with an outgoing complex expression transition, must have an unconditional outgoing transition.
    An END_LOOP transition must have only one unconditional transition to its associated FOR_LOOP or WHILE_LOOP activity.
    The transition taken by the exit outcome of a FOR_LOOP or WHILE_LOOP must not connect to an activity that could be carried on as a result of the "loop."

  • Process flow Condition Help

    Thanks in Advance
    I have a process flow like below
    I have Function(out parameter) --> Returning 0 and 1
    I have 2 mappings
    1) Map1
    2) Map2
    What i need is
    If function returns 0 i want to run MAP1
    If function returns 1 i want to run MAP2
    I my process flow what i did is
    Start--> function --> Map1 --> Success
    --> Map2 --> Success
    After Function I added the complex condition(RTN_CODE = 0) for Map1
    I added the complex condition(RTN_CODE = 1) for Map2
    I am getting error VLD-10028: An activity having an outgoing transition with a complex condition must have another unconditional outgoing transition
    If function returns 0 i want to run MAP1

    Hi,
    if you use conditional transitions you need one conditional transitions for each possible condition outcome or one transition without any condition that is used when none of the other conditions is met.
    So you have to handle the case that the return value of your function is neither 0 or 1. Just add a transition without condition an connect it to the "end with errors" operator. This path will never be used if you make sure your function only returns 0 or 1. It is just required to validate the process flow.
    Regards,
    Carsten.

  • Upg 10gr2 to 11gr2, process flow: RPE-01003: An infrastructure condition...

    Hello.
    I am in a bit of a pickle right now after upgrading OWB from 10.2.0.4 to 11.2.0.3, and I'm here requesting a sanity check. Due to the need of a database upgrade, OWB also has to be upgraded and the data warehouse that has been functional and stable for a long time on 10g needs to be migrated to 11g. So this is main deal:
    I just want to migrate all mappings and workflows and run them as before. I do not want to redeploy as that will force an enormous effort to regression test everything.
    So the OWB upgrade went seemingly well. Everything runs as before. The problem started when I tested deployment of a mapping and subsequently
    1. Deployment of a mapping goes well.
    2. Deployment of the process flow goes well.
    3. Deployment of a mapping that is run in a process flow however causes problems when the process flow is executed.
    The deployment goes well. However the mapping fails when I run the process flow with the following error:
    RPE-01003: An infrastructure condition prevented the request from completing: no rows found for select into statement.
    I subsequently sync the mapping in the process flow redeploy the process flow. Now ALL the other mappings in the process flow that have not been redeployed since the upgrade fails with the same error. However the one that failed before is executed correctly. If I redeploy all the other mappings (which can be dozens) it works, but now I'm faced with a serious regression testing period.
    Personally I have a couple of theories that I hope you can debunk or possibly verify.
    1. It might be location oriented. I say that because my locations are a bit... iffy. When I redeploy some mappings in some locations it always insists on redeploying the connector (regardless if I deploy it stand-alone right before), and my location passwords are never "remembered" between sessions.
    2. I do not have specific knowledge about how workflows are generated in the repository, but if it's run by ID, maybe a new ID is generated for the mapping when it is redeployed, and subsequently the process flow gets a new ID when it gets redeployed?
    I hope someone has seen this before and can get me on the right track. Thanks very much.

    Here is a log that also illustrates the problem.
    First workflow which does not have a redeployed workflow goes okay. That is WF_BOOKED_PRODUCT_020:MAP_BOOKED_PRODUCT_020.
    The second workflow, WF_BOOKED_PRODUCT_030:MAP_BOOKED_PRODUCT_030, that is the one that has the redeployed mapping fails.
    2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358142 parentAuditId= 4358137 topLevelAuditId=4358137 taskName=MAPPER_T_MAIN:WF_BOOKED_PRODUCT_020
    2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    2013/05/10-09:23:10-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Thin driver connection time - 75 millisecond(s)
    2013/05/10-09:23:10-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Workflow equivalent DB Java Encoding = ISO-8859-1
    2013/05/10-09:23:10-CEST [41D041D][] Explicit garbage collection - requested
    2013/05/10-09:23:10-CEST [41D041D][] AuditId=4358147: Processing execute request
    2013/05/10-09:23:10-CEST [41D041D][] Free Memory(bytes)=5547904 Total Memory(bytes)=12557312 Used Memory(bytes)=7009408 Used Memory(percent)=56%
    2013/05/10-09:23:10-CEST [15261526][] Thin driver connection time - 75 millisecond(s)
    2013/05/10-09:23:10-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358147 parentAuditId= 4358142 topLevelAuditId=4358137 taskName=WF_BOOKED_PRODUCT_020:MAP_BOOKED_PRODUCT_020
    2013/05/10-09:23:10-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.PLSQL'
    2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] OCI driver connection time - 236 millisecond(s)
    2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] PLSQL callspec: declare "$MAP_ENV$" owbsys.wb_rt_mapaudit.wb_rt_name_values;begin "$MAP_ENV$"(1).param_name := 'OBJECT_ID';"$MAP_ENV$"(1).param_value := 206448;"$MAP_ENV$"(2).param_name := 'AUDIT_ID';"$MAP_ENV$"(2).param_value := 4358147;"$MAP_ENV$"(3).param_name := 'OPERATING_MODE';"$MAP_ENV$"(3).param_value := '0';"$MAP_ENV$"(4).param_name := 'PURGE_GROUP';"$MAP_ENV$"(4).param_value := 'WB';"$MAP_ENV$"(5).param_name := 'MAX_NO_OF_ERRORS';"$MAP_ENV$"(5).param_value := '50';"$MAP_ENV$"(6).param_name := 'COMMIT_FREQUENCY';"$MAP_ENV$"(6).param_value := '1000';"$MAP_ENV$"(7).param_name := 'AUDIT_LEVEL';"$MAP_ENV$"(7).param_value := '2';"$MAP_ENV$"(8).param_name := 'BULK_SIZE';"$MAP_ENV$"(8).param_value := '1000';"$MAP_ENV$"(9).param_name := 'CHUNK_PARALLEL_LEVEL';"$MAP_ENV$"(9).param_value := '0';"$MAP_ENV$"(10).param_name := 'CHUNK_EXECUTE_RESUME_TASK';"$MAP_ENV$"(10).param_value := 'false';"$MAP_ENV$"(11).param_name := 'CHUNK_FORCE_RESUME';"$MAP_ENV$"(11).param_value := 'false';"$MAP_ENV$"(12).param_name := 'CHUNKNUM_TIMES_TO_RETRY';"$MAP_ENV$"(12).param_value := '2'; ? := "STG_MAPPER"."MAP_BOOKED_PRODUCT_020"."MAIN"(p_env=>"$MAP_ENV$");end;
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] PLSQL Mapping completed auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Started Get Execution Results auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Return Result=0 auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Has Custom Parameters=false auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Completed Get Execution Results auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Started Report Execution Results auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] report_execution_result auditId=4358147
    2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Completed Report Execution Results auditId=4358147
    2013/05/10-09:23:12-CEST [41D041D][] Free Memory(bytes)=2954368 Total Memory(bytes)=12557312 Used Memory(bytes)=9602944 Used Memory(percent)=77%
    2013/05/10-09:23:12-CEST [41D041D][] AuditId=4358147: Request completed
    2013/05/10-09:23:12-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] report_execution_result auditId=4358142
    2013/05/10-09:23:12-CEST [41D041D][] Free Memory(bytes)=2225600 Total Memory(bytes)=12557312 Used Memory(bytes)=10331712 Used Memory(percent)=83%
    2013/05/10-09:23:12-CEST [41D041D][] AuditId=4358142: Request completed
    2013/05/10-09:23:13-CEST [41D041D][] Explicit garbage collection - requested
    2013/05/10-09:23:13-CEST [41D041D][] AuditId=4358159: Processing execute request
    2013/05/10-09:23:13-CEST [41D041D][] Free Memory(bytes)=6296536 Total Memory(bytes)=12557312 Used Memory(bytes)=6260776 Used Memory(percent)=50%
    2013/05/10-09:23:13-CEST [88E088E][] Thin driver connection time - 81 millisecond(s)
    2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358159 parentAuditId= 4358137 topLevelAuditId=4358137 taskName=MAPPER_T_MAIN:WF_BOOKED_PRODUCT_030
    2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Thin driver connection time - 74 millisecond(s)
    2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Workflow equivalent DB Java Encoding = ISO-8859-1
    2013/05/10-09:23:14-CEST [41D041D][] Explicit garbage collection - requested
    2013/05/10-09:23:14-CEST [41D041D][] AuditId=4358164: Processing execute request
    2013/05/10-09:23:14-CEST [41D041D][] Free Memory(bytes)=5425128 Total Memory(bytes)=12557312 Used Memory(bytes)=7132184 Used Memory(percent)=57%
    2013/05/10-09:23:14-CEST [6F866F86][] Thin driver connection time - 79 millisecond(s)
    2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358164 parentAuditId= 4358159 topLevelAuditId=4358137 taskName=WF_BOOKED_PRODUCT_030:MAP_BOOKED_PRODUCT_030
    2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
    - no rows found for select into statement
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:476)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:811)
    Caused by: java.sql.SQLException: no rows found for select into statement
         at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
         at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
         at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
         ... 6 more
    java.sql.SQLException: no rows found for select into statement
         at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
         at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
         at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:811)
    2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
    - no rows found for select into statement
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:476)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:811)
    Caused by: java.sql.SQLException: no rows found for select into statement
         at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
         at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
         at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
         ... 6 more
    java.sql.SQLException: no rows found for select into statement
         at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
         at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
         at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
         at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:811)
    2013/05/10-09:23:14-CEST [41D041D][] Free Memory(bytes)=3686600 Total Memory(bytes)=12557312 Used Memory(bytes)=8870712 Used Memory(percent)=71%
    2013/05/10-09:23:14-CEST [41D041D][] AuditId=4358164: Request completed
    2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
    2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
    - no rows found for select into statement

  • [OWB 10g] Complex Condition in a transition

    Hi all,
    I want to do a complex condition from my "AND1" component to my "END_SUCCESS".
    Here is a picture of my problem :
    [http://craweb.free.fr/owb/flux.png]
    In fact, I want to do this condition (you can see it in the previous picture) :
    IF after the "AND1" component the number of warnings <= 50 THEN
    redirect to "END_SUCCESS" (equivalent to "SUCCESS" enumerated condition)
    ELSIF after the "AND1" component it's "SUCCESS" THEN
    refirect to "END_SUCCESS"
    ELSE
    redirect to "END_WARNING"
    END IF;
    I have a problem with "NUMBER_OF_WARNINGS" variable and I don't know how to write my complex condition.
    Please, is anyone can help ?
    Regards,
    VD.
    Edited by: user7960834 on 24 juin 2009 00:36

    I have found the solution by creating a function.
    Thanks for help anyway.

  • Function in a Process Flow

    Hi all,
    I have a function which returns a value either 1 or 0. I want to get the output of the function and check if the function returns 1 then the process flow should be successful else it should error out.
    I have created a simple process flow, which has start, function, success and error. From the function to success transtion i have given an complex condition where value =1 and the other transtion should be kept empty. But it didnt work.
    Any ideas how exactly we can use a function in a process flow.
    Thanks in advance

    There is another way of achiving it....
    Go to process flow -> Configure and click on the function operator.
    Under Execution Settings, select the option Use Return as Status
    This setting governs the behavior for activities that return NUMBER in their output. These activities include the FTP, User Defined, and Transform activities. When you select Use Return as Status, the Process Flow Editor assigns the outgoing transition conditions based on the following numerical return values for the activity:
    1 = Success Transition
    2 = Warning Transition
    3 = Error Transition
    You might have your function return 1 for success and 3 for error and the transition would take them as status code.
    Thanks,
    Suchit

  • OWB Client: 10.2.0.1.31, Server  10.2.0.1.0 Process Flow Route activity err

    Hi,
    I have a simple process flow calling other process flows with the ROUTE activity. My PF validates fine with 3 out transitions (complex expressions) and 1 Transition to End Activity. I'm trying to add new out Transition based on complex expression I'm getting the validation warning.
    PF_START     WarMsgKey     VLD-10007: Activity ROUTE has outgoing transitions with duplicate conditions defined, thus making the process flow ambiguous.
    VLD-10007: Activity ROUTE has outgoing transitions with duplicate conditions defined, thus making the process flow ambiguous. The only allowed conditions are "SUCCESS", "WARNING", "ERROR", "UNCONDITIONAL", and the transitions on any activity are always evaluated in this order , thus having duplicate transition conditions will make the flow invalidate the process flow.
    I verified route transitions and all the 4 conditions are different. Does anyone has had the same problem.
    Thanks
    -DvvB

    Hi Nawneet ,
    Thx for ur suggestion. I can't use fork since I need to conditionally execute PFs based on my input.
    I did the following to achieve the result.
    Start -> Route
    variable = 1 Transition to PF 1 -- End Success/Failure
    Variable = 2 Transition EXECUTE pf 2 -- End Success/Failure
    Variable=3 Transition execute PF 3 -- End Success/Failure
    Default Transition to End Success
    Default Transition to ROUTE 2
    variable = 4 Transition Execute PF4 -- End Success/Failure
    Default Transition from ROUTE 2 -- End Success/Failure
    Thanks
    -DvvB

  • 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

  • Process flow email task

    Hi all,
    I have a scenario like i am running one process flow which is having 3 maps. I needs to send out email for the below condition.
    1.If there is no record in the source.
    2. If there is no record in the target.
    I want to implement these scenario in the process flow and not in the map level.
    Could you please help in this scenario..
    Thanks in advance,
    Ashis

    Hi,
    I have the same scenario. I have written a function, it returns a boolean value 0 or 1.
    For the transition operator i took a complex consition, but it is not working.
    My function looks like this
    CREATE OR REPLACE FUNCTION err_message(result OUT number)
    RETURN NUMBER IS
    L_MESSAGE VARCHAR2(200);
    BEGIN
    L_MESSAGE := 0;
    SELECT distinct(run_error_message) into L_MESSAGE
    FROM owbrep.rab_rt_exec_act_run_errors
    WHERE ERROR_TIME = trunc(sysdate)
    IF L_MESSAGE ='ORA-12541: TNS:no listener'
    THEN
    RETURN (1);
    ELSE
    RETURN (0);
    END IF;
    END;
    function in the process flow always returns 0 even the condition is satisfied.
    any suggessions.
    Thanks in advance.

  • When a process flow activity takes a long time to run.

    Hello,
    I have a process flow activity that sometimes takes a long time to run so that the process flow never ends. Is it possible that I can set the activity so that during a certain time that this has not been executed automatically flow process to continue?
    I'm Using Oracle Warehouse Builder 11g on Windows Server 2003 R1.
    Greetings and thanks.

    What I've done in the past is just use a small polling procedure (PL/SQL) and a conditional transition in the process flow, depending on what the proc returns (Continue or Fail) then the flow of control in the Process is changed.
    I think the key also is to not have too much paralellism going on too, that way it's easy to streamline the PF and remove slow moving processes to a more linear path (stopping bottle necks on your logical AND).
    Edited by: NSNO on Apr 29, 2010 2:31 PM

  • Owb process flow error handling

    Hi,
    I am using OWB 10gR2.
    I have 2 process flows that each call a series of mappings. Then I have one "master" process flow that calls the two aforementioned proecess flows. When a mapping errors, I want my whole master process flow to abort. I put error handling in, but it doesn't seem to work. For example, if I get an error in the first process flow, I get my email notification that something is wrong. The process ends. However, the master process flow continues to go. I want it to stop. It continues to go because there wasn't an error in the first process flow. The error was handled, and the process flow ended successfully. Does anyone have any tips or tricks on how to handle this type of situation? I'm not doing anything revolutionary. I'm just new to these process flows.
    Thanks,
    Tim

    hmm ok this sounds a bit weird to me.
    I've created similar processflows with customers and never had similar problems like you describe.
    Just to verify your design, here is how I would solve your master1 processflow.
    _______________________END_WARNING
    w w
    start----PF1----------s---------------PF2------s---- END_SUCCESS
    e e
    \___________________\____END_WARNING
    where the conditions for the transitions is indicated with w for warning, s for success and e for error.
    Some poorly made ascii art there but hopefully you get the idea...:p
    This also sounds like what you've done already and with extra email functionality.
    Are you sure that pf2 starts after pf1? Or can it actually run in parallel with pf1 but just finishes after pf1 so it seems like it its done afterwards? The reason I ask is that I experienced that in one of my processflows with around 30+ mappings, one of the mappings that was supposed to be executed almost at the end, executed before everything else and messed everything up. It was quite the annoying little bug and took a long time for me to discover. If you have noticed on the transitions, there is a little number next to the line on the canvas, indicating in which order the operators are to be executed. In my case, two transitions had the same number and that caused one of the mappings to just start as soon as the processflow was told to start. If this is the case there is a way to set these, but I don't remember right now. Delete and recreate the transitions also do the trick I think.
    Hope you figure it out!
    Ragnar
    edit: seems like my ascii art got a bit messed up... :(
    Message was edited by:
    rhaug

Maybe you are looking for

  • At a total loss on how to fix PSCS6 after CSCC Install

    I am assuming that the CC version of Photoshop had something to do with this as it started just after the install and they are both doing this. The very next image I edited after the install was gif_01.gif.  I saved it to: project/005885/site/image/g

  • Installing Old Plug-ins into CS5

    Is it possible to install old plug-ins (plugins) into Adobe Photoshop CS5? I have tried a couple of my old plug-ins and could not get any to show up under the Filters menu. I installed to: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins I t

  • Vendor classification based on its activity

    Hi.. I have a requirement where i want to sort all the vendors based on its nature of activity. for e.g i have 10 vendors who provide only services and 15 vendor which supply office consumable, and 15 vendor which supply hig value material, NOW if i

  • How to copyi all phone contacts to SIM card

    Hello, I'm using this really bad network on my blackberry and it's really hard getting any good data service off it. As you'd imagine I wanna change to a better network. I was hoping I could copy all my contacts (they're less than 150) onto the sim m

  • One particular website that won't load on my MacBook Pro

    I have been trying to access a website that continually fails to load (in most cases, described below) on my MacBook Pro in Safari, Google Chrome and Firefox. The site: http://www.crestedbuttemusicfestival.com My Mac won't open this site at any time