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.

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

  • Process Flow Fork Question/Help

    I'm hoping someone can help me as I've searched and searched but can't find anything that addresses this.
    According to the 2nd post in the below thread, at least from how I am interpretting it. Whenenever the first path from a fork reaches an end activity no new activities will be started on other forks.
    Re: Work flow process problem
    Is that correct as it explains the problem I am having with the below map that sometimes one of the MAP#POST processes will not be run and if so can someone give me some insight as to how they would handle the below situation or recommend a better course of action. FYI the process maps are all very similiar operations on similiar tables but the amount of records they deal with can varry considerably so there is a distinct time difference for completion.
    Start --->
    Fork
    ------>MAP1---> MAP1POST--->----\
    ------>MAP2---> MAP2POST--->----END_SUCESSS
    ------>MAP3---> MAP3POST--->---//
    ------>MAP4---> MAP4POST--->---/
    Due to my inability to draw decent ascii process flows I have removed the end_error condition but I do want it included as I have previously so please try keep that in mind.
    Thanks,
    Rich

    Oleg,
    Thanks for the help I really appreciate it, I am familiar with the and activity but part of my problem was figuring out how to use "and" while allowing each path to error out on the first step, while allowing each other path to run its full course. So in the case that map1 fails I don't want to run map1post, but I want to make sure that map2post runs if map2 succeeds.
    One idea I had was using an unconditional transition (assuming a success transition goes to the post process) from map1, map2, map3, map4 to an Or Activity along with the And you suggested, but I am still concerned that if map1 errors out and gets to the "or" and then then to the end_error/end_warning that map2post will not be run if it has not started by that time? I hope I'm making sense and thanks again.

  • Help with scheduling Process Flows in Workflow in 10gR2

    Dear All
    I am after some help with the scheduling of process flows (PF) in Workflow in OWB 10gR2. I am trying to set up some PF’s to handle the refresh of some staging tables from various source systems. I have created a separate Process Flow Module for each source systems, mainly just to keep them separate and organised. I have a number of mappings which all run fine if execute manually or linked directly to a schedule/job. The problem I am encountering is when I try to run process flows from schedules. I have created process flows ok and have run them manually and they complete fine so I know that the content of the PF is ok. After linking and deploying the jobs I can never get all the process flows to run from the various schedules. What appears to happen is that the first PF works ok and any other PF that are within the same Process Flow Module/packages also runs ok even if its running off as different schedules. However PF’s under the other Process Flow Module fail with the following error
    CC_DAILY_0400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-08-31 04:00:00.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/CC_DAILY_0400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    Following this error the PF will not even run manually! If I then stop the schedule and either drop or replace this failed PF thus redeploying, the PF then runs fine manually and if the restart the schedule it runs ok the next evening. My problem is that this then appears to impact on the other PF’s which all though have not been touched and ran ok the previous evening they then fail the following evening with the same error
    WS_DAILY_2400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-09-01 00:00:01.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/WS_DAILY_2400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    ORA-20002: 3114: Activity is not a process.
    I basically can not get both sets to run even though they are on separate modules and separate schedules.Has anyone any idea as to what could be wrong or if I am setting something up in a strange way which would cause these symptoms.
    All help or advice greatly appreciated
    Regards Kevin

    Dear All
    I am after some help with the scheduling of process flows (PF) in Workflow in OWB 10gR2. I am trying to set up some PF’s to handle the refresh of some staging tables from various source systems. I have created a separate Process Flow Module for each source systems, mainly just to keep them separate and organised. I have a number of mappings which all run fine if execute manually or linked directly to a schedule/job. The problem I am encountering is when I try to run process flows from schedules. I have created process flows ok and have run them manually and they complete fine so I know that the content of the PF is ok. After linking and deploying the jobs I can never get all the process flows to run from the various schedules. What appears to happen is that the first PF works ok and any other PF that are within the same Process Flow Module/packages also runs ok even if its running off as different schedules. However PF’s under the other Process Flow Module fail with the following error
    CC_DAILY_0400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-08-31 04:00:00.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/CC_DAILY_0400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    Following this error the PF will not even run manually! If I then stop the schedule and either drop or replace this failed PF thus redeploying, the PF then runs fine manually and if the restart the schedule it runs ok the next evening. My problem is that this then appears to impact on the other PF’s which all though have not been touched and ran ok the previous evening they then fail the following evening with the same error
    WS_DAILY_2400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-09-01 00:00:01.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/WS_DAILY_2400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    ORA-20002: 3114: Activity is not a process.
    I basically can not get both sets to run even though they are on separate modules and separate schedules.Has anyone any idea as to what could be wrong or if I am setting something up in a strange way which would cause these symptoms.
    All help or advice greatly appreciated
    Regards Kevin

  • 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

  • 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

  • User Defined Activity Process Flow Help

    Hello,
    I'm trying to create a process flow that will rename a file. I'm using the User Defined Activity, but I've ran into a couple problems. First some background info, Oracle 10G is the DB, and it's ran on a Unix system, the Oracle user account does have read/write access to the directories used.
    For the Activity Parameters I've set
    Command > I've tried everything here
    Parameter > Blank
    Script >
    filefullname=ip_xref.dat
    filename=${filefullname%.*}
    fileext=${filefullname##*.}
    DATE=`date +%Y%m%d`
    newfilename="${filename}_${DATE}.${fileext}"
    mv $filefullname $newfilename
    mv $newfilename backup/
    in the command section, I've tried every possible thing I can think of from : /usr/bin/ksh, /bin/ksh, ksh, /bin/bash, made a script outside owb with the same thing, and pointed it at that and still all I get is "/bin/bash: not found" or "/usr/bin/ksh: not found"
    Ideas/suggestions, I'm open to anything.
    As a side note I tried to do it with UTL_FILE, but I was informed by our DBA that it was disabled for security, so that's out.

    What type of execution is configured for user defined activity (this type is defined in file Runtime.properties on server side, available types for UDA - SCHEDULER or NATIVE_JAVA)?
    For SCHEDULER type ask your DBA about Uinux user used for executing external jobs (usually nobody user used with very limited rights - maybe this user doesn't have rights for executing any program/scripts).
    Regards,
    Oleg

  • VPRS issue in STO - IC Billing process flow

    Hi Experts,
    I am working on following process flow (Stock transport PO - Delivery - Intercompany billing).
    Same condition type ZIXX is maintained in MM & SD Pricing procedure. In PO (STO), ZIXX is determined based on material valuation data and the same amount gets copied to IC billing.
    Along with ZIXX, we have VPRS condition type in billing pricing procedure. But issue is that: VPRS does not get determine. System analysis shows message 217 (error in quantity/ value determination for VPRS).
    Meanwhile, condition amount for ZIXX (determined in PO) and VPRS (determined in IC billing) may differ in some of the business scenarios. So both condition types are needed.
    Following settings have been maintained:
    ·         Copy control settings between delivery & IC billing document
    o   Price source A (Purchase order)
    o   Pricing type C (Copy manual pricing elements and redetermine others)
    ·         Item category (Intercompany) has marked for ‘Determine cost’ with billing relevance as A (delivery related billing)
    ·         Condition type VPRS
    o   marked as G (Internal Price)
    o   marked for ‘quantity conversion
    o   marked as ‘statistical’ in billing pricing PP
    o   subtotal B and requirement routine 4 (Cost)
    ·         Condition type ZIXX
    o   Marked as G (Internal price) in MM Pricing procedure
    o   Marked as H (Basic Price) in SD PP with requirement routine as 2 (item with pricing)
    ·         Material type is updated for ‘quantity and value update’ in SAP T.Code: OMS2
    Kindly let me know, how we can resolve VPRS issue.

    Hi Sachin,
    For the similar issue you face, there has been a discussion in the forum.. Pls check
    VPRS retrives the cost of the Material from the material master data > Accounting 1 tab to the Sales order.
    Once the cost is found, then Profit margin  (Net value - cost) is calculated.
    VPRS does not contain any Access sequence.
    With the help of its Condition category "G", it accesses the Material master > Accounting tab 1 and takes cost.
    There may be two cost specified in the Material master. They are
    - Moving Avarage Price
    - Standard Price
    Which one system will consider that depends upon the "Price control" field.
    If the value is "V' in the Price control field, the system takes the "Moving Avarage Price" and if it is "S", then system takes the "Standard Price".
    So, you must ensure these few control
    - VPRS should  NOT have any Access sequence.
    - Condition category "G" must have been assigned to VPRS.
    - VPRS must have been activated as "Statistical" condition in the Pricing Procedure and should not have any Account key.
    With Regards
    S.Siva

  • Process flow - Active Directory integration with Enterprise Portal

    Hi
    I have seen number of documents/forum discussions on integrating Microsoft Active Directory (LDAP) with Enterprise Portal, but unable to find out the process flow for achieving the same.
    I have installed Enterprise Portal 6 (SP13) running on Web AS 640 (J2EE Standalone). The UME is currently configured to use Java database. (i.e datasourceconfiguration_database_only.xml)
    I intend to proceed as below for integrating with Active Directory and integrate with Windows authentication:
    1) Configure UME to use an LDAP Server as Data Source using Config Tool
    http://help.sap.com/saphelp_erp2004/helpdata/en/cc/cdd93f130f9115e10000000a155106/frameset.htm
    2) Configure Enterprise Portal UME i.e http://<host name>:50000/irj - System Administration - System Configuration - UM Configuration
    <b>Should I configure Data Sources & LDAP Server here as I have already configured these using J2EE Config tool (point no.1).</b>
    3) Integrate Windows authentication with EP using IISProxy module.
    I hope the above will enable me to logon to Portal without supplying username and password once you are logged on to the PC using your Windows user name and password.
    Also, any schema updates required to Activie Directory i.e What additional data is stored in A.D.
    I would appreciate your guidance on this.
    Thanks in advance,
    Chandu

    Hi Chandau,
    you wanted that some users are not taken into account by the User Management Engine (UME).
    This behavior can be established by specifying the
    ume.ldap.negative_user_filter property for the LDAP data sources in the data source configuration file. Using this property one can define that all users and accounts that
    match the defined conditions are filtered out by the UME API.
    A detailed documentation can be found in the SAP Online Help:
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/f43541b9cc4c0de10000000a1550b0/
    content.htm
    In the following example of a data source configuration file for Microsoft Active Directory
    Server the attribute userPrincipalName is used as Logon ID of a portal user id (j_user).
    Here the user accounts that have one of the following Logon ID’s (index_service,
    notificator_service and cmadmin_service ) are filtered out.
    <dataSources>
    </dataSource>
    <dataSource id="CORP_LDAP">
    <privateSection>
    <ume.ldap.negative_user_filter>
    userPrincipalName=[index_service,notificator_service,cmadmin_service]
    </ume.ldap.negative_user_filter>
    </privateSection>
    </dataSource>
    </dataSources>

  • Ways of creating contract and process flow of contracts

    hi friends
    ways of creating contract and process flow of contracts
    thanks for ur help
    regards
    krishna

    hi,
    In the MM Purchasing component, a contract is a type of outline purchase agreement against which release orders (releases) can be issued for agreed materials or services as and when required during a certain overall time-frame.
    Contracts can take the following forms:
    Quantity contracts
    Use this type of contract if the total quantity to be ordered during the validity period of the contract is known in advance. The contract is regarded as fulfilled when release orders totaling a given quantity have been issued.
    Value contracts
    Use this type of contract if the total value of all release orders issued against the contract is not to exceed a certain predefined value. The contract is regarded as fulfilled when release orders totaling a given value have been issued.
    You can also set up corporate buying contracts with your vendors. These are valid for all plants and company codes within a client (see Centrally Agreed Contract).
    You can create a contract as follows:
    Manually
    You enter all data relating to the contract manually.
    Using the referencing technique
    As reference document (the document you copy from), you can use:
    Purchase requisitions
    RFQs/quotations
    Other contracts
    CREATION OF CONTRACT MANUALLY:
    Choose Outline agreement --> Contract --> Create(ME31K)
    The initial screen appears.
    Enter the necessary data. If you make any specifications under the group heading Default data, this data will appear as the default data in each item.
    In the Agreement type field, specify whether you are creating a quantity or value contract, for example.
    Press ENTER .
    The header data screen appears.
    Enter the contract validity period. Check the other fields on this screen and make any necessary changes (e.g. the terms of payment) and define the header conditions.
    Press ENTER .
    The item overview screen appears.
    On this screen, enter the information for each item (material number, target quantity, price, receiving plant, or account assignment, etc.) using the same procedure as with purchase orders.
    Material without a master record: leave the field for the material number empty and enter the following:
    u2013 Short description of the relevant material or service in the Short text field
    u2013 Material group to which the material belongs, in the Material group field
    u2013 Account assignment category
    You can enter u (unknown) or the category of an account assignment.
    u2013 The target quantity and the order unit
    If you specify an account assignment category other than U (field A), you must enter the relevant account assignment data for the item. To do so, choose Item ® Account assignments (see also Account Assignment).
    If necessary, review the details for each item. Select the item(s) to review. Then select Item -> Details.
    Enter the desired conditions.
    Enter further text for the item if any additional instructions to the vendor or Goods Receiving are necessary. Choose Item -> Texts -> Text overview.
    Save the contract.
    Hope it helps..
    Regards
    Priyanka.P
    AWARD IF HELPFULL
    Edited by: Priyanka Paltanwale on Aug 25, 2008 7:20 AM

  • Process Flow of Creating and sending Dunning Form

    Hi Experts,
    Can you please help me in this
    What is the process flow of creating, sending Dunning form and when do we get Confirmation from vendor and when the condition type should be triggered in messages of PO.
    I will appriciate your help
    Regards,
    Sheral

    Hi,
    Check these links.
    http://forums.sdn.sap.com/thread.jspa?messageID=3537642#3537642
    http://forums.sdn.sap.com/thread.jspa?messageID=5337739#5337739
    Regards
    Ayyallas

  • OMB Script - Run a process flow (OMBSTART) with input parameters.

    I have a process flow with one input parameter : PF_SCHEMA_NAME. This is a string, literal value = false.
    While running this from the OWB Control center UI, it prompts for value of parameter.
    I need to execute this process flow using OMB script.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    This gives following error:
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN 'OWF_LOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 668:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 626:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP

    Thanks David for your reply.
    But your suggestion did not work. I am still getting the same error.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('"ADVIEWPROD"')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 651:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 608:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP
    Can you please help?

  • Problems with setting up the wait in a process flow

    Hi,
    I have process flow where I need to use a wait function.
    The value of minimum_delay is set to 30
    literal = true
    the value of until_date I've been trying to set to a appropriate date format that is consistent with the default in the database.
    When doing this I get the error message ORA-01841:     (full) year must be between -4713 and +9999, and not be 0
    setting the value of until_date to null and literal still true gives me the error ORA-06502:     PL/SQL: numeric or value error. Setting the literal to false also gives me this error.
    Does anyone know how I can set this up correctly? And if its possible, not use the until_date parameter.
    any help is appreciated
    regards,
    Ragnar
    this is on a 10.2.0.3 database, windows 2003 server
    OWB client 10.2.0.3.33
    OWB repository: 10.2.0.3.0
    Message was edited by:
    rhaug

    Thanks for your replies:
    I've tried running the Processflow with different parameters.
    The processflow I am trying to run is in its own Module, with just one processflow, and the wait is the only activity in this.
    Its a nice mix of english and norwegian in the error messages, but I'll try to translate as best I can.
    Minimum_delay: 30
    Literal: true
    Until_date: blank
    Literal: true
    ORA-01867: intervallet er ugyldig (illegal interval)
    ORA-06512: ved "OWB_SYS.WB_RT_CONVERSIONS", line 371
    ORA-06502: PL/SQL: numerisk feil eller verdifeil: feil under konvertering av tegn til tall(numeric error or valueerror: error under conversion from character to number)
    ORA-06512: ved line 3
    Minimum_delay: 30
    Literal: true
    Until_date: null
    Literal: false/true
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER := 0;function "WAIT_TEST" return VARCHAR2 is "ITEM_TYPE" VARCHAR2(4000) := (wb_rt_task_variable.get_value(77109));"ITEM_KEY" VARCHAR2(4000) := (wb_rt_task_variable.get_value(77111));"EVAL_LOCATION" VARCHAR2(4000) := (wb_rt_task_variable.get_value(77112));function "WAIT" return VARCHAR2 is "WARNING" NUMBER := 2;"RETURN_RESULT_NUMBER" NUMBER := NULL;"NUMBER_OF_ERRORS" NUMBER := 0;"SUCCESS" NUMBER := 1;"ERROR" NUMBER := 3;"OK" NUMBER := 1;"FAILURE" NUMBER := 3;"AUDIT_ID" NUMBER := 77113;"RETURN_CODE" NUMBER := NULL;"NUMBER_OF_WARNINGS" NUMBER := 0;"RETURN_RESULT" VARCHAR(64) := NULL;"PARENT_AUDIT_ID" NUMBER := 77108;"OK_WITH_WARNINGS" NUMBER := 2;begin "$LOOP_DETECT$" := "$LOOP_DETECT$" + 1;if "$LOOP_DETECT$" > 2 then raise_application_error(-20001, 'Loop detected calling "WAIT"');end if;return wb_rt_conversions.from_timestamp_tz(null);end;begin "$LOOP_DETECT$" := "$LOOP_DETECT$" + 1;if "$LOOP_DETECT$" > 2 then raise_application_error(-20001, 'Loop detected calling "WAIT_TEST"');end if;return "WAIT";end;begin :result := "WAIT_TEST";end;. Please modify the expression, redeploy and retry again.
    ORA-06550: linje 1, kolonne 835:
    PLS-00307: for mange deklarasjoner av FROM_TIMESTAMP_TZ stemmer med dette kallet (to many declarations of FROM_TIMESTAMP_TZ matches with this call)
    ORA-06550: linje 1, kolonne 828:
    PL/SQL: Statement ignored
    Minimum_delay: 30
    Literal: true
    Until_date: 23-05-2009
    Literal: true
    ORA-01867: intervallet er ugyldig (illegal interval)
    ORA-06512: ved "OWB_SYS.WB_RT_CONVERSIONS", line 371
    ORA-06502: PL/SQL: numerisk feil eller verdifeil: feil under konvertering av tegn til tall (numeric error or valueerror: error under conversion from character to number)
    ORA-06512: ved line 3
    Minimum_delay: 30
    Literal: true
    Until_date: ’23-05-2009’
    Literal: true
    RPE-02083: Process WAIT_TEST has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process.
    RPE-02075: Oracle Workflow failed to process the execution request for Activity WAIT_TEST:WAIT. This may be because dependent objects have not yet been deployed.
    ORA-01841: (helt) år må være mellom -4713 og +9999, og ikke være 0 ([whole] year must be between -4713 and +9999, and not be 0)
    WB_RT_WORKFLOW_UTIL_10G.Execute_Any_Task(TEST_MOD, WB_IK_20080602_101807_77183, 12489, RUN)
    WB_RT_WORKFLOW_UTIL_10G.Execute_Wait(TEST_MOD, WB_IK_20080602_101807_77183, 12489, RUN)
    Wf_Engine_Util.Function_Call(WB_RT_WORKFLOW_UTIL_10G.EXECUTE_WAIT, TEST_MOD, WB_IK_20080602_101807_77183, 12489, RUN)
    Minimum_delay: 30
    Literal: true
    Until_date: TO_DATE('23-05-2009','DD-MM-YYYY')
    Literal: false
    ORA-01867: intervallet er ugyldig (illegal interval)
    ORA-06512: ved "OWB_SYS.WB_RT_CONVERSIONS", line 371
    ORA-06502: PL/SQL: numerisk feil eller verdifeil: feil under konvertering av tegn til tall (numeric error or valueerror: error under conversion from character to number)
    ORA-06512: ved line 3
    So thats basically it.
    What language settings have you been using for this to work?
    Ragnar

  • Process flow run success but underline mapping sql still running

    We have mapping A and B in process flow. We configured Enumerated Condition (success) in mapping A to kick off mapping B after A is success. But the underline SQL in A took long time to finish therefore mapping B starts before data loading is finished in A. We need to finish mapping A loading data first (not submit the job),  What could be the best approach for this condition.
    Thanks,
    frank

    Here is the actual scenario. In my process flow I have mapping A and B, both loading data from source to target. I put Enumerated Condition (success) in mapping A so that B start only if A is done. When the job is in completed status in control center, I open job details I notice the mapping A is still running even B is finished. I guess my questions:
    1. how to run mappings in order?
    2. how do we really know the process flow job is completed?
    Thanks for help!

  • Declare procedure to use in process flow

    Hi
    I am using a function which return ture or false, i have written a while loop condition if ture then execute else exit.
    the while loop condition is calling that function but when ruung owb throws error that function is not declared
    ORA-06550: line 1, column 907:
    PLS-00201: identifier 'CHK_NXT_VAL' must be declared
    ORA-06550: line 1, column 862:
    PL/SQL: Statement ignored
    I have set every thing to true in execution on configuration of process flow, on configuration property i don't get this function any where so can't set it to true.
    Can you help me to declare and where and how to declare
    Thanks

    Did you get this working?
    Cheers
    David

Maybe you are looking for

  • Ipod touch not recognized by itunes 9 (this isn't the usual problem.)

    My sister put playdoh in my usb cord a month or two ago and in the open part of the ipod which you put the usb cord in.I cleaned it out with a toothpick. First usb cord stopped working got another one. My ipod was fine till a few weeks ago. My ipod u

  • Getting error in executing Select options

    Hi Experts, I am getting error in while executing select options in multiple selection range options in SCASEPS Transaction in PSRM module. suppose I am giving 500 records in a select options ( select single values tab) while executing i am getting m

  • Mapping Problem -UDF

    I have a scenario where i had to map file data to a Z rfc in R/3. but i am new to java language ...can any one help me.. My source File field is : EDI_DC40  2DELVRY02RCVCONN <b>E2EDL20                       xxxxx</b> E2EDL24                       fie

  • Excel chart scale

    I cannot get LabView to set the maximum scale for my chart. Any idea? Thanks Attachments: test_filter_data_macro.vi ‏165 KB

  • PDFs in Safai

    Can I force Safari (Mac) to use Adober Acrobat instead of defaulting to Adobe Reader and requesting approval for every PDF?