OWB / Workflow integration problem

We have a OWB 11g installation running on Windows 2003 64-bit Server.
We have 2 OWB databases, one design repository and one runtime repository.
Workflow is installed and configured on the runtime database.
Oracle Workflow Location is set to the runtime repository, and checks out ok.
OWF_MGR user is also created in the OWB Design Center, although Oracle documentation is very unclear on this; only stating that
+"6. Create a Workflow Proxy User.+
+When the Workflow instance is remote from the database hosting the Warehouse+
+Builder repository, you need to create a proxy-user.+
+Within the database hosting the repository, use SQL Plus to create a user and grant+
+it the OWB_USER role as a default. This enables the remote OWF instance to+
+connect to the services provided by the Control Center."+
We're able to deploy Process Flows from the design repository to the runtime rep, but when we try to execute them through workflow, the warehouse builder browser reports the following 3 errors:
R+PE-02075: Oracle Workflow failed to process the execution request for Activity LOAD_FP_INDEX:START1. This may be because dependent objects have not yet been deployed.+
ORA-20002: Failed to call "PFFPVSL_WB_RTI_WORKFLOW_UTIL".initialize. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available. ORA-20009: User OWF_MGR does not have access to the workspace with name:OWBRTREP and owner:OWBRTREP. OWF_MGR must be registered to access the workspace by the administrator or owner of the workspace
WB_RT_WORKFLOW_UTIL_11G.Execute_Start(PFFPVSL, WB_IK_20090213_135803_19093, 366, RUN) Wf_Engine_Util.Function_Call(WB_RT_WORKFLOW_UTIL_11G.EXECUTE_START, PFFPVSL, WB_IK_20090213_135803_19093, 366, RUN)
We've done the EXECUTE ANY PROCEDURE on the OWF_MGR user. The OWF service_doctor.sql script reports that "There are errors in one or more PL/SQL packages and functions", but fails to say anything else - everything is loaded and seeded correctly.
But what we notice when comparing with our working 10g installation, is that the runtime repository target user (OWBRTREP) is totally empty of tables, views, procedures etc on the new runtime database, whereas it has about 250 tables and lots of other objects on the 10g installation. This user is created through the OWB 11g design center, so why is there such a difference? Has something gone wrong when creating the runtime workspace?
(It was created with the Repository Assistant, which we had some trouble with on the 64-bit server, but after some work it now seems to run ok, exiting with success message after creating workspace user.)
Regards,
-Haakon-

Haakon,
Lets assume you have two databases with OWB Repository A installed on database A and OWB repository B installed on database B.
Repository A - your Design repository
Repository B - your Runtime repository (this is your target schema / database)
I hope you have control centre service running under Repository B and you have installed OWF schema (usually OWF_MGR) under repository B.
I hope in your repository A you have created a new configuration and new control centre to point to repository B and that configuration is active.
Now logon to repository B using repository owner login and add OWF_MGR and other target databases as your target user under SECURITY/USERS.
Create similar users under repository A.
It works for us in OWB 10g but i dont know about 11G might be something related to WORKSPACE concept.
Hope this helps.
Thanks,
Sam.

