FTP error in oracle workflow process

Hi All,
I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
The ftp site is on the same machine as owb server.
The following values have been passed
Command: ftp
Parameter List: /-A/localhost/
Success Threshold: 0
Script: delete filename
Output Message Received:
Starting Execution ETN_DELETE_FILE
Starting Task ETN_DELETE_FILE
Starting Task ETN_DELETE_FILE:FTP
Completing Task ETN_DELETE_FILE
Anonymous login succeeded for [email protected]
WARNING: Log file truncated - see RAB for further information.
Completing Execution ETN_DELETE_FILE
Please let me know about this.
Thanks & Regards
Bang.

I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
Property values
command ksh
script     pathname with that script file name (/tst/usr/script/filename.ksh)
or
command     mv
parameter_list     pathname with that filename
I feel this is very simple and easy to manage too.

Similar Messages

  • JNDI Error when Oracle BPM Process invokes an EJB Service Adapter

    Hi All,
    I am trying to invoke an EJB Service from my Oralce BPM process/workflow. I have provided the JNDI name in EJB service adapter in Jdeverloper also. Even though I have configured the JNDI in weblogic server properly, i am getting some JNDI invocation error (FabricInvocationException) as below.
    Can somebody help me on this.
    Non Recoverable System Fault :
    *<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Exception creating jndi context for ejb invocation:</summary></part><part name="detail"><detail>Unable to resolve 'XXXXXXInterfaceRemote'. Resolved ''</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>*
    Edited by: 920456 on Apr 2, 2013 2:09 AM

    Hi All,
    Still i am facing the above stated challenge, i am getting a JNDI error when i am trying to call it from Oracle BPM process.
    can somebody tell me Does Oracle SOA Suite - EJB Adapter version 3.0 has any runtime bugs ? etc.
    Bcoz in the below link it is given something like EJB Version 2 Are Not Supported During Runtime. So, i want to check whether any bugs.
    [Oracle SOA EJB Adapter Version bugs|http://www.oracle.com/technetwork/middleware/docs/aiasoarelnotesps5-1455925.html#intadapt]
    Regards,
    Satya

  • Error with Oracle Workflow Manager

    Hi
    Oracle workflow has just been installed on my first middle tier from the Content management SDK 9.0.4 CD.
    ( I have also an old working installation on the second middle tier, pointing to an old database 9.2.0.2)
    When I click on the Oracle Workflow Manager link in the oracle enterprise manager console
    I get the message : An error has occurred! Use Browser's Back button to go to previous page."
    versions
    DB 9.2.0.7.0 on AIX 5.3
    OAS infr 9.0.2.3 on linux AS-2.1 2.4.9-e.3smp
    OAS mid tier A 9.0.4.1 on linux AS-2.1 2.4.9-e.25BOOT
    OAS mid tier B 9.0.4.1 on linux AS-2.1 2.4.9-e.40smp
    LOGS
    em-web-access.log:
    172.25.21.97 - - [07/Feb/2006:16:46:06 +0100] "GET /emd/console/oam/wfm/sysStatus$ctxName1=mid904.ausmid.auselda.it$farm=mid904.ausmid.auselda.it$type=oracle*workflow$ctxType1=oracle*ias$target=mid904.ausmid.auselda.it*Oracle20Workflow HTTP/1.1" 302 288
    172.25.21.97 - - [07/Feb/2006:16:46:06 +0100] "GET /emd/console/oam/oamErrorPage$key=error1 HTTP/1.1" 200 6184
    em.nohup:
    06/02/07 16:46:06 java.lang.reflect.InvocationTargetException
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    06/02/07 16:46:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    06/02/07 16:46:06 at java.lang.reflect.Method.invoke(Method.java:324)
    06/02/07 16:46:06 at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.setDBConnection(WfOnLoadHandler.java:231)
    06/02/07 16:46:06 at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.doLoad(WfOnLoadHandler.java:119)
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    06/02/07 16:46:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    06/02/07 16:46:06 at java.lang.reflect.Method.invoke(Method.java:324)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    06/02/07 16:46:06 at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:313)
    06/02/07 16:46:06 at oracle.sysman.eml.app.Console.doGet(Console.java:152)
    06/02/07 16:46:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    06/02/07 16:46:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/02/07 16:46:06 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
    06/02/07 16:46:06 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/02/07 16:46:06 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/02/07 16:46:06 at java.lang.Thread.run(Thread.java:534)
    06/02/07 16:46:06 Caused by: java.lang.NullPointerException
    06/02/07 16:46:06 at oracle.apps.oam.workflow.stdalone.ias.WfIASIntgUtil.setDBConnection(WfIASIntgUtil.java:293)
    06/02/07 16:46:06 ... 29 more
    06/02/07 16:46:06 null
    06/02/07 16:46:06 java.lang.Exception
    06/02/07 16:46:06 at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.setDBConnection(WfOnLoadHandler.java:239)
    06/02/07 16:46:06 at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.doLoad(WfOnLoadHandler.java:119)
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    06/02/07 16:46:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    06/02/07 16:46:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    06/02/07 16:46:06 at java.lang.reflect.Method.invoke(Method.java:324)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    06/02/07 16:46:06 at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    06/02/07 16:46:06 at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:313)
    06/02/07 16:46:06 at oracle.sysman.eml.app.Console.doGet(Console.java:152)
    06/02/07 16:46:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    06/02/07 16:46:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/02/07 16:46:06 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
    06/02/07 16:46:06 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    06/02/07 16:46:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/02/07 16:46:06 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/02/07 16:46:06 at java.lang.Thread.run(Thread.java:534)
    06/02/07 16:46:06 null
    webwfm.log:
    [16:46:6:941, 2/7/06] getDBConnection: :DBConnection object not found in session, unable to get Connection
    [16:46:6:945, 2/7/06] java.lang.Exception
    at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.setDBConnection(WfOnLoadHandler.java:239)
    at oracle.apps.oam.workflow.handlers.WfOnLoadHandler.doLoad(WfOnLoadHandler.java:119)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:313)
    at oracle.sysman.eml.app.Console.doGet(Console.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    Hi, I have tried in two separate environments to create a new workflow farm and am getting the same error. I have already installed the Feb CU for both workflow manager and the service bus. I rebooted all servers after installing. 
    I noticed a message in the UI saying "Configuration operation failed. Please drop databases and use ‘Create a New Farm’ again." When I look in SQL Management Studio no databases have been created. The new farm wizard fails on the first step.
    Any ideas on a fix for this? Changing the format of the account as above didn't work for me. I am using a SQL alias on my server, would this cause any problems? When I test the connection to the DB from the wizard all tests pass.

  • Error during Oracle Workflow installation to upload Business Events data

    My problems is :
    - I have installed correctly "Oracle workflow server 2.6.2" on Windows 2000;
    - when I try to "upload Business Event System seed data" the system display this message :
    ORA-20002 : 3819 File could not be opened or operated on as requested
    ORA-06512 : at "OWF_MGR.WF_CORE", line 280
    ORA-06512 : at "OWF_MGR.WF_EVENT_SYNCHRONIZE_PKG", line 357
    ORA-06512 : at line 8
    I have a machine configuration in this way :
    machine A : oracle database 9i
    machine B : application server 9iAS + Oracle Workflow server 2.6.2
    Thank you in advice
    Mohammed Amin

    Hi Mohamed
    In Workflow 2.6.2, you can load BES seed data using the wfxload command line utility. It is documented in the Workflow Guide.
    Cheers
    Mark

  • Error in Oracle (Post Processing)

    Hi,
      I have installed SAP4.7 E  on my PC.
    While installing SAP I am getting error like
          Try to start E://oracle/ora81/bin/sqlplus.exe
          unable to connect to system library.
           Error in executing script.

    well this was clear to me but we have
    Windows 2000 Server
    Windows XP Home
    Windows XP Professional
    Windows 2003 Server
    - so far 8.1.7 is not supported (and will not work without problems) on Windows XP and Windows 2003 Servers...
    Peter

  • Oracle Workflow - Process Flow showing as busy

    Am working on a Workflow that has several mappings strung together. The Mapping is successfull, but the status shows up as busy.
    How can we diagnose/debug?
    Same thing is showing up on Workflow Monitor.
    - Jojo

    Hello Jojo,
    Look at one of my previous posts on how to expedite stuck processes:
    Re: Process flow stuck while execution - Fork being used
    The Workflow documentation on "stuck processes" mentions setting up "Background Workflow Engines" that periodically check for processes that cannot proceed and terminate them.
    There has been some OWB-related discussions on this in the Workflow forum, eg:
    Re: Engine:  process in NOTIFIED status
    Regards, Hans Henrik

  • Hi There, Any one Know How To Call Workflow Process From Special Menu.

    Hi There,
    Any one Know How To Call Oracle Workflow Process From Special Menu.
    I mean Tool -> Special Menu 1-45
    Or How to call Oracle Workflow Process From Command Button.
    Thanks
    Bachan.

    Can u give me some examples.
    Second thing we can add special action (special Menus) from Form Personaliztion.
    But how to add launch wft through Personalization
    Please Give me a breaf detail.
    Thanks
    Bachan

  • Oracle Workflow & SMS

    Hi
    Is there a mechanizm or documented approach to send SMS notifications from within an oracle workflow process ? I have read lot of documentations and I cannot find helpful information regarding this issue. I am thinking about using an SQL data feeder to query from wf_notifications table based on a certain criteria and then passing information to a Wireless alert engine , if so , my question is : how can I get the status of delivered alerts and make sure that they are succefully delivered to the SMS-C and to the user device and how to reflect this status back to the wf_notifications table residing on the DB. , Does the alert APIs provide me with this functionality ?
    Help will be greatly appreciated
    Regards
    Amr

    Hi Gabriel,
    I don't know what version of Wireless you are going to use but you can some FAQ's on messaging at the following url:
    http://otn.oracle.com/products/iaswe/htdocs/9iaswe_faq1.htm#messaging
    To receive (SMS) messages you should configure a messaging gateway. For email you can use every IMAP/POP3/SMTP mail server. Please refer to the administration guides on the following url to know more about configuring gateways.
    http://download-west.oracle.com/docs/cd/B10464_01/wireless.904/b10188/accessco.htm#1009127
    Regards,
    Thomas

  • Find activity id in an Oracle Workflow Item Type

    Dear all,
    I am having a problem locating the activity id
    in order to use it with Wf_Engine.GetActivityAttrText(itemType, itemKey, actId, parameter_name) function.
    Any ideas? Thanx in advance

    Hi,
    All PL/SQL stored procedures that are called by function or notification activities in an Oracle Workflow process should follow this standard API format so that the Workflow Engine can properly execute the activity.
    This standard API has the activity id passed as an "IN" parameter
    procedure &lt;procedure name&gt; (itemtype in varchar2,
    itemkey in varchar2,
    actid in number,
    funcmode in varchar2,
    resultout out varchar2)
    So, in the procedure, you have access to the activity ID.
    Hope this helps,
    Raja

  • Integrating Workflow Process and Business Events

    Hi,
    Im trying to use events in oracle workflow process..im trying to run the demo
    process named 'Workflow Agent Ping / Acknowledge'. I have scheduled the listeners for local inbound agent WF_IN and propagations for local outbound agents WF_OUT. The master ping process begins executing and calls the detail ping process. The detail ping process begins execution but the process gets stuck on the receive event node.The process is not receiving the acknowledge event in return to the ping event. It does not move further,not allowing the detail ping process to complete, which as a result doesnot allow the master ping process to complete its execution.
    How do i make it move?
    Thankyou
    Saadia

    After launching the master process, check for the state of the message in WF_OUT queue. It could be that the message stays in READY state in WF_OUT and has not propagated to WF_IN queue.
    Check if DB init parameters aq_tm_processes is set to 1 and it is running. If the message is not found in WF_OUT even after launching the proces, check if the queue is enabled for enqueue. Also check if the Business Event System is ENABLED.
    SELECT text
    FROM wf_resources
    WHERE name = 'WF_SYSTEM_STATUS';

  • Cannot execute workflow process definition

    Hi,
    I am new to Siebel. We are researching on Siebel Public Sector Case screens.
    I have installed Siebel Client & Tools and defined the Debug configurations in the Tools. When I hit F5 in Tools, the Client loads. However, when I click on the Eligibility button on the Case screen I am rendered the error: *"cannot execute workflow process definition 'PUB Eligibility Determination Workflow'. (SBL-BPR-00158)"*.
    Browsing through the Administration - Business Process -> Workflow Monitor, I noticed that none of the Workflows (available in the Tools) are getting displayed. Please let me know if there is any configuration that I might have missed out.
    Thanks in advance.

    Hi,
    In case this is a new installation of Siebel, by default Workflow processes are not activated on the Server. As a result you will face the mentioned error.
    In this case just go to the Administration - Business Process -> Workflow Deployment -> Repository Workflow Processes and in the top applet query for the Workflow causing the error. Also query for the same in the lower applet as well. If there is no record in the lower applet or if the Repository Version in the lower applet is not matching to that on the upper applet, you need to click on the Activate button on the Top applet to enable the latest version on the server.
    By Check In process it means that you check-out i.e. lock a particular object for exclusive modification and then checking it in i.e. publishing the changes onto the server for all the other developers.
    With Regards,
    Tanmay Jain

  • SRM 7 workflow process deletion

    Hello all gurus,
    please forgive the question, I'm quite new on the argument; I searched a bit on the SDN but found no pratical solution on the issue... hints, suggestions and ref. to documentation or previous thread are welcome.
    We are migrating from SRM 3 to SRM 7; we implement an extended classic scenario, and our documents (contract/po) can trigger specific workflows with different approval steps.
    In case of errors execution a workflow process in SRM 3, we used to adopt the following procedure: once the workflow in error has been identified, we delete the workflow process via transaction SWWL. Then we manually adjust the document status situation in table CRM_JEST and we're ready to repeat the process, as when processed again, the document re-triggers the correct workflow. So far, so good.
    The same approach seems not to be valid in SRM 7, as we've seen that deleting a wf process in SWWL leads to an odd situation; the interested document does not snap any workflow. It seems that some dirty information doesn't allow the system to recognize the document should be assigned to a new workflow process.
    As far as we've seen, there are some DB tables which contain data w.r.t. workflow process: /SAPSRM/D_WF_000 /001 /003 and so on. There tables are not affected by the wf process deletion we perform in SWWL... maybe there's still something we're not taking into account.
    Could you please provide us some details or hints to perform the above described procedure? Thanks in advance.

    Hi,
    Please try this step.
    1. Trasaction SWI2_DIAG, Identify the root cause
    2. Fix the root cause
    3. Restart workflow in SWI2_DIAG
    Regards,
    Masa

  • How I can auto approve pending workflow process, once month end proces

    I have created workflow process for timesheet approval.
    I want to auto approve all pending timesheet (i.e (default notification timeout is 7 days) notification send to approver, but still not approved) in Oracle workflow Process, when Month end process started
    Month end process will initiate a flag in pending timesheet header table with process started

    I am not sure if I understand your requirements completely.
    1) If your requirement is that all the pending timsheets have to be approved by month-end (not really when month-end process starts) then set the Timeout of the notification to Absolute Time of end of that month... so that by the end of the month the background engine will pick it up.
    You may design the approval notification within a Sub-process with RESULT attribute of Approve / Reject. Design a Timeout transition for the Notification Activity within the sub-process that will go to an END activity that has Approve result. Thus once the notification times out, the sub-process will complete with result APPROVED.
    2) One other way is to respond to OPEN notifications using APIs.
    WF_NOTIFICATION.SetAttrText(nid, 'RESPOND', 'APPROVED');
    WF_NOTIFICATION.Respond(nid);
    You should have queried up all OPEN notifications for Timesheet approval and do this in a loop... which could be time-consuming sometimes.
    Thanks

  • URGENT: Oracle Workflow Error: API-10020 on Creation of OWB Process Flows

    I am trying to use Oracle Workflow to create Process Flows, in order to link together various mappings and components in Oracle Warehouse Builder. However, in the process flow editor window when I attempt to drag an object such as a mapping onto the editor panel, I get an error message stating the below:
    API-10020: Unable to determine if the map is a PLSQL or SQLLDR map, please correct the map or choose another map.
    All my maps are in PLSQL, and the language setting is set to this. I have tried modifying the langauge settings to see if it makes a difference but with no luck. My colleague believes this is a known bug in Oracle Workflow and there is a patch available to correct it.
    Can anyone help with this query please? Thank you for your time.

    In some versions of OWB (10.1, 10.2) The mapping property will display PL/SQL, but will actually be set to NULL in the repository (which will cause PL/SQL to be displayed as default).
    The fix is easy enough: in the developer navigator, right-click on the mapping and go to configure and set the generation language first to something other then PL/SQL (you should get an error) and then place it back to PL/SQL. This should force the GUI to reset the parameter.
    Alternatively, use OMB*Plus:
    OMBALTER MAPPING 'MAPPINGNAME' SET PROPERTIES \
    (GENERATION_LANGUAGE) VALUES ('PLSQL');
    Good Luck,
    Robbert

  • Error while calling a workflow process from a JSP

    Hi,
    I have a workflow program which is havign a process, which in turn calls 2 other processes.
    Below given is the procedure which i am using to call the main process.
    ===========================================================
    CREATE OR REPLACE PROCEDURE misProcFromJsp(
    Cart_Id in number,
    Email_Address varchar2
    ) IS
    itemtype varchar2(35);
    WorkflowProcess varchar2(35);
    itemkey varchar2(35);
    temp varchar2(35);
    BEGIN
    WorkflowProcess := 'CALLING PROCESS';
    itemtype := 'PPCUSTOM';
    select ITEM_KEY_SEQ.nextval into temp from dual;
    itemkey := temp;
    wf_engine.CreateProcess (itemtype => itemtype,
              itemkey => itemkey,
    process => WorkflowProcess);
    wf_engine.SetItemAttrText (itemtype => itemtype,
                   itemkey => itemkey,
                   aname => 'CART_ID',
    avalue => Cart_Id);
    wf_engine.SetItemAttrText (itemtype => itemtype,
                   itemkey => itemkey,
                   aname => 'EMAIL ADDRESS',
    avalue => Email_Address);
    wf_engine.StartProcess(itemtype => itemtype,
    itemkey => itemkey);     
    commit;
    END misProcFromJsp;
    ===========================================================
    The JSP page which I used is as follows,
    ===========================================================
    <%-- /* $Header: misasSalesCampaignDem.jsp 115.20 2006/06/22 16:59:55 pnambiar noship $ */ --%>
    <!-- METADATA_SOURCE - JRAD -->
    <html dir="ltr" lang="en-US-ORACLE9I">
    <head>
    <%@include file="jtfincl.jsp" %>
    <%@page import="java.sql.*, oracle.jdbc.pool.*" %>
    <%-- @page import = "oracle.apps.jtf.util.GeneralUtil" --%>
    <%-- @page import="oracle.apps.jtf.infrastructure.SecurityUtil" --%>
    <%-- @page import="oracle.apps.ibe.util.RequestCtx" --%>
    <%@page session = "false" %>
    <%-- @page errorPage = "jtfacerr.jsp" --%>
    <%     // commented by Pradeep 4 DBI
    String appName= "MISASFSP";
    boolean stateless = false;
    %>
    <%@ include file="jtfsrnfp.jsp" %>
    <head><title>Test Page Stores</title>
    <body>
    <%
    // current user id
    Integer loggedUserID;
    int userId;
    String sUserId;
    OracleConnection _connection = null;
    try {
         loggedUserID = GeneralUtil.getUserID();
         userId = loggedUserID.intValue();
         sUserId = String.valueOf(loggedUserID.intValue());
              _connection = (OracleConnection) TransactionScope.getConnection();
         java.sql.Statement stmt = _connection.createStatement();  
    if ( request.getParameter("CART_ID") != null && !(request.getParameter("CART_ID")).equals("") && !(request.getParameter("CART_ID")).equals("null")) {
    int par_cart_ID = Integer.parseInt(request.getParameter("CART_ID"));
    String par_email = request.getParameter("EMAIL_ADDRESS");
                   // For Pagination - Calling teh procedure.. to fetch the number of rows.
                        java.sql.CallableStatement proc = _connection.prepareCall("{call misProcFromJsp(?,?)}");
                        //please do keep in mind that the parameter names are the same as defined in teh procedure header.
                        //Any change in the header requires a change here too.
                        //registering the in parameters
                        proc.setInt(1,par_cart_ID);
                        proc.setString(2,par_email);
                        proc.execute();
                        //this particular result will be the total count of all teh records for lead details for the particular search condition.
                        if ((request.getParameter("showLog")).equals("Y")) {
                             out.println("Procedure Completed");
    %>
    <FORM NAME=MYfORM ACTION="misasTextButtonLat.jsp">
    <INPUT TYPE="text" NAME="CART_ID" value ='1378477'>
    <INPUT TYPE="text" NAME="EMAIL_ADDRESS" value ='[email protected]'>
    <INPUT TYPE="submit" value="Go">
    </form>
    <%
         catch ( Exception e )
    String errMsg="";
         StackTraceElement[] myErr;
         myErr = e.getStackTrace();
         errMsg = e.getMessage();
         out.println("<font color=red> <b><u>Error</u> : " + errMsg + "</b></font><font color=black> " + myErr[4].toString() + myErr[5].toString()+ myErr[6].toString()+myErr[7].toString()+ myErr[8].toString()+ myErr[9].toString()+ "</font><BR>");
         out.println("<font color=red> <b><u>Error</u> :</b></font><font color=black> " + myErr[0].toString() + myErr[1].toString() + myErr[2].toString()+ myErr[3].toString() + myErr[4].toString() + "</font><BR>");
    %>
         </body>
    </html>
    ==========================================================
    It is giving the following error
    ===========================================================
    Error : ORA-06550: line 1, column 7: PLS-00201: identifier 'MISPROCFROMJSP' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2185)oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2059)oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2976)oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:734)
    Error : oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
    ==========================================================
    What went wrong? Please let me know.
    Thanks

    I did some changes and the error now I am getting is,
    ===========================================================
    Error : null oracle.jsp.JspServlet.internalService(JspServlet.java:186)oracle.jsp.JspServlet.service(JspServlet.java:156)javax.servlet.http.HttpServlet.service(HttpServlet.java:588)org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)org.apache.jserv.JServConnection.run(JServConnection.java:294)java.lang.Thread.run(Thread.java:534)
    Error : oa_html._Text__Button__Lat._jspService(_Text__Button__Lat.java:712)oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    ============================================================
    Does the middle tier need to be bounced?
    Thanks

Maybe you are looking for