Standalone workflow procedures

Anyone have an elegant solution to the following: We're converting SQL scripts used to populate a data warehouse into autonomous transaction PL/SQL subprocedures to be called by simple workflow procedures. Several of the scripts are required to drop and create tables, so we're coding the SQL within 'execute immediate' in PL/SQL. The problem is that the scripts are long and contain many embedded single quotes within functions, 'IN' statements, etc., so converting them to strings is a real pain. Unfortunately, we're using Standalone WF, not the embedded apps version, so concurrent events aren't available to us (I understand that they can be registered to run SQL scripts).
Does anyone have any other ideas or solutions for this situation?
Thanks in advance,
Matt Daniels
Bellsouth Telecommunications
205.977.1206
[email protected]

Another possibility could be to look at using Oracle Enterprise Manager to run SQL scripts in response to certain events/messages enqueued on AQ. You might want to look at the Oracle Warehouse Builder product, they use workflow and Oracle Enterprise Manager to coordinate the Extract/Translate/Load process.
Anyone have an elegant solution to the following: We're converting SQL scripts used to populate a data warehouse into autonomous transaction PL/SQL subprocedures to be called by simple workflow procedures. Several of the scripts are required to drop and create tables, so we're coding the SQL within 'execute immediate' in PL/SQL. The problem is that the scripts are long and contain many embedded single quotes within functions, 'IN' statements, etc., so converting them to strings is a real pain. Unfortunately, we're using Standalone WF, not the embedded apps version, so concurrent events aren't available to us (I understand that they can be registered to run SQL scripts).
Does anyone have any other ideas or solutions for this situation?
Thanks in advance,
Matt Daniels
Bellsouth Telecommunications
205.977.1206
[email protected]