Similar Messages

  • WDA - Workflow Integration Problem...

    Hi pple,
    Is there any standard SAP ABAP Web Dynpro Application which is integrated with Workflows?
    I mean, is there any Standard Workflow that calls ABAP Web Dynpro Application?
    Actually, I am able to call the ABAP WD Application using SWFVISU application, but the only problem is...HOW CAN I SEND DATA FROM WORKFLOW CONTAINER TO WD ABAP ?
    Did anyone get to work in this area? If so, can you help me in giving me an idea of how to do this.
    I am trying to get the Workitem number from UWL inside my WD Application, but I am unsuccessful...Did any one tried doing this...???
    I achieved the same in JAVA WD Applications using
    <b>Str_WI_ID = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("WI_ID").</b>
    This WDProtocolAdapter extracts the WI number from UWL inside my JAVA WD Application.
    Is there any such class in ABAP also which does the same?
    Regards,
    <i><b>Raja Sekhar</b></i>

    Hi Rajasekhar,
    The WDA program that you want to integrate with workflow has a window with input plug "DEFAULT". Add "WI_ID" as a parmeter to the handler method of the plug.
    You can now use that parameter directly in the handler method as the WID is passed as
    parameter from the UWL.
    Thanks,
    G.Jayaprakash

  • OWB SAP Integrator Problem

    Hello,
    i have a problem with the needed library from SAP that should be in the OWB_HOME/owb/bin/admin folder.
    I am using OWB 10.1 on a linux machine, so i put the librfccm.so in this folder and set it to the LD_LIBRARY_PATH
    When i want to create a sap source module, i get the error message, that the librfc32.dll is not correctly installed. Do i need this file too? Thought it is just for Windows.
    Or it is just a display message bug and it could be possible that die librfccm.so maybe is the wrong version?
    Thanks for your help
    Greetings
    Message was edited by:
    user461428

    The librfccm.so is the file, i put into the specified directory. I got the file from the sap support site.
    I also installed both the database and the owb client on a windows server. I put the librfc32.dll in the specified directory. But there i have another problem. On this machine it works to create a sap module, but when i want to set the SAP R/3 version. It is just possible to choose SAP R/3 Version 3.X.
    When i choose 4.X and want to go further, nothing happens. No error message, it loads just a second. The next page where the connection details are set does not appear, the current page remains.
    I tried several dll's from the sap site.
    What could be the cause for this problem?
    Thanks in qdvance, and for the answers before.
    Message was edited by:
    user461428

  • Start OWB workflow from APEX

    Hi together,
    My challenge is to start an OWB workflow from an apex procedure.
    Procedure:
    declare
    numb number;
    audit_id number;
    begin
    numb := rtruser_blueprint.exec_api.execute('LOC_A014_OWF_MGR', 'PROCESS', 'LOAD_CALM_DELIVERY', ',', 'DELIVERY_ID_IN=6', audit_id);
    end;
    My problem is the following error:
    ORA-06565: cannot execute SET ROLE from within stored procedure
    This error occures at the following row in the execute-Procedure in the package exec_api (standard owb execution package):
    dbms_session.SET_ROLE('OWB_D_rtr10201_blueprint');
    dbms_session.SET_ROLE('OWB_O_rtr10201_blueprint');
    If I run this script directly with sqlplus, the procedure works fine. As a result of this, I assume, the problem has to do with the grants which the apex execution user (APEX_PUBLIC_USER) doesn't have in contrast to the blueprint user (which is schema owner)
    More informations about the environment setup:
    The apex workspace is bound to the database - user: BLUEPRINT.
    BLUEPRINT has the grant to execute the procedure 'EXECUTE' in the package 'EXEC_API'. The 'EXEC_API' package belongs to the user 'RTRUSER_BLUEPRINT'.
    My concrete question is: Which rights / grants does which user need to execute the procedure directly from APEX?
    Thanks for your help!
    Mirco

    What account were you using when you ran the 'execute_api' procedure from SqlPlus ? Also, all SQL and PL/SQL from APEX is executed as the application's parsing schema id and not the schema used by APEX to connect to the database.

  • Workflow integration with Aperture or iPhoto, and storage/deletion questions.

    I have been using my iPad to download and view photos when I am travelling. I liked the fact that I could delete bad photos or do basic edits like crops and straightens in the "Photos" app and those edits would be saved when I transferred the photos to Aperture. And furthermore, the edits would be shown in Aperture as edits with the ability to revert back to the original or modify those edits later (for example if I wanted to change a crop or fine tune a straighten). This is an example of nearly perfect workflow integration, only problem is that the tools are pretty basic, for example the straighten tool requires an awkward gesture and has no control for fine tuning.
    Now when I bought iPhoto for iOS I figured it would be a more advanced version of that except with more complex editing abilities. However, when I make my edits in iPhoto for iOS, no matter how I import my photos onto my mac there seems to always be two different versions of each photo rather than having both the original and the edit combined like when I edit directly in the "Photos" app. And there's no way to fine tune the edits once imported into iPhoto or Aperture like there is when I edit the photos inside of the Photos app. Is this the correct behavior, and if so, is there anyway to make iPhoto for IOS behave more like the Photos app editing mode in terms of workflow integration.
    Also, I am unsure how the photos are stored in iPhoto for IOS. If I have a bunch of freshly imported photos in my "Photos" app's film roll, and then I edit them all in iPhoto for iOS, I now have two versions of each photo - one in iPhoto and one in the film roll. If I want to delete some photos to save space, can I delete all of the originals in the Film Roll and just keep the edits in iPhoto until I can sync with my Mac, or will that delete it in both places? Manually saving each edit as a new photo in the Film Roll and then deleting the original is tedious. Is the iPhoto app's library only storing the edited versions while the film roll is only storing the originals? Seems kind of like a weird way to handle things, and very unintuititive for those of us used to either iPhoto or the iOS film roll method of editing.
    I'm a fairly advanced user and all of this is pretty confusing to me. It seems like I might just have to ignore iPhoto for iOS and go back to my old method of editing in the Photos app for workflow integration purposes, but I wanted to check to see if I was missing something or doing something wrong first before giving up on iPhoto for iOS.

    Hello Robert. wow, dense prose...
    this wil be more transversal.. hope you'll forgive me.
    iPhoto has several shortcomings that other people might point out. I'll just mention a few.
    when you adjust the image, using the adjustement HUD that floats around just like the one in aperture, you're making destructive pixel changes. True, iP 6 has a way of keeping the original untouched, but the two images will live separate lives (in albums, etc). Furthermore: once you move to the next picture you want to enhance, all the adjustment HUD sliders return to zero. This means that you'll never be able to return to an image and visualize the changes you made to the picture looking at the sliders. You'll have to guess. and restart from scratch.
    About quality: the adjustement sliders in Aperture are waaay more subtle. iPhoto sliders impact the image in a very visible way.... as you "touch" will immprove, you might start to feel that adjusting with iPhoto is a bit gross.
    File renaming: personnal opinion: don't bother. set your camera to increase numbering always... and if possible choose a meaningful prefix (few cameras allow that, the Nikon D200 does). beyond that, I don't have time for this, and don't need it... keywording images is a much more effective way of making them easier to locate. my own view. others will disagree.
    duplicates: lots of people have identified this shortcoming in aperture. considering in version 1.5 they took the time to be able to identify referenced masters in a pretty comprehensive way (using a bunch of data like name+ date/time of capture to reconnect to a lost master), I'd be really surprised if the next major version doesn't fix that.
    Aperture accepts to import/reference your iPhoto folder but I don't think the former will see changes made in the latter..?
    just a few ideas.... HTH
    yours
    maxpol

  • What command would you use to check for allocation, structural, or logical integrity problems?

    What command would you use to check for allocation, structural, or logical integrity problems?

    Wondering if you are looking for DBCC CHECKDB command? For more information, on that command, try to look at this:
    http://technet.microsoft.com/en-us/library/ms176064.aspx

  • OWB Workflow Help

    Im conducting a proof of concept using OWB Workflow version 2.4. To give some background, the objective is to run numerous dependant SQL scripts that in effect hand craft the ETL process, at a pre-scheduled time, that provide logging and re-starting functionality.
    With the distinct lack of publications and documentations Id appreciate any feedback anyone may have on the following:
    1) Is it possible to restart a process at a step midway through the flow. For example the 3rd SQL Activity step out of 10 may have failed and instead of starting over, its a requirement to re-start the step that failed.
    2) I've read that Oracle are rumoured to be de-supporting the workflow functionality, if so then what is their proposed method of scheduling and controlling ETL jobs.
    3) Can a log file generated by the SQL Plus activity be attached to the failure or success email activity?
    Any input would be appreciated, also any pointers to OWB publications or documentation, other than the Oracle manuals of course.
    Thanks in advance
    James

    We have been working towards something similar, and the approach we have settled on is as follows:
    1) We have added our own runtime-audit tables which track the most recent process flow run date, final status, and the completion status of each mapping. So, a new run can see if a) this run is a restart, in which case we set our max date for drawing data over to be the run date of the last run, and b) what mappings ran succesfully. This way, a function called needs_to_run(mapping_name varchar2) returns a true/false answer to see if a given mapping needs to be executed on this run. The logic is pretty simple
    if run_type is full_run or (run_type is restart and nvl(last_run_status,'FAILURE') of this mapping is 'FAILURE')
    then
    return true;
    else
    return false;
    2) We do not use mapping objects in the process flows. We will only use SQL*Plus objects that do something like this:
    variable exec_return_code;
    declare
    retVal varchar2(30) := 'OK';
    begin
    if needs_to_run('ThisMapping') then
    ThisMapping.main(retVal);
    end if;
    :exec_return_code := retVal;
    exception
    when others then
    :exec_return_code := 'FAILURE';
    end;
    exit :exec_return_code
    So that each mapping will check first to see if it needs to execute before running thus skipping over fully completed mappings in the case of a restart. As to emailing log information, we currently do that in our post-mapping procedures in the event of a failure rather than logging to file and then attaching to email. We also have a last step that emails a summary of our audit info for each mapping run - but again this is all done inside pl/sql rather than spooling to file.
    Anyway, just some ideas to toss your way. And no, we haven't yet got it all completed and working yet, but it is coming along nicely and none of our individual proof-of-concept tests have provided us with any show-stoppers thus far.
    Cheers,
    Mike

  • OWB workflow question

    I'm an OWB-newbie (using PARIS) and have a question about OWB workflows.
    I want to create several mapping workflows.
    All the mapping workflows should send a mail with the outcome of the workflows (success, error, warning) to an administrator.
    I don't want to always code the same mail activity with the same parameter values.
    So my idea is to write one subprocess which handles the mail-routine with some input parameters (calling workflow-name, process state (success, warning, error)).
    In the subprocess I want to test the input parameter "process-state". If the value is 0 (success) then a mail with the workflow name as subject should be generated incuding an static text e.g. "mapping successful". If the value is 1 then "mapping warning" and so on.
    What OWB activity has to be choosen for testing the input parameter "process-state" like an if-then-else construct or a case-construct?
    How can the value of the input parameter "workflow-name" be included in the mail-body?
    Regards
    Martin

    To my experience, using the OWF for these things is not very practical. I would suggest that you would make your own PL/SQL procedude that does this, and then call that procedure from within the actual mapping (post-mapping), using the values you have there.
    This might not be what you want, however. I simply find the email capabilities of OWF too limited for actual work.

  • Outlook integration problem

    hello,
         I had configured the outlook properly , but  it does not able to send the main in my configred mail id & within the outlook.
             some times it is work properlly after new installation of outlook addon  but when  i am change  the user that time it is not work and also doen't get that check box of "send mail tho the outllok"
    please help me out of this.

    Check the following threads:
    Re: BO2069: Failed to send e-mail via Microsoft Out look"
    Outlook integration problem
    Do check the following SAP Note:
    Note 1064323 - OI: MS Outlook does not send new mail with OI installed
    Regards
    Satish

  • LR positioning / workflow integration schemes for presentation

    Do a couple of talks/year at conferences re front-end and workflow.  On the video/broadcast side of things, the subject of LR rarely surfaces.  We integrate LR into the workflow as a front-end pre-process prior to absorption by asset management. Thinking about positioning LR for our next talk. Looking for positioning / workflow integration schemes folks have an interest in sharing.

    I have used this workflow for developing a few shoots and it has been working a treat. Makes lightroom a pleasure to use for me now.
    The automation results in a RAW and jpg in the same folder with same name. Good for stacking and keeping a clean reference system.
    I discovered a bug that occurs with the samename RAW/jpg in the same folder. Posted a thread here:
    http://www.adobeforums.com/cgi-bin/webx/.3bc3493d
    Basically if you rename the jpg, the RAW gets renamed too. And you can move the jpg around in grid mode properly. If you don't need to rename or move the jpgs around then the workflow is fine.
    So I've made a slight adjustment to the workflow which auto renames the developed jpg.
    The steps are now:
    1. Export from LR to watched folder d:\develops
    - in the export dialog, make sure you select 'open in photoshop' in the dropdown menu.
    After this step you get a jpg (or whatever format you choose) in the sortbox with same name as the RAW, and the file open in PS.
    2. Edit and ctrl-S in Photoshop
    - photoshop will save the edited image to the develops folder (because this is where it opened the image from). LR then auto imports to the SORTBOX folder. Because there is already a jpg with the same name in the sortbox, LR will automantically rename the jpg with filename_2.
    3. Delete the original export jpg from the sortbox and move the edited filename_2.jpg to the destination RAW folder for stacking.
    The filename will be different and not be affected by the bug described. Still very quick and easy, possibly better if you don't mind the changed filename.
    Kev

  • Oracle Interconnect - Workflow Integration

    Hello,
    We are working on an integration project using interconnect 4.1 and workflow.
    In interconnect we use content based routing, for workflow we defined routing rules.
    When using the workflow integration we succeeded in receiving an event FROM
    interconnect TO workflow (WF_IN agent), when we complete the workflow proces (simple approve)
    we want to send an event back FROM workflow TO interconnect : but we don't know
    how to do this!
    - To which Agent do we have to send our event using the workflow builder (to agent, out agent?) ?
    - How do we have to define that agent (adress, Queue Handler, Queue Name, direction)?
    - Is there any documentation about this?
    Greetings,
    Jan Marckx

    Check out the white paper "Getting Started with the Oracle Workflow9i/2.6.2 Business Event System and Oracle9i Advanced Queueing"
    at http://otn.oracle.com/products/integration/workflow/workflow_wp_bes.pdf
    This describes Workflow's integration with AQ.
    Also, you could look at the "Using Workflow" chapter in the Oracle9iAS InterConnect User's Guide
    at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/integrate.902/a92174/workflow.htm
    Regards,
    Clara
    IS there any document containing an example of integration of Oracle Workflow with Oracle InterconnectOracle AQ ? If so, please send me the link from where I can download it.

  • Interconnect - Workflow integration

    Hello,
    We are working on an integration project using interconnect 4.1 and workflow.
    In interconnect we use content based routing, for workflow we defined routing rules.
    When using the workflow integration we succeeded in receiving an event FROM
    interconnect TO workflow (WF_IN agent), when we complete the workflow proces (simple approve)
    we want to send an event back FROM workflow TO interconnect : but we don't know
    how to do this!
    - To which Agent do we have to send our event using the workflow builder (to agent, out agent?) ?
    - How do we have to define that agent (adress, Queue Handler, Queue Name, direction)?
    - Is there any documentation about this?
    Greetings,
    Jan Marckx

    Hello,
    We are working on an integration project using interconnect 4.1 and workflow.
    In interconnect we use content based routing, for workflow we defined routing rules.
    When using the workflow integration we succeeded in receiving an event FROM
    interconnect TO workflow (WF_IN agent), when we complete the workflow proces (simple approve)
    we want to send an event back FROM workflow TO interconnect : but we don't know
    how to do this!
    - To which Agent do we have to send our event using the workflow builder (to agent, out agent?) ?
    - How do we have to define that agent (adress, Queue Handler, Queue Name, direction)?
    - Is there any documentation about this?
    Greetings,
    Jan Marckx Hi,
    I remember feeling your pain. Hope I'm not too late, or that you got it already.
    You sound like you already have two routing rules for your event
    APP1 -> WORKFLOW, WORKFLOW -> APP2.
    You need to create a process bundle in iStudio in Design mode with some Publish and Subscribe
    activities under it.
    In the Deploy tab, right click on Workflow and Deploy Event definitions to Workflow Bus. System
    and create the .wft file.
    Go into WF and check if the events show up in the Events page.
    Go into WF Builder and open the .wft file.
    Look for your Publish and Subscribe events in Processes and open the diagram.
    Click on the processes in the diagram to see the Event Name, Agent, Action etc. They should all
    be correctly generated) You need to look at the properties in the instance of the event (in the diagram) and not in the navigator.

  • Calling owb workflow job created in oem using pl/sql

    is it possible using pl/sql to call owb workflow job which is created thru oem
    can you pl be kind enough to share a sample.
    thanks

    Hi,
    The same question was just answered by another member a couple a days ago want to run owb mappings thru job schedule :
    sqlplus_exec_template runtime_owner location_name PROCESS process_name "," ","
    sqlplus_exec_template is in "D:\oracle\oraWB\owb\rtp\sql"
    Nikolai Rochnik

  • Configure the Database for FTP in an OWB workflow

    I want to use the ftp-operator in an OWB-Workflow. I want to use a script, that is managed in the owb itself.
    I configure the ftp operator in this way:
    COMMAND: /usr/bin/ftp (i can start the command at the command line)
    PARAMETER_LIST: ?"${Task.Input}"?
    SUCCESS_THRESHOLD: 0
    SCRIPT: [my with the ftp Commands]
    After the execution of the workflow i get the error message: "/usr/bin/ftp -n: not found"
    in Runtime Audit Browser
    Does anybody know what i have to do to get the ftp operator running?
    The operating system of the database server is HP UX.
    Thanks in advance
    Alexander

    Hi,
    why do you want to use ftp? As against going directly to the source database? (So much faster and easier). I haven't used ftp since the last century.
    Regards,
    Donna

  • Remedy Workflow integration

    Using IDM 7.1 and Remedy 5.6 (& 7).
    We have been able to configure a resource for Remedy and the test connection works fine. But we want to manage Remedy workflows (tasks / templates / CTI etc) and not user accounts on Remedy.
    But I have not been able to find any documentation for Remedy and much less for the Remedy workflow integration. The Resources reference is very sparse.
    Has anybody successfully integrated IDM with Remedy Workflows? Can you please provide some pointers.
    Thank you.

    Hi Jose,
    I've done this recently in our project.
    You need NOT to have a Lotus - SAP connector for this if you are in version ECC6.
    Try to access tcode SWNCONFIG. This will not require you to have any middleware or some sort. This is just plainly a CONFIGURATION task in the said tcode.
    Just search a documentation on SWNCONFIG Extended Notifications.
    Regards,
    Reymar

