File_exists in process flow

How could I get the 'FILE_EXISTS' activity in process flow to work properly?
Is one 'FILE_EXISTS' only work for one file? Does it mean I have to use 2 'FILE_EXISTS' if I want to make sure the 2 files required for the process exist?
I have linked my processes and deployed the process flow sucessfully. But it seems not working properly and stuck in the 'FILE_EXITS' process during execution. In the activity view, I have PARAMETER = PATH, DATATYPE = STRING, DIRECTION = IN, BINDING = <BLANK>, (these are all default values that I haven't input) and the VALUE I make it = C:\tmp\test.csv I've tried to click in PARAMETER and attempted to change 'PATH', but it would not let me. ??

You have to provide multiple transitions (arrows) out of the file_exists activity and the define the transition conditions (in the transition view section of the window) for success and error. In that case, if the file exists, the flow will continue along the sucess transition path, if it doesn't it will continue down the ERROR path. The error path can then end up into an END_ERROR activity and that will make the process flow stop if the file is not found, just your expected behaviour.
If you have only a single unconditional transition (arrow) out of the file_exists, the process flow will continue regardless of the FILE_EXISTS activity.
Regards:
Igor

Similar Messages

  • Process flow Activity File Exists

    Hi
    Software: warehouse builder 11.1.0.7
    OS: Redhat 5.5
    DB: 11gR1
    I am trying to use the activity "File Exist" on a process flow to know if a file does exist, with two transitions
    one with condition "EXISTS" that ends in success and one with the condition "MISSING", when the file
    exists the process flow acts normal with end success, but when the file doesn't exist the process flow
    just hangs and doesn't finish.
    Am i missing some configuration?

    You have to provide multiple transitions (arrows) out of the file_exists activity and the define the transition conditions (in the transition view section of the window) for success and error. In that case, if the file exists, the flow will continue along the sucess transition path, if it doesn't it will continue down the ERROR path. The error path can then end up into an END_ERROR activity and that will make the process flow stop if the file is not found, just your expected behaviour.
    If you have only a single unconditional transition (arrow) out of the file_exists, the process flow will continue regardless of the FILE_EXISTS activity.
    Regards:
    Igor

  • Find out type of activity in process flow

    I am currently working on generating process flows. I place a bunch of mappings or sub process flows (sometimes more than 20) in a process flow. Then I connect them basically to indicate the order in which they have to be processed.
    Next I want to generate the succes, warning and error transitions. I can easily list the activities in the process flow using
    OMBRETRIEVE PROCESS_FLOW 'SOME_FLOW' GET ACTIVITIES
    likewise I can easily retrieve the transitions.
    My main problem now is that I cannot find where to start.
    I know a process flow is created default with a START1 activity but the name can be changed, so that is not a fool proof option. I have been looking for something like
    OMBRETRIEVE PROCESS_FLOW 'SOME_FLOW' ACTIVITY 'START1' GET PROPERTIES (ACTIVITY_TYPE)
    But the property apparently does not exist.
    If I do
    OMBDESCRIBE CLASS_DEFINITION 'PROCESS_FLOW' GET CHILD_TYPES
    I see a START_ACTIVITY child type is listed. Now I am looking for a way to connect the child type to the activity
    Anybody ideas?
    Thanks in advance,
    Kind regards,
    Eric.

    Thanks Oleg,
    After posting the question on the forum I remembered I had made lists of activities for various activity types, in my case MAPPINGS and SUBPROCESSES. So I tried the same for START activities, just like you apparently have done. And with the same conclusion; there is not a complete list of activity types you can use.
    I also noticed there is no START activity in the Palette of the Process Flow editor. And that you cannot delete a start activity (API-10011 You cannot delete this type of activity). Apparently a start activity is a special case of activity. And I think I will treat it this way. I will assume no one in his right mind will rename this activity from it's default 'START1' name and start my exploration of the flow in the process there.
    Thanks again for confirming my suspicions.
    In the process of finding out activity types that are supported I made a list (OWB 10.2.0.3):
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET AND ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET ASSIGN ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET DATA_AUDITOR ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET EMAIL ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET END_ERROR ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET END_LOOP ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET END_SUCCESS ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET END_WARNING ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET FILE_EXISTS ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET FOR_LOOP ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET FORK ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET FTP ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET MANUAL ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET MAPPING ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET NOTIFICATION ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET OR ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET ROUTE ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET SET_STATUS ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET SQLPLUS ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET SUBPROCESS ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET TRANSFORMATION ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET USER_DEFINED ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET WAIT ACTIVITIES
    OMBRETRIEVE PROCESS_FLOW 'EERSTE' GET WHILE_LOOP ACTIVITIES
    Kind regards,
    Eric.
    Message was edited by:
    ericb
    Message was edited by:
    ericb

  • How to implement wait activity in OWB process flows?

    Hi,
    I am using OWB 10G R1.
    There is no wait activity in process flows.
    My scenario is, whenver a trigger file is created, I want to proceed with the process flow. If the trigger file doesnot exist, then I want to put the process flow in a wait state, until the trigger file is created.
    Here I used File_Exists activity. But it is checking for the file only once. And it returns warning.
    After that, I want to add an wait activity for certain period of time. How can I do this? Is there is any package,procedure or function to do that?
    Any help is appreciated.
    Thank you,
    Regards,
    Gowtham Sen.

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

  • URGENT:error while deploying a process flow

    EMP_COUNT is a mapping which i have deployed .
    when i try to deploy a process flow i get the following error:
    OMB05602: An unknown Deployment error has occured for Object Type API8028: No signature is available for mapping EMP_COUNT because the generation language is undefined. Please set the generation language property of this mapping, or generate this mapping to set the generation language property to a default value..
    thnx in advance

    OMB+> OMBALTER MAPPING 'EMP_COUNT' SET PROPERTIES (GENERATION_LANGUAGE) VALUES ('PLSQL')
    Fast enough? ;-)
    Regards,
    Detlef

  • Cannot deploy process flow package specification from file

    Hi,
    we are using owb 11gr2 on linux. We successfully managed to deploy mappings and tables into a specification file, and then deploy from that file into the target database (RAC). But when we try to deploy a process flow package we run into an error:
    A process flow package can be deployed to a specification file. But a deployment from that specification file fails with the error: " OMB05623: Cannot deploy specification from file. Exception follows. nulll"
    ### SETUP
    set CONN_DESIGN "xxx"
    set CONN_TARGET_DESIGN "yyy"
    set CONN_TARGET_RT "xxx'"
    set DIR "D:\\tmp"
    set RELEASE "V0_2"
    set file "$DIR\\$RELEASE"
    set plan "FILE_DEPLOY_$RELEASE"
    ### Deployment via control center: works!
    OMBCONNECT $CONN_DESIGN
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBCC '/KLINGEL_DWH'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
    OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan'
    OMBDISCONNECT CONTROL_CENTER
    OMBCOMMIT
    OMBDISCONNECT
    ### Deployment via specificatin file: fails!
    OMBCONNECT $CONN_DESIGN
    OMBCONNECT CONTROL_CENTER $CONN_DESIGN
    OMBCC '/KLINGEL_DWH'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
    OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan' AS SPECIFICATION TO '$file.xml'
    OMBDROP DEPLOYMENT_ACTION_PLAN '$plan'
    OMBDISCONNECT CONTROL_CENTER
    OMBCOMMIT
    OMBDISCONNECT
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBDEPLOY SPECIFICATION FROM '$file.xml'
    ### OMB05623: Deployment von Spezifikation aus Datei nicht möglich. Exception folgt. null
    ###OMB05623: Cannot deploy specification from file. Exception follows. nullIf we use the operation DROP it works. But REPLACE and CREATE do not work.
    We get the error regardless whether the code is executed as an expert or on the command line at a windows client.
    Does anyone knows a workaround?
    Deployment via a specification file is a must due to license and architecture requirements.
    Thanks,
    Carsten.

    Its woked fine for me for OWB 10.2.0.4 .... some steps are missing from code like
    when you are connecting again it should be
    OMBDISCONNECT
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBDISCONNECT
    OMBCC '/KLINGEL_DWH'
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RTI think you can try the same on different system .
    Cheers
    Nawneet

  • A/R process flow with notice of readiness for shipment

    Hi,
    I'm trying to implement the following A/R process flow:
    - sales order
    - xx% A/R down payment invoice
    - notice of readiness for shipment
    - incoming payment
    - delivery
    - A/R invoice (xx% down payment to be deducted here)
    What's the best way to implement it?
    Thanks
    Fabio

    Hi,
    no, it's something different. It is because we want to be paid before shipping anything.
    In more detail:
    - we request a certain amount of down payment after the order and before starting production
    - we request final payment before we deliver goods
    Thanks
    Fabio

  • MM - PO process flow chart

    MM Gurus , Can any one help me to provide me with the MM  PO and Change PO process flow diagram .Pl send me the diagram or links to my email ID
    Thanks in advance .Will give you points
    James
    [email protected]

    Dear James,
    Process Flow:
    1)Determination of Requirements: Through MRP, purchase requisitions
    2)Source Determination: helps you identify potential sources of supply, creating requests for quotation (RFQs
    3) Vendor Selection and Comparison of Quotations: The system is capable of simulating pricing scenarios
    4) Purchase Order Processing: information from the requisition and the quotation to help you create a purchase order. scheduling agreements and contracts are also supported.
    5) Purchase Order Follow-Up: The system checks the reminder periods you have specified. up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6) Goods Receiving and Inventory Management: Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number
    7) Invoice Verification: The system supports the checking and matching of invoices, and clearing invoices for payment.
    Flow Chart for PO & MM process :
    RFQ (ME 41) --> Maintain Quotation ( ME 47) -> Price comparision ( ME 49)>
    -->Create PR ( ME 51 N) --> Create PO ( ME 21N) --->
    > Good Receipt  wrt PO( MIGO)> Invoice Verification wrt PO ( MIRO)
    I hope this will suffice your need & if satisfied please reward points,
    Vivek

  • Demo on SAP Transportation Management Overview + End to End Process Flow by Navin Nadpurohit-SAP TM Consultant - Krypt Inc-a Leading SAP Supply Chain Company

    Hello All,
    Attached is the link explaining SAP Transportation Management Overview and a system demonstration of End to End Process Flow.
    Link:
    TM Overview + End to End Process Flow - YouTube
    Thanks and best regards,
    Navin

    Very Good Demo Navin

  • RPE-01008: Recovery of this request is in progress in process flows.

    Hi,
    I am calling shell script as an userdefined activity in a process flows.
    All the process flows were working fine.
    Today, all the process flows wherever the shell script is called ended up with an error showing " RPE-01008: Recovery of this request is in progress".
    Could any one please explain, what might be reason?
    Thanks in advance.
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    we have exactly the same problem here.
    Does anybody have a solution?
    regards
    Lutz

  • To check whether a process flow is valid or not

    Hi,
    I want to check whether a OWB process flow is valid or not inside a PL/SQL block. Can anyone let me know about any repository table or view where I can check the process flow status.
    Regards,
    Poulose

    Use display schedule job option from the context menu of the start variant of the process chain.
    When u chick this.. u will get the available job on this start process.. There u can see whether the process chain in schedule mode or not?
    If u can see multiple schedule then u can delete the older ones which are not needed and then u can maintain only one schedule job.
    If u click twice.. then there are chances that u might end up with the 2 schedule job with the same time frame.. .. so check the same with the steps mentioned..... if u find two jobs then u need to delete one.. if not there might be chance that ur PC might get trigger twice.. and one trigger will gets failed. and the other one will gets executed..
    Thanks
    I hope this is clear to u..
    Assign points if this helps

  • Process flow of excise duty from procurement to sales accounting entry with amount.

    Dear Expert ,
    Kindly any one help the process flow of excise duty calculation from procurement to sales accounting entry with amount.  for example.- if material amount is Rs. 10,0000 and excise duty is 8% , edu ecss 2 % , and sec ecss 1%. I want know the accounting entry on- MIGO, J1IEX, MIRO, F-43  AND , PGI, BILLING DOCUMENT, J1IJ , TR6 CHALLAN, J2IUN.
    Regards
    Akshaya

    Hi,
    In case of
    A. Procurement : there are two types of procurement viz. Local and Import
    LOCAL
    1. MIGO
    Inventory A/c Dr
    To GR?IR
    2. J1IEX
    CENVAT Receivable (Basic) A/c - Dr
    CENVATReceivable (Ecess) A/c - Dr
    CENVAT Receivable (S & H) A/c - Dr
    To CENVAT Clearing
    3. MIRO
    CENVAT Clearing A/c - Dr
    To Vendor A/chrough
    4. F-43
    No excise entry through SAP direct posting but through manual posting in case using TAXINN procedure.
    5. TR6 Challan
    PLA Payment  (Basic) A/c - Dr
    PLA Payment (Ecess) A/c - Dr
    PLA Payment (S & H) A/c - Dr
    To PLA on Hold A/c
    IMPORT
    1. MIRO
    ECS+SECS on Cus+CVD A/c Dr (consists of ECS on custm+cvd and S & H on custm+cvd)
    CVD Clearing A/c Dr (consists of Additional Duty CVD and CVD)
    Customs Clearing A/c Dr (consists of Basic Customs)
    To Customs Vendor
    2.  MIGO
    Inventory A/c - Dr
    To GR/IR A/c
    To Customs Clearing (consists of Basic Customs)
    To ECS+SECS on Cus+CVD (consists of ECS on custm+cvd and S & H on custm+cvd)
    3. J1IEX
    CENVAT Receivable (Basic) A/c - Dr
    CENVATReceivable (Ecess) A/c - Dr
    CENVAT Receivable (S & H) A/c - Dr
    To CVD Clearing
    4. F-43
    No excise entry through SAP direct posting but through manual posting in case using TAXINN procedure.
    5. TR6 Challan
    PLA Payment  (Basic) A/c - Dr
    PLA Payment (Ecess) A/c - Dr
    PLA Payment (S & H) A/c - Dr
    To PLA on Hold A/c
    Sales
    1. PGI
    COGS A/c Dr
    To Inventory
    2. Billing Document
    Excise
    ED Suspense A/c Dr
    To Liability for BED
    To Liability for ECS
    To Liability for S & H
    Customer
    Customer A/c Dr
    To ED Suspense A/c
    To Revenue
    To VAT / CST
    Hope your doubts are clear.
    Regards,
    Tejas

  • Training and Event management.Process Flow..

    Hi, Experts,
    Can any body give me some notes on  Training and event management and process flow also like integration between ECC-6.0 to Non SAP
    1.Training request
    2.Appraisal documents for performance feedback
    3.Tracking Feedback processes
    Pls help me in configuring these services.
    With Regards,
    San Rao.

    Hi san rao,
    as per your reply you using the new appraisal template and also you have released the template now simply run the BSP application HAP_DOCUMENT and access the appraisal documents  
    attach these BSP applications in your portal system.
    following pages of the above application will  be help full
    documents_todo
    documents_received_open2
    documents_where_participated
    Regards,
    Umesh Chaudhari.

  • 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

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

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

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

Maybe you are looking for

  • Queue name in QOS EOIO -Sender SOAP Adapter

    hi, While configuring sender soap adapter , if we specify EOIO as QOS , then there is a mandatory parameter Queue name to be specified. What is this Queue name ? and where is it created kindly reply Regards, loveena

  • Looking for some way to reset sound on JavaW?

    Hi, I'm having a strange problem with a java applet. When I browse away from a page with an applet on in a browser, Javaw.exe keeps looping a second long clip of whatever sound was playing before I browsed away. Interestingly, this problem does not o

  • How to change payment date in cash flow

    Hello Experts, Ive had a facility with commitment fee.  The calculated figure of the commitment fee is correct which based on period end date and the payment date in the cash flow tab was also the end date but I wanted to change the payment date in t

  • JAXB Unmarshalling question

    I want to create Java objects from an XML file; JAXB sounds like the way to go, from what I've read. One question though: the object I want to create is an existing class. What I'd like to do is have JAXB create objects of the existing class, instead

  • Round trip editing with BC?

    Is there round trip editing between Muse and Business Catalyst? Or once it is published to BC and gone live you can still only edit in Muse? If you add a BC tag within Business Catalyst it will break Muse compatibility?