FTP process flow not using registered userid

Hi,
I posted the following last week, to the back of a thread that Igor was answering to, but haven't seen any replies yet. Can some body answer the question regarding the userid used on the target location when an FTP process flow is ran please?
Thanks again.
==================
Igor,
I followed the examples given in this thread, and checked the case study in the PDF, but am still not able to 'get' a file using FTP to the desired location.
I have an FTP work flow configured with the Path Settings pointing to: REMOTE LOCATION is a w2k server, WORKING LOCATION is on Unix. These locations are registered in the Deployment Mgr properly.
I am able to PUT a file to win2k from Unix, but not GET.
This is caused by the fact that, during FTP WF execution, it is ran as Unix user 'oracle', whom do not have write access to the Root Path registered for the WORKING LOCATION. (I can do a get to /tmp).
Also, I am getting these messages in the execution log, even if the FTP was successful:
WARNING: Log file truncated - see RAB for further information.
ftp: ioctl I_PUSH ttcompat: No such device or address
ftp: ioctl(TIOCGETP): No such device or address
All of these problems indicate that the run time Unix user, 'oracle', doesn't have sufficient rights to various directories. Is it possible to force OWB use the userid that was registered for the WORKING LOCATION?
Thanks.

Hi,
Please follow the below steps.
1. Kill the OWF process using the Oracle Workflow Monitor.
- On the OWF Monitor home page, use "Find Process" to find the process
- In the "Process List" page, click on the Process Name
- Click on the "View Diagram" button
- Click on the "Abort Process" button
In the process list, the process should have a white-black flag.
2. Connect as the Workflow schema owner and execute the following commands in order to purge the item type.
- WF_PURGE.TOTAL package : deletes obsolete runtime data which includes: Items, Item activity statuses, Notifications, Expired activity versions.
SQL> execute wf_purge.total
- WFRMITT.sql script : deletes all definitions for an Item.
SQL> @< database_oracle_home> wf\admin\sql\WFRMITT.sql
3. Deploy the Workflow Process again from the OWB Deployment Manager.
Thanks,
Leo.