Maybe you are looking for

  • Redirect to two separate pages in the same cfform

    I'm a bit of a novice at this.Hoping someone can guide me on how to accomplish this. I have a simple selection list (below). If they user chooses the selection in red I want it to redirect them to a page other than the one in the cfform tag, but I ca

  • Syntax error in program "CL_HTTP_SERVER=CP " after EHP4 Upgrade

    Hi All, Iam getting ABAP dumps after upgrading my system to EHP4  Windows ABAP+JAVA stack, Syntax error in program "CL_HTTP_SERVER================CP ". Error in the ABAP Application Program The current ABAP program "SAPLHTTP_RUNTIME" had to be termin

  • How to Connct Macbook AIR to VGA screen  ??

    I bought HMDI mini adapter to my MacBook Air , and i want to connect it to VGA PC screen (LG LED) my screen with only VGA port ?? Help me ,Thanks

  • Parallel video streams

    Hi! I have a weird problem: I created video player component using OSMF (+example application from Sprint 9). Now I need to display many video players on the screen. When I display 1, 2, 3 or 4 streams everything is OK. But when I add new stream (fif

  • VM crash when returning unicode

    in my native method i have (LPWSTR)pCryptKeyProvInfo->pwszContainerName in UNICODE when i try to return it to the java application using return (*jEnv)->NewStringUTF(jEnv, pCryptKeyProvInfo->pwszContainerName ), the system crashes. i verify it my nat