Process flows getting corrupt.

Hi,
When I take MDL of process flow from one server, and deploy it on another server. Then sometimes the conditions on link are converted into garbage values.This happens only after I deploy these process flows.
Can anybody suggest the reason for this.
Thanks
Razi

Hi, I had this problem sometimes ago. And solved it increasing the -Xmx value at the file owb.cl at OWB_HOME\owb\bin\win32 from -Xmx128M to -Xmx768M.
I think it will work for you too.
Regards
Nogs

Similar Messages

  • Owb Process Flow getting hanged/stuck .

    Hi,
    Problem description  :-  We have designed a Process Flow in OWB our project. The Process Flow is scheduled to run at 12.00 AM daily Dutch timings.
    We have been facing a problem for around 3 months wherein the process gets hanged/stuck in between without giving any specific error message.
    There isn't any kind of locking happening in the background as well. The OWB log gives the message "Forcibly deactivating execution with audit ID 1660235 ",
    During the time at which the process hangs  The process gets hanged in different timings in different sub processes(not in a particular process, so no specific pattern has been observed.)
    To complete the process flow, we need to kill the process and rerun it again. When reran, it runs perfectly without any error.
    The above error message appears in the log only when a process hangs. There is no such kind of logging during a successful execution.
    Can you please let us know when and why does this message appear in the OWB log file.
    Is there any specific kind of settings or configuration parameters that needs to be set to resolve this.
    Regards,
    Rosy Mukherjee

    You might want to check to see if you have anything "parallel" running
    We recently had an issue with one of our mappings where one day it decided to just stop working and "freeze"
    Our DBA found that we had a Oracle hint for "Parallel" in the code and removed it. After that the mapping ran fine.
    Best of luck

  • Mapping parameters binding gets removed in process flow

    Hi All,
    whenever i import a mdl file from development to production
    parameters binding of few mappings and pprocedures in process flow get removed automatically.
    for example Map1 in PF1 has input parameter p1 binding set to Pf.p1.
    this binding is getting automatically removed when i import the mdl file from development to production.
    I am in big trouble bcz of it.
    could anyone plz help.
    Thanks in anticipation,
    RD_RBS

    This also happend to us when we moved from dev to prod. We really didn't find any good way to bypass this but just rather enter the binding values again manually. You might wanna check a few other things that got lost during the move. Such as DB Link(DB Connections on stage tables) and Outgoing Transitions in the process flows.

  • 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 10gR2 Process Flow returning status = Complete and Result = Null

    Hi,
    I have a process flows i ran lot of times with success (it shows status = complete and result = OK). It invokes a lot of mappings and other flows
    Sometimes one of invoked mapping or flows shows status = complete and result = Null and main process too.
    The main process i invoked by a PLSQL store procedure using wb_rt_api_exec package. When status = Null the store procedure hangs and I have to kill it.
    When it happens, owb service restart (new record in WB_RT_SERVICE_JOB_LOGS).
    Can anyone help me?
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.31
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.3.0

    Sometimes transitions in process flows get scrambled and you have to fix them by hand.....this happens and I dont know why.
    Basically what happens is: every operator in process flow has three outgoing transitions (in general) marked as 0, 1 and 2, when you take a look at details property of your operator then in the outgoing transitions tab you should have ORDER collumn 0, 1, 2 for warning, error and success.
    If this is not the case (0,1,2) process will not know what to return as value, and what is more bizzare this works until it does not :)
    I dont know if this is your case but it's worth checking.

  • Error deploying process flows

    hello, i'm trying to deploy process flows, getting this error. privileges on my workflow manager are set correctly but it looks like something is not ok with connection to database. workflow server looks ok and i can manage it through oracle workflow manager. everything else in owb works ok, i can deploy other objects with no problems.
    this is only problem on my client computer, deployment works fine from server ?
    any idea ?
    already checked tnsnames, replaced host with ip, tnsping ok...
    server: win2000
    client win XP pro
    oracle 9i: 9.2.0.4.0
    owb: 9.2.0.2.8
    owf: 2.6.2
    ERROR:
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link DW.US.ORACLE.COM@WB_LK_LOAD_SKL. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object
    [email protected]@WB_LK_LOAD_SKL
    ORA-12545: Connect failed because target host or object does not exist

    Hi,
    Do you happen to use localhost to refer to the Oracle Workflow engine? You should use a DNS entry to refer to the Workflow engine. The way this works: when Warehouse Builder deploys to Workflow, it creates a database link back, using a DNS lookup to the machine. If you specify a non-DNS entry, then whatever comes back will be different from what you specified as a host name. This causes the problem. Please re-register the Oracle Workflow engine using a DNS name entry.
    Thanks,
    Mark.

  • Mapping complete - process flow busy

    Hi all,
    I've a problem with a process flow I've imported from another server.
    If I run this process flow in the testing server it runs and complete without problems.
    Now, I've imported this process flow in the production server but it doesn't complete. In Audit browser I see that all mappings have "complete" status but the process flow is still busy after 1 hour.
    In the process flow there are 7 mappings and 3 user defined operations that use shell scripts.
    What I've missed?
    Oracle and OWB 11gR1
    OS: Sles 10
    Thanks
    Gul.

    Hi Gul,
    We are using OWB 11.1 and we've experienced the same thing.
    We solved this by:
    - adding an index on the runtime repository
    - clean up the runtime audit tables
    - collect statistics on the runtime tables
    There should be plenty information about the step above.
    If you're not familiair with it, then I can include it in a next message.
    - check the process flows for errors.
    We found out that some process flows got corrupted after export-import.
    Some transitions had flase numbering.
    Example: a mapping had an success (0), error (1) and warning (1).
    The error and warning lines had the same number.
    After correcting this the flows worked correctly.
    Regards,
    Emile

  • How to get the package name of a procedure used in a process flow activity

    Hi all. I'm on OWB 11.2.0.2.0.
    When I used a packaged procedure or function in a mapping operator, I can find out the package.program_unit name by getting the operator's FUNCTION_NAME property. For example,
    OMBRETRIEVE MAPPING '$mapName' OPERATOR '$operName' GET PROPERTIES (FUNCTION_NAME)
    But when the same is used in a process flow activity, I can't find a property name that will give me the same information. I can get the BOUND_NAME, it does not tell me the package name. It must be stored in the activity properties because when you pull up the Synchronize dialog for the activity, it knows the package name.
    Is there a way to get this via an OMBRETRIEVE?
    Thanks.

    ANA, this is exactly what I needed. Thank you so much. I saw REFs also in the OMBRETRIEVE MAPPING/OPERATOR syntax, but went cross-eyed trying to figure out if I could use the same there. The closest I found was GET BOUND_OBJECT.
    Thanks again!

  • Getting an process-flow audit id in the process flow itself

    Hi,
    I am using OWB 11gR2 and want to capture the audit_id of the process flow itself at the process-flow level.
    I want to use this to pass it tru to the mappings in the process flow.
    I know how to get audit_id when you're in the mapping (get_audit_id), but i want the audit_id of the process flow when i am "inside" the process flow.
    When i have this i can let all of my mappings in the flow receive the same id.
    When i setup a parameter at the process flow and specify get_audit_id there it errors on me.
    Does anybody what to specify here ?

    ok,
    i figured it out myself and answered myself in another thread.
    Basically it goes like this:
    In the master flow you have sub-processflow objects which you want to pass along the audit_id of the master flow.
    So that you can pass along the same audit-id to every mapping in all of the flows.
    But it would be nice to be able to run sub flows independently from the master flows (for testing etc.)but still feed the same id(whatever that is) to the mappings in that process flow.
    And on the lowest level this applies to mappings as well: be able to run a mapping and get a id to store in a field.
    The same applies to feeding a process date to all the mappings in your flows(used for dwh purposes)
    How does this work on the mappings ?
    Create a mapping input parameter, put 2 params in it.
    One date, one number. The date part is easy: just put SYSDATE in it.
    The number part would ideally hold get_audit_id as default value. Unfortunately this generates an error.
    So put default value of 1 here. Create a constant on the mapping with value get_audit_id in it.
    Create expression that tests if input_param has something else than 1 as the value ; if so then there was no audit_id fed into the mapping by a process flow. Make the expression use the constant then. Use the output of the expression in your mapping.
    How does this work in process flows ?
    You'll have two different parts here:
    -feeding from flow to a sub-flow
    -feeding from flow to mapping
    Flow to subflow:
    You can not bind a flowparameter to subprocess paramter so you'll need to create 2 variables.(process date / audit id)
    Create two parameters, one date with sysdate as default, one number with 1 as default.
    Use assign operator to bind audit_id parameter to the audit id variable.
    Use another one to bind to the same variable, but specify parent_audit_id as value instead of binding it to the paramter.
    Use conditonal routing on these two assign operators to have one of these be executed.
    This will ensure that the variabel either gets parent_audit or the value of the input parameter of the flow.
    Use another assign op. to bind the date input to the date variabel.
    Bind the parameters of the sub flows to the variables.
    Flow to mapping:
    Use the same procedure as descibed above. Only difference here is that you can bind a mapping parameter to a parameter.
    This means that you'll don't need the assign stuff for the date parameter since you can bind the date parameter of the mapping to the input parameter of the flow.
    Hope this helps someone ...

  • Applying presets causes filter settings to get corrupted if process version updated

    I have an ongoing problem with Lightroom 5.7 including earlier versions.  The problem occurs when editing photos which use previous process versions (ie, 2010).  My presets all have the Current Process version checked (as they should).  Whenever I apply any preset to a photo, the settings for existing filters get corrupted (reset to 0).  This includes my Graduated Filter settings, Adjustment Brush settings and Radial Filter settings.  Those filters and their masks remain on the photo but their parameters have all been set to zero.  I keep falling into this trap since it's natural to use my presets when making updates to photos.  Often I don't realize this occurred until it's too late. 
    As a work-around (inconvenient) I can first manually update to the current process by right-clicking the photo and saying Settings/Update to Current Process (2012).  Or by clicking the Lightening Bolt button in the upper right corner.  But this must be done prior to applying any presets and I typically for get as my database has tens of thousands of pics. Even a preset with just the Process Version set will cause the filter settings to be corrupted.  I'm not interested in applying a batch or Quick Develop process to all at once since I need to inspect each one as the process is updated.  It would be great if this could be fixed in a maintenance release since it keeps biting me.  I think it's important that this be fixed in LR 6.0 also.  No doubt it's messed up many user's photos without them realizing it.  Does anyone know a work-around so Presets can be used?
    System: Win7 pro 64 (current), 4.2 GHz i7, 12GB, Lightroom 5.7.

    In my opinion: not a good idea to convert old photos en-batch.
    Recommend: convert (hand-selected photos) one at a time, or just use PV2012 on new photos.
    There are more than one reason:
    * As you know, process conversion yields very different results (if photo has been substantially edited).
    * It takes some time to polish your PV2012 editing skills.
    * Often when you are comparing PV2012 results to previous PV2010 results (which you've become familiar with, and like...), you may interpret differences in a more negative light, than if you were using PV2012 without comparing to a previous PV2010 version.
    This last one can not be over-stated. Numerous times I have converted and been disappointed, at least initially. Recovered highlights can seem like loss of contrast. Detail in shadows can be distracting after initial conversion, until you step back for a while, then re-look at it...
    Also, the process version itself (results I mean) takes some getting used to (even when not comparing to a previous legacy-pv edit). e.g. if you've become attached to the over-saturated shadows in previous process version, the shadows seem under-saturated in PV2012, etc...
    Rob

  • Getting error when running process flows in oem

    Hi all,
    I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
    Any idea anyone?
    Thanks!
    Yanet

    Hi,
     Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
     You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
     https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
    Regards,
    Nithin Rathnakar

  • Getting 'java.lang.OutOfMemoryError' while importing process flows.

    Hello,
    We are getting 'java.lang.OutOfMemoryError' error while importing process flows in our QA environment. This environment is not new. The same process flows were working perfectly fine till last week.
    This week we had to delete the project in QA and reimport all the objects. Import went fine for all, except process flows. We could deploy all other objects as well.
    We have tried increasing JVM in run_service.sh and owbclient.sh files by increasing -Xmx, -Xmx and Dlimit. We increased as far as 2048M ( This is the max memory available on our server)
    We are using OWB version 10.2.0.2 and Oracle 10G over Linux. Did anyone of you face the same issue ? Please le us know the solution.
    Thanks
    Madhavi

    Hi Madhavi,
    Which locale language is shown in your OWB client configuration? We had this issue in previous versions (I haven't found it in this version, but I'm used to work with English since these previous versions) So we always adjust Preferences (Tools -> Preferences...) to see Appearance -> Locale -> English.
    Try to change the locale language if it's your case.
    Regards
    ANA GH

  • Process Flow deployment - getting RTC-5161 (10gR2)

    I am trying to deploy a process flow and getting:
    "RTC-5161: The Deployment cannot proceed because of an error during the generation or pre-deployment phase. ....."
    Has anybody else experienced this? Right I am not sure what the problem might be. There is a new note on metalink (375296.1) about OWF_MGR setup, but I think my issue is something else...
    Julian

    Hello!
    I searched metalink on error RTC-5161 and found a reference in note 392263.1
    It is a bug but there is a patch available ( bug 5504848, patch number 5525337).
    Read the note on metalink to check if you really hit this bug and apply the patch.
    Regards,
    Robert

  • Getting Internal Error in Process flow

    Hi,
    I'm getting an Internal Error : class not found error in the process flow.
    What i'm trying to do is, i'm changing one of the input values of the mapping in the process flow. When i try to change the value of the parameter in the Activity View, i get this error:
    "Internal Error: class not found. Please contact Oracle Support with the stack trace and details on how to reproduce it."
    For the other mappings inside a process flow i'm able to change the values in the Activity View.
    I also deleted the mapping and re imported the same.But still i'm getting the same error.
    Can any one please help me in this regard?
    Regards,
    Abhinav.

    This should resolve this issue
    Fix
    Oracle policy recommends taking away the execute privilege on UTL_SMTP from PUBLIC. This takes away the privileges from SYSMAN as well. SYSMAN needs execute on UTL_SMTP and UTL_TCP to send notifications. Workaround:
    1. Log into the repository database as sys:
    grant execute on sys.utl_smtp to sysman
    grant execute on sys.utl_tcp to sysman
    2. alter package sysman.emd_notification compile;

  • 10GR2 - Cannot get wb_rt_api_exec to execute a Process Flow

    Hi,
    In version 10.1.3, I was able to use the wb_rt_api_exec procedure to execute process flows within a stored procedure (and called by an Enterprise Manager job).
    I have tried something similar in 10GR2, but when I run stored procedure, it says it has executed successfully, but the process flow has not run.
    My Stored procedure code is like:-
    CREATE OR REPLACE PROCEDURE PROC_TEST IS
    ret NUMBER;
    BEGIN
    ret:= rep_owner.wb_rt_api_exec.run_task('PROCESS_LOCATION','PROCESS','WF_TEST','','',1,1);
    END PROC_TEST;
    I have noticed there is an extra parameter p_background at the end of the run_task function and was not sure if I am setting it correctly. The procedure compiles ok, but does not run the process flow.
    Can anyone help please?
    Thanks
    GB

    To run workflow from SQLPLUS I used the following script:
    set serveroutput on
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := rep_ISM_DEV2.wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := rep_ism_dev2.wb_rt_api_exec.run_task('OWF_LOCATION','PROCESS','ALL_MARTS_PF', ' ' );
    end;
    Prior to running this script I have
    1.     grant execute on rep_owner.WB_RT_API_EXEC to rep_user;
    2.     OWF_MGR is registered as Repository user.
    It is possible that you will get an error: PE-02018: Oracle Workflow schema OWF_MGR on host XXX.XX.XX.XX cannot be accessed using service ORCL through port 1521. Please check the location details and try again.
    To overcome this problem log in to OWB Control Center as the target User (Runtime user) and executed the PF package from there manually. You will get a message that OWF_MGR location was registered by other user and you will get asked to supply the OWF_MGR password. The manual execution should finish normally. After that I am able to run the PF from a command line without problems. It looks like running the PF from the control center stores the OWF_MGR login information somewhere (anybody knows where?) and you do not need to supply it any longer.
    Hope it helps.
    Vladimir

Maybe you are looking for