Similar Messages

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

  • OWB11gR2: Mapping execution in a process flow not visible in OWB Browser

    When a mapping is executed inside a process flow, execution details are not visible in OWB Repository Browser (Control Center reports) - rows processed, errors etc. Mapping row is missing in a log, like it never happened (but it did).
    This auditing information is very important for monitoring reasons (to our customers also) and I just don't get it how this functionality is lost with this version. Another serious bug?

    Hi David,
    I was rather tired and frustrated last evening, so today I noticed some things I didn't yesterday. Your reply gave me a new motivation.
    The conclusion is - a mapping execution in a process flow is logged, but the way activities are displayed in OWB Browser are now different than in previous versions. If I click on 'Execution Job Report' on a process flow, I see all the activities listed except mappings (transformations, assign, file exists, subprocess etc.). If I want to see mapping execution row, I must click on a plus (expand) sign.
    This kind of behavior will make processes with a complex hierarchy (usually we have more than 5 levels of subprocesses) rather vast to monitor. In 10gR2, a drilling down was accomplished by opening a new browser tab (Execution Job Report link) for each subprocess/mapping activity. Now it shall remain on one huge screen (list) that keeps expanding.
    But, if that is the new feature, we shall live with that. If our customers won't like it, they will have to get used to it.
    Thank you for your reply!

  • Process Flow Deployment using Oracle workflow

    Hi,
    If I have my own Process Flow in XPDL, can I deploy it to the Oracle workflow? I couldn't find any doc regarding how Oracle workflow (standalone) imports XPDL file.
    Is the Oracle workflow packaged with the OWB comes with some adapter that understand the XPDL process flow?
    I have an application that may output process flows in XPDL, and I want to deploy them to Oracle workflow for processing. How do I do that?
    Thanks,
    Denny

    Hi,
    I´ve used it in 2 system as a DM. It works fine. But I have to say that they were a small project.
    OWF is a very robust and easy tool. I´ve never need to look for another workflow because OWF always cover my project. When it doesn´t, I´m able to change some pl/sql procedures to make it attend project requirements.
    I can advice you that if you want a personalized user interface, you are going to spend more time doing it than developing your workflow. but if you don´t need to personalize user interface, so it is very easy do develop and deploy a workflow.
    Any doubt just ask.
    Regards,
    Luiz Soares

  • Controlling a timed relay process and not using a sequence to do it

    I am using the fieldpoint system with the RYL-421 module and am trying to control a step by step timed process to open and close valves to automoate a chemical synthesis in our lab, (i.e. relay 1,2,3 (valves 1,2,3) on for 30 seconds followed by Relay 2, 3 off and relay 1, 4,5 on for 2 seconds, ect). I have written a several panel sequence that works, however I am interested building a new program without using a sequence so that I can scale the application to many more additional steps than the three I currently have. What method would be the best to go with?
    Thank you for your help.
    Danny

    I would use a statemachine for this and with each different state set the state of the relays and the time. See the examples for a state machine type architecture.
    if you have any more questions then do not hesitate to ask and I will try to help.
    Joe.
    "NOTHING IS EVER EASY"

  • Error registering Process Flow Location

    Hi
    I've installed OWB 9.0.4 and successfully registered
    Process Flow Location.
    Then i've added russian lang to Oracle Workflow Repository
    After that when i try to register Process Flow Location
    i get error: RTC-5327 Schema OWF_MGR does not contain an
    Oracle Workflow Repository.
    But i still able to deploy Process Flow Packages
    using earlier created Process Flow Location.
    Thanks

    Vasily,
    This sounds like the known bug 2836447: OWB REPORTS OWF REPOS NOT INSTALLED IF MULTIPLE LANGUAGES ENABLED. The bug was fixed in 9.2 and also should be in the next 9.0.4 patch (9.0.4.11).
    The workaround for now is to run the following in Workflow Schema (owf_mgr):
    update
    WF_RESOURCES
    set
    NAME = NAME || '_' || LANGUAGE
    where
    TYPE = 'WFTKN' and
    NAME = 'WF_VERSION' and
    LANGUAGE &lt;&gt; 'US';
    commit;
    The following removes the workaround and restores the WF_RESOURCES table to their original state. This should be applied when the fixed OWB client has been installed.
    update
    WF_RESOURCES
    set
    NAME = 'WF_VERSION'
    where
    TYPE = 'WFTKN' and
    NAME LIKE 'WF_VERSION_%' and
    LANGUAGE &lt;&gt; 'US';
    commit;
    Nikolai

  • Modify process flows using Oracle Workflow

    Hi,
    I'd like to use Oracle Workflow to enhance the process flows created using Warehouse Builder, as some features are missing if compared with the full-blown Workflow Builder, and it is desired to integrate OWB processes in larger ones. I have successfully applied changes on the Workflow processes generated from OWB but it's not clear how far I can go, especially because I don't want to lose too much of the benefits of the original Workflows:all mapping results should continue to show in the Runtime Audit Browser, and it shouldn't be impossible to deploy the processes in a new environment.
    I am worried that when I change the processes manually in Workflow, I lose the possibility to re-deploy automatically from OWB, but this is tolerable as long as the final Workflow processes are maintainable and deployable.
    Has anyone tried a similar approach? How much can it be feasible/supported??
    regards, Antonio

    Jean-Pierre, thank you very much for your reply.
    I'm still evaluating what will be done through OWB and what through OWF. However my first attempts were oriented along the lines you suggest, that is to keep the process flows generated by OWB untouched, and use them as building blocks for larger processes. At the moment I am trying to realize what balance gives the best result. One extreme would be to use OMB scripting to wrap mappings in very simple generated processes, deploy them and build all the workflow logic in OWF. The other extreme would be to implement complete workflows through OWB and modify them through Workflow, but I'm sure this would certainly not be supported (as the Workflow developer manual states).
    My intent is to use OWF to add some flow logic I find difficult to introduce using OWB, especially for recovery actions, eg I added a join operator to the standard AND and OR, which purpose is to wait that all joining processes complete and than to branch depending on a failure in any process. I don't want the following recovery/logging actions to start unless processing has stopped.
    I built such logic very easily throw OWF but it's very involved using OWB, unless I'm missing something...
    Antonio

  • (urgent)how to run the sqlldr script in owb process flow?

    dear all:
    In my oracle warehouse ,i have to load much *.dat file
    into database with sqlldr in owb process flow. In owb process flow, I use the external process to run the sqlldr file with following configuration:
    1:======external process==========
    command : /app/ftpfile/sqlldr2.sh
    parameter list:
    success_threshold:0
    script:
    ================================
    2:create a file location in FILE LOCATION node:
    =============
    ODS_LOCAL_LOC
    =============
    3: in the runtime repository i register the location
    ============
    user name: oracle (for the sqlldr should run in oracle user)
    password : oracle
    host name: localhost
    root path: /app/ftpfile/
    ============
    4:configure the process flow
    ============
    path settings
    working locations:ods_local_loc
    ============
    after deploy them success in runtime repository,
    i run it ,it show me error following:
    ==========
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12545: Connect failed because target host or object does not exist
    ===========
    please help me!
    with best regard!

    Hello,
    our developers were getting this error code just the other day. They are using "sqlplus_exec_template" script to initiate these things. In our case, I had to do two thing:
    1) Modify their "initiator" script (the one that connects to runtime access user, and then calls "template") - it has to use tns connectivity "user/passwd@service_name"
    2) Create TNS entry (server side) for the "service_name" above.
    Now these SQL*LOADER mappings run successfully.
    Alex.

  • Passing Parameter to Process flow

    Hello,
    I have a mapping that has input parameter. Now i create a process flow and use this mapping, each time i run the process flow it prompt for the parameter
    Is there a way to pass the parameter to the process flow directly withput prompting ?
    Thanks

    Hi ,
    I found something related in doc. http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_processflows.htm#i1173362
    "If a mapping contains a Mapping Input Parameter operator, specify a value according to its data type. The Process Flow Editor expects to receive a PL/SQL expression when you add a Mapping Input Parameter operator to a mapping. If the Mapping Input Parameter is a string, enclose the string in double quotes."
    But it is not clear how to do this ?
    Thanks

  • How to stop OWB Process Flow job

    I have a problem.
    For scheduling OWB Process Flows I use EM (create Job - SQL Script) in which I schedule jobs with script @/home/oracle/scripts/oem_exec_template.sql.
    Sometimes it happens, that the job doesn't finish and I also can't expedite it through Workflow manager because it is not listed there. So next executions for this job doesn't fire, because it is still active (it is shown in EM as Running …..and also I can't stop it there).
    I also can't find the session for this job and also in dictionary I can't find the job, I went through these views, but nowhere I can't find any of my scheduled jobs, and of course also not the ones that are still running.
    DBA_SCHEDULER_JOBS
    DBA_SCHEDULER_RUNNING_JOBS
    DBA_SCHEDULER_JOB_RUN_DETAILS
    Where in dictionary can I find my jobs?
    How can I kill my running jobs?
    OS: Red Hat Linux 3
    DB: 10.1.0.3.0
    OWB: 10.1.0.2.0
    I'm quite desperate about this isue,
    Thank you,
    Gorazd

    Gorazd,
    the best way to identify problem with processflow execution - using OWB Runtime Audit Browser.
    Other variant - using public OWB runtime view, for example for reporting executions of you process run this select under OWB repository owner or any OWB user:
    select created_on,elapse_time,return_result from all_rt_audit_executions
    where object_name='<your processflow name in uppercase>' order by created_on;
    RETURN_RESULT must be equal 'OK' and ELAPSE_TIME (in seconds) greater then 0.
    If this query returns rows with null RETURN_RESULT or RETURN_RESULT<>'OK' or with zero elapse_time and this cases match (by date) with EM problems then you need analyze process executions in more detail with Runtime Audit Browser.
    Alternatively use select from view ALL_RT_AUDIT_EXEC_MESSAGES / ALL_RT_AUDIT_MAP_RUN_ERRORS / ALL_RT_AUDIT_PROC_RUN_ERRORS.
    Oleg

  • Process Flow errors in OEM Scheduler

    Hi
    I'm using OWB 10.1.03. I've created 2 process flows that load data from different sources. I have also set up a job schedule on Oracle Enterprise Manager (OEM) that runs a stored procedure. This procedure comprises two steps:
    (1) Start a loop and check for a table flag. If flag set then Run Process Flow 1 (using
    ret:= wh_runtime.wb_rt_api_exec.run_task('TARGET_LOC','PROCESS','WF_NAME','','',1)). Else keep looping until flag is set.
    Then immediately after Process Flow has run,
    (2) Start a loop and check for a different table flag. If flag set then Run Process Flow 2. Else keep looping until flag is set.
    If there has been an error in Process Flow 1, the mapping completes with error and an email notification is sent. However, according to the stored procedure, Process Flow 1 has completed and it therefore moves onto Process Flow 2.
    Is there a way of identifying if a Process Flow has completed with an error or warning, and therefore preventing the procedure moving onto step 2?
    Thanks
    GB

    Hi
    I managed to solve this by using part of the oem_exec_template.sql script within my stored procedure. I used l_audit_result to check the status of the workflow run and raised an exception if it was not a success.
    GB

  • Not contain the userid as part of the password (Password Rule).

    Hi Team,
    We are using SAP Netweaver 6.40 and i am trying to set "Not contain the userid as part of the password " as part of the password rules we have and looks like this predefined SAP rule is This rule applies only in systems up to SAP R/3 4.6D.Can anyone lemme know how this rule can be manually implemented.
    Thanking you.

    Hi,
    yes you are right.
    As of Release 6. 10 (Web Application Server), this rule "Not contain the userid as part of the password "  was removed.
    check  Note 2467 - Password rules and preventing incorrect logons
    it is not possible to implement this rule manually. but you can add all userid in table USR40 as exception.
    so user can not use his userid as password. but you can only prevent that user is not used his userid as password ,
    the requirement of  not containing userid as password is not fulfill
    regards,
    kaushal
    Edited by: Kaushal Malavia on Jun 26, 2008 11:54 AM

  • URGENT: error during deployment of a process flow through OMB

    I have a process flow which uses a mapping. The mapping has already been synchronized to its corresponding process flow activity.Now i again synchronize the activity with the same mapping to which it was already synchronized
    OMB+> OMBSYNCHRONIZE PROCESS_FLOW 'MAIL_TRY/RND_MAIL' ACTIVITY 'EMP_COUNT' TO MAPPING '/NEW_PROJECT2/NEW_SOURCE/EMP_COUNT' USE (SYNCHRONIZE_STRATEGY 'REPLACE
    ', MATCHING_STRATEGY 'MATCH_BY_NAME')
    Synchronize Completed
    now i create a deployment action plan and deploy the process flowand get the error as follows:
    OMB+> OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'MAIL_TRY' ADD ACTION 'MAIL_TRY ' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE PROCESS_FLOW_PACKAGE '/NEW_PROJECT2/MOD1/MAIL_TRY'
    Action plan MAIL_TRY created.
    OMB+> OMBCOMMIT
    Commit complete.
    OMB+> OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'MAIL_TRY'
    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..
    In order to remove that error i made the following alteration in the mapping property:
    Context changed.
    OMB+> OMBALTER MAPPING 'EMP_COUNT' SET PROPERTIES (GENERATION_LANGUAGE) VALUES ('PLSQL')
    and then deployed the process folw only to get the following error:
    OMB05602: An unknown Deployment error has occured for Object Type Trying to access invalid Object.
    Element ID: 282901
    Status: 4
    Owning FCO: 282896
    Thanks in advance!!!!!

    A couple of things you could try are:
    1 - OMBCOMPILE MAPPING 'EMP_COUNT' instead of doing the OMBALTER as this will ensure that the property is set correctly, just in case there's any problem there,
    2 - "set OMBDEBUG on" before doing your OMBDEPLOY to display any additional stack traces.

  • FTP process

    Here is my problem.
    The NT server sending FAT files (thru' FTP) to Sun server frequently.
    The processing engine in Sun server pick up these files, once it deducts the files
    in the input location. My problems come, some time the unexpected delay in the FTP process
    The processing engine pick up the files for processing while the FTP is in progress.
    Some of my friends told me " processes cannot take a input file for processing
    While the FTP process has not completed fully. In SunOS, attempting to access any
    File for processing which is under FTP process will fail"
    Is it true? Pls reply me asap.
    Thanks.
    Gani

    This may or may not be true in SunOS. It is certainly not true in other operating systems.
    It should not be hard to set up a test -- start uploading a very large file to your server, and try reading it via a program while the upload is still taking place.

  • How to configure the "FTP" in process flow

    host1: owb for solaris 5.9
    host2: erp system with solaris os
    i create a workflow process in owb,the purpose is use "ftp" command to get a
    file from host2. the "ftp" in workflow process with
    the
    following parameter:
    ===
    1:COMMAND : /usr/bin/ftp
    2:PARAMETER_LIST: ?"${Task.Input}"?
    3:SUCCESS_THRESHOLD: 0
    4:SCRIPT :
    open ${Remote.Host}
    ${Remote.User}
    ${Remote.Password}
    lcd ${Working.RootPath}
    cd ${Remote.RootPath}
    get local.login
    quit
    ======
    at the same time ,i create two location in FILE LOCATION node
    with names:"Res_REMOTE_LOC","Tar_LOCAL_LOC", Then configure the workflow
    process
    remote location: Res_REMOTE_LOC
    working location: Tar_LOCAL_LOC
    =====
    in runtime repository ,i deploy the workflow process success,but when i run the
    workflow process ,it run all the time!
    why?please help me!
    tks a lot

    Igor,
    I followed the examples given in this thread, and checked the case study in the PDF, but am still not able to 'get' a file using FTP to the desired location.
    I have an FTP work flow configured with the Path Settings pointing to: REMOTE LOCATION is a w2k server, WORKING LOCATION is on Unix. These locations are registered in the Deployment Mgr properly.
    I am able to PUT a file to win2k from Unix, but not GET.
    This is caused by the fact that, during FTP WF execution, it is ran as Unix user 'oracle', whom do not have write access to the Root Path registered for the WORKING LOCATION. (I can do a get to /tmp).
    Also, I am getting these messages in the execution log, even if the FTP was successful:
    WARNING: Log file truncated - see RAB for further information.
    ftp: ioctl I_PUSH ttcompat: No such device or address
    ftp: ioctl(TIOCGETP): No such device or address
    All of these problems indicate that the run time Unix user, 'oracle', doesn't have sufficient rights to various directories. Is it possible to force OWB use the userid that was registered for the WORKING LOCATION?
    Thanks.

Maybe you are looking for