Similar Messages

  • Workflow Procedure

    Hi,
    One of the Workflow Procedure is running in Back end which makes system slow, how I could know this PL/SQL procedure and what is its function
    begin WF_ENGINE.CB(:p1, :p2, :p3, :p4, :p5, :p6, :p7); end;
    Regards
    Bilal

    Hi,
    begin WF_ENGINE.CB(:p1, :p2, :p3, :p4, :p5, :p6, :p7); end;Check eTRM website for details about this package.
    eTRM
    http://etrm.oracle.com
    Thanks,
    Hussein

  • Standalone Workflow

    I would like to demo the standalone workflow product. Is there a way to run workflow WITHOUT using Oracle9ias?? Based on what I've read, this seems to be possible, yet all of my research either leads to Oracle9ias or to a dead-end. Can I Download workflow to run with a 9i database?? I have come up empty with regards to finding a downloadable version of the Standalone version of Workflow. Any assistance in this area would be greatly appreciated!!

    hi,
    I have installed a standalone version on my laptop. Assume we are talking about the latest 9i product stack.
    You need the 9i Database. To install workflow, choose the "Integration" option in the 9i Installer, then choose custom, and then choose the workflow component.
    That would install the standalone workflow server component, and other common files associated to AQ.
    For the Builder, you have a choice of using the 9iClient CD, OR - if i remember right, it might be in the 9i Database CD along with the Server component.
    The standalone here refers to the fact that the wrokflow is not bundled with the 11i applns stack.
    hope this helps
    -ananth

  • Install standalone workflow

    i install standalon oracle workflow by the script below:
    rem Oracle Workflow install script
    rem Make sure all arguments are assigned or java will hang
    "C:\Program Files\Oracle\jre\1.1.7\bin\jre" -classpath "C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;c:\OraHome9\wf\install\WorkflowCA.jar;c:\OraHome9\jlib\ewt-3_3_6.jar;c:\OraHome9\jlib\share-1_0_8.jar;c:\OraHome9\jlib\swingall-1_1_1.jar" WorkflowCA /wfdir c:\OraHome9\wf /orahome c:\OraHome9 /wintz "?i???????" /systemroot "C:\WINDOWS"
    but it always return error:
    Exception in thread "main" java.lang.NoClassDefFoundError:WfFrame at WorkflowCA.main
    i sure all the .jar is in their place.
    why?
    tks a lot...

    Please follow up with Oracle Support on install issues - you shouldnt be seeing these kind of errors.
    i install standalon oracle workflow by the script below:
    rem Oracle Workflow install script
    rem Make sure all arguments are assigned or java will hang
    "C:\Program Files\Oracle\jre\1.1.7\bin\jre" -classpath "C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;c:\OraHome9\wf\install\WorkflowCA.jar;c:\OraHome9\jlib\ewt-3_3_6.jar;c:\OraHome9\jlib\share-1_0_8.jar;c:\OraHome9\jlib\swingall-1_1_1.jar" WorkflowCA /wfdir c:\OraHome9\wf /orahome c:\OraHome9 /wintz "?i???????" /systemroot "C:\WINDOWS"
    but it always return error:
    Exception in thread "main" java.lang.NoClassDefFoundError:WfFrame at WorkflowCA.main
    i sure all the .jar is in their place.
    why?
    tks a lot...

  • ERROR: The Service Component Container is not running: Standalone Workflow

    We're trying to get the java notification mailer established through the OEM 10g Application Server Control. But the mail agent listener servlet container (WFALSNRSVC), and the mailer service servlet container (WFMLRSVC) are not running. Because of that, I cannot get any other parts of the mail configuration running. Note, I can successfully complete getting through the 8 steps of the "Workflow Notification Mailer" configuration (e.g. IMAP and SMTP mail accounts work fine and are accessible from the Workflow application server). What's the trick to getting the servlet containers running?? All I find in Oracle documentation is that these must be running before you can do anything, but I don't find anything on troubleshooting when they are not running.
    Thanks.

    Hi,
    I'm having the same problem as you did.
    I've tried pushing the button Go in the Oracle Workflow Manager - Service Components.
    And it showed
    An error has occurred!
    The Service Component Container is not running.
    Should I uninstall my Oracle Workflow?
    And install a new installation of Oracle Workflow?
    What does it mean by the "wfinstall"?
    Is it the Oracle Workflow Configuration Assistant? which I can access using the wfinstall.bat.
    Or should I replay the Oracle Workflow Configuration Assistant (wfinstall.bat) and choose Upgrade option?
    Or should I uninstall all of my Oracle installation and start installing from the beginning?
    BTW, what if I don't use (or have) OID?
    Is it required?
    Any clue would be grateful.
    Thanks.
    Buntoro

  • Stabalizing - Within the workflow (procedural question)

    Hi,
    As mentioned before, we are shooting miniature models for our project. Some of the models are attached to rigs that will allow them to move up/down, left/right, or rotate 180degrees on one axis. We have several choices of points where we attach the models to the rigs, and that allows us to get the shots we want. Out camera is on a tripod, that is attached to a dolly. We rarely use the zoom functions, but rather dolly in and out.
    Some of the rigs require more work, and the footage we have from them leave a lot to be desired - while we work on them, I am using the footage to practice some techniques - in this question, it is stabalization. The rig in question is a pole, that slides purely up and down with the model attached to the top - imagine a helicopter landing scenario. The model starts high, and is brought gradually down. The problem is, that the rig was not very smooth during the first use, and there is quite a lot of juddering on the model itself. it wobbles as it descends. The camera also moved away from the model during the shot.
    I would love to stabalize the model, not the camera movement - what is my best workflow:
    1) Key wobbly footage, then warp stabalize?
    2) Stabalize full shot, then key
    3) process shot (from keying, all the way to composite), then stabalize output.
    Am I correct in saying that warp stabalizer would be my best bet to stabalize talen motion?
    Pierre

    Hi,
    I just finished a test I had set up, and to me, it seems that this is quite a good solution (but is it the most efficient?)
    1) Import footage
    2) Key footage (in my case, using the GMatte/Cmatte/Ematte techniqur to get a beautiful thinn edge to work on)
    3) Stabalizing one of the above precomps with warp stabalizer
    4) Copying and pasting the result onto the other two
    This seemed to smooth out the wobbles nicely, although the movement is still detectable. I am not sure that warp stabalizer IS the best tool to remove talent wobbles!
    Pierre

  • Help... Installing Standalone Workflow

    Help... please...
    I would like to install ORACLE*WORKFLOW on my pc.. running Windows/2000...
    I have downloaded from OTN... from the following web-site.. http://otn.oracle.com/software/index.html
    Oracle9i Developer Suite
    Oracle9i Application Server
    Is that ALL I need to install in order to run WF builder and have access to the web-pages that support WF...
    SUCH as... the NOTIFICATION WEB-PAGE and the Oracle Workflow HOME page... so view the all activities (funcations/notifications/processes... etc...)
    IS there something else that I need... ?
    I have installed these (2) products... but, I am missing something... as I can not access the notification system or the web-pages where I can view everthing once a process has started...

    Hi Frank,
    I've installed my workflow client from the oracle DB installation CD (start universial installer, install client, custom type, then you get to choose oracle workflow client).
    Besides this you need the server part of the workflow (again universal installer, server instllation, custom, select components, click workflow). With this you'll also need http server, java option etc, but it'll be chosen automatically. Server installation is quite complex.
    HTH,
    Marko

  • What is the best workflow procedure for importing DV SP 16x9 footage into FCP7 and then exporting the best quality 16x9 to standard DVD so that it looks great (or at least good) on a 50" Samsung LCD TV ?????? Please help! anybody?? Thanks!

    We are using a Sony HDV-Z7U camera for acquisition. We recently recorded an event using the camera's non HD capabilities. We set the camera to record "DV SP" 16x9 settings on both Mini-DV tape and CF card.
    To import the DV SP footage into FCP7 we chose the "DV NTSC anamorphic" setting in the log and transfer settings window. After a successful transfer from the CF card (the CF card held approximately 83 minutes) we checked the size of the file and found it to be 16 Gigs! Why so big? An 83 miniDV tape shot in SD should easily fit on a standard 4.7 gig MPEG2 DVD.
    We need to burn DVDs of this show - we sent it to compressor and got horrible quality.
    What is the best setting to use in FCP7's log and transfer settings window to import DV SP 16x9 standard def. footage and what is the best method for exporting for outputting this footage to DVD that preserves the original quality of the DV SP footage?? Anyone? Many thanks

    > Why so big? An 83 miniDV tape shot in SD should easily fit on a standard 4.7 gig MPEG2 DVD.
    No it doesn't. DV is 13GB per hour.
    In any case, a Video DVD uses the MPEG 2 codec, not DV.
    >What is the best setting to use in FCP7's log and transfer settings window to import DV SP 16x9 standard def.
    DV NTSC anamorphic.
    >what is the best method for exporting for outputting this footage to DVD...
    Use the Compressor DVD preset "Best Quality 90 mins".
    >...that preserves the original quality of the DV SP footage?
    Not going to happen, you are compressing by a factor of 1:4. Shooting as HDV would have given you better quality material to start with. DV is at the bottom end of the scale.

  • Workflow webpage for Standalone problem

    I'm having problems getting Standalone workflow setup. I see references in the documentation that the first thing to do is Set Global User Preferences. To do that connect to <webagent>/wfa_html.home How do I get a website for
    workflow? I have apache running as part of the database install, but I don't even have this page on my server.
    Let me explain my environment.
    I'm using 9.2.0.3.0 on linux. I had installed the service pack 2 previously when working with XML. I did not install oracle workflow previously.
    I launched the installer and went to the integration section, selected Custom and selected ORacle worflow and Oracle Internet Directory which was automatically selected.
    Install went fine until workflow configuration reached Oracle Workflow XML Loader 2.6.2, at which point it hung.
    The schema for workflow is there. Did the webpages for
    workflow not install because of the incomplete configuration?
    Is the fact that I have possibly newer database version of
    XML causing a problem with the config?
    Anything I can do about this?
    Thanks,
    Tim

    Hi Tim,
    I'm using workflow stand alone too, so I´l try to help U.
    The workflow web page runs over the workflow's database based on modpls technology.
    When U install the workflow server many packages are installed at database, some of then was written with htp.<comand> to be turned in Web Pages using modpls.
    So, U have to do the followng steps:
    At server workflow
    install the workflow server
    create a DAD (the http of Apache server oracle services must be running, access http://localhost:8080/ so use hiperlink mod plsql Configuration Menu and after this the link DAD settings, create your DAD)
    acess the workflow web page to configure Global preferences and test processes (http://localhost:8080/pls/yourdad/wfa_html.home
    At PC client
    install the workflow builder to design your own processes
    upload your processes to database.
    Search the document a87449.pdf and execute steps o 2nd chapter.
    I hope it will help U,
    Raquel

  • Workflow mailer for workflow 2.6.2 Standalone on windows 2000 server?

    Hi All,
    Any idea, which mailer is an option on above config?
    I am running into problems, trying to configure with MAPI and
    Sendmail is not an option (am not on unix).
    Saw article about how to configure for SMTP (java based mailer) but
    it talks about 11i alone, and I do NOT have 11i, just standalone workflow 2.6.2.
    U think, I am running into a brick wall or are there any options possible?
    TIA,
    Deepak

    Try asking Workflow questions on the workflow discussion forum : Workflow
    You will probably get better results.

  • How to Launch Workflow?

    Hi Guys ,
    I have created a custom workflow in workflow builder that will simply sent a message to next user.i call it from standalone workflow it is working well but when i am calling it from oracle form that is registered in applications it is not generating any notifications .How i can diagnose ?i executed this procedure directly from database but it is not iniating any workflow.
    below is the procedure that i written .
    create or replace package body XX_WF__PKG is
    procedure test1(pitemtype varchar2,pitemkey varchar2,pprocess varchar2)
    is
    begin
    wf_engine.LaunchProcess
    (itemtype=>pitemtype,
    itemkey=>pitemkey,
    process=>pprocess
    WF_ENGINE.SetItemAttrText(pitemtype,
    pitemkey,
    'TO',
    'USERSK'
    exception
    when others then
    wf_core.context('xx_wf__pkg','CREATE_MC_MESSAGE',pitemtype,pitemkey,'','');
    raise;
    end;
    end XX_WF__PKG;
    Kindly guide me.

    Please look at using this class
    oracle.apps.fnd.framework.webui.OANavigation
    This class provides Java wrappers for Oracle Workflow Engine's PL/SQL APIs.
    There are methods like startProcess and createProcess in this class.
    Let me know if this works.
    Thanks,
    Tapash

  • Difference between IS and AS in procedure?

    difference between IS and AS in procedure?

    prakash wrote:
    hi,
    http://www.oracle.com/pls/db111/portal.portal_db?selected=5&frame=#sql_and_pl_sql_languages
    Here you get everything ..
    functionality wise there is no difference between IS , AS of a procedure .
    Thanks,
    P PrakashI think oracle document do not talk about the Difference or No Difference between IS and AS. So i feel this is not a question that need to be pointed to the document.
    To OP
    Basically as others said there is no difference between them. They are just gramatical representation.
    For example when i create a standalone stored procedure i tend to use AS and when i create a procedure inside a package i tend to use IS. Its just the choice you can make.

  • Urgent help needed in inserting data into a custom table in oracle WorkFlow

    Hi
    I am trying to get data from the WF and insert into a custom table..
    I read that workflow procedures WONT allow commits...
    Oracle Workflow will not support autonomous commits in any procedure it calls directly. If you need to perform commits, then embed your SQL in a subprocedure and declare it as an autonomous block. This subprocedure must be capable of being rerun. Additionally, note that Oracle Workflow handles errors by rolling back the entire procedure and setting its status to ERROR. Database updates performed by autonomous commits cannot be rolled back, so you will need to write your own compensatory logic for error handling
    Have anyone did this..
    Please give me some idea ...It is urgent
    I am getting data using getitemattribute..and try to insert it into a custom table
    thanks
    kp

    Pl do not post duplicate threads - insert dont work in Workflow
    Srini

  • Workflow process for MIGO

    Dear All,
    I 'm new on the forum and I will greetly appreciate to share SAP experience and knowlege. I ' ve been doing MM and FI for only 2 years and I am very interested in workflow procedure.
    Here is my question :
    Can I set up a workflow procedure for the transaction MIGO in 3 steps
    The goal is to divide this transaction in 3 level of approbation to definitly accept a good receipt and to further proceed to Miro transaction.
    - First, an user must do the good receipt but the document should just be just maintained.
    - Second step, an user should confirm or modify the maintained document and park it. This user could not be the same one as the one that made the good receipt at the first level.
    - Finally, at the third level, an user will finally confirm the good receipt, post the document which will be available for clearing  in MIRO.  This user could not be the one that order the goods in first instance.
    Any help would be greetly appreciated.
    Hervé
    Edited by: H.moreau on Oct 19, 2011 9:24 AM

    There are some default approval processes available.  Luckily, there is one for a manager approval that requires no custom coding.  You can use this one:
    BeneficiaryManagerApproval
    This acquires approval from the beneficiary's manager. This can be associated with the following:
    The request types that have a beneficiary. Examples of such request types are Provision Resource and Assign Roles.
    All user models except Create User and Self-Register User.
    This composite must be associated at the operational level of approval because a request can have multiple beneficiaries at the request level.
    To the list of other available default approvals, you can check here:  http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/soa.htm#BABIHHBE
    If you want to do a custom approval, i would suggest the Oracle By Examples, they will get you started:  http://apex.oracle.com/pls/apex/f?p=44785:2:0:FORCE_QUERY::2,RIR,CIR:P2_SEARCH,P2_GROUP_ID,P2_PRODUCT_ID,P2_RELEASE_ID:Approval%2C1001%2C2019%2C131
    -Kevin

  • Error while calling Workflow APIs remotely

    I have standalone workflow engine. I have created views and workflow packages in another databases. These packages are calling workflow APIs internally using DB Link. I call these packages inside Powerbuilder. I start process from the PowerBuilder, process started successfully. User responded to the notification by logging into powerbuilder, it is also successful.
    But when user responds to last notification to END the process, I am getting following error:
    ORA-02074: cannot ROLLBACK in a distributed transaction
    ORA-06512: at "OWF_MGR.WF_ENGINE_UTIL", line 1263
    ORA-02074: cannot SET SAVEPOINT in a distributed transaction
    Is it wrong to call Workflow APIs remotely ? Any solution ?
    Regards

    Hi,
    I think, we had the same problem and was resolved by the following approach:
    1. define the external function call within one transaction unit...can use pragma.
    2. commit the transaction and then close the DB link using alter session....
    Suprabhat.

Maybe you are looking for

  • Increase memoryallowed to a program?

    Hi, Is it possible to increase the amount of virtual memory allowed for a particular program? I am running a big analysis (on a macbook with MAC OS 10.4) and my program tells me that I need to increase my memory to perform the analysis? thanks, seb

  • Sql server data file and log file

    hello experts what is the best way to save data file and log file in a two node cluster environment. i have an active\passive cluster with windows server 2008r2 enterprise and sql server 2008r2. i am new to the environment and i noticed that all syst

  • More abt xslt ...

    i have one more doubt pondering on.... ie creating a single xslt program template can be able to be used for various programming transformations in the future... or for each program we create we must create a xslt prog... for THE programs transformat

  • How do I get AVCHD Lite and AVCHD videos to play in Front Row?

    How do I get AVCHD Lite and AVCHD videos to play in Front Row? They use the .mts file extension, and can be played in VLC.

  • Quicken 2007 crashes. EXC_BAD_ACCESS (SIGSEGV)

    I am using Quicken 2007 (have been for many years). For some reason, suddently one of my quicken files crashes all the time at exit and appears to be corrupt. I have worked with Intuit support and have exhausted all their recommendations. I have rest