API to call Workflow

Hi,
I am looking for an API that can be called from a Java Class/PL SQL function or procedure. And I would also pass some message/parameters from my Java Class/PLSQL function that should be received in the Workflow process.
Thanks!
Shalu

Shalu,
The Workflow public APIs are described in the Workflow Guide. Please see:
Oracle Workflow Procedures and Functions
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/wfapi.htm#apis
In particular, take a look at the Workflow Engine APIs:
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/wfapi13.htm#eng_api
The setItemAttrText/Number/Date APIs let you set parameters for a workflow process in the form of item type attributes.
There are both Java and PL/SQL APIs.
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/wfapi29.htm#a_setp
Regards,
Clara
Hi,
I am looking for an API that can be called from a Java Class/PL SQL function or procedure. And I would also pass some message/parameters from my Java Class/PLSQL function that should be received in the Workflow process.
Thanks!
Shalu

Similar Messages

  • 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.

  • Call workflow

    Hi,
    Can i call workflow or task from dynPro application is there any function module for that.
    Please help 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

  • How can i pass array as argument in magento api method calling using sudzc API in iphone Native APP

    0down votefavorite
    I am implementing magento standard api method in native iphone app. I use webservice generated by sudzc. To call method I use:
    [service call:self action:@selector(callHandler:) sessionId:@" " resourcePath:@" " args:@""];
    When I used methods e.g. cart.info or product.info in which I have to pass one parameter; it gives valid response. But when I used method e.g. cart_product.add in which I have to pass an argument as value of array it gives error
    SQLSTATE[42000]: Syntax error or access violation:
        1064 You have an error in your SQL syntax;
        check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
    I have tested in SOAP UI also. There also it gives me same error. But same method works in PHP file. Even I tried by creating same soap request which I created using JavaScript but still it doesn't work.
    Can anyone help me to pass array as a parameter using sudzc api to call magento web services?

    There is an error in your SQL.

  • Ecatt script fails due "Error in OLE API method Call"  error

    Hi ,
    Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    Please help in solving this issue.
    Thanks,
    Asha

    >
    Asha Nagaraj wrote:
    > Hi ,
    >
    > Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    >
    > We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    >
    > Please help in solving this issue.
    >
    > Thanks,
    > Asha
    Hi Asha,
    Are those components are connected and the necessay settings has been done?
    Regards,
    SSN.

  • IllegalStateException: strict servlet API: cannot call getWriter()

    I am getting an exception in Weblogic when I am trying to display a pdf file in a web page.
    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()
    I am using the following code code
    ByteArrayOutputStream baos;
    ServletOutputStream out = response.getOutputStream();
    baos.writeTo(out);
    I have seen this error in so many discussion forum and there is no proper solution for this error.
    I am able to see the pdf page even with this exception. But I want to get rid of this exception also from Weblogic.

    I just did a quick (and dirty!) test with the following to display a jpg image and it worked for me without any trace of an exception:
        @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)  throws ServletException, IOException {
            response.setContentType("image/jpg");
            File f = new File("/Users/me/Desktop/IMG_0032.JPG");
            byte[] bits = new byte[(int) f.length()];
            FileInputStream fos = new FileInputStream(f);
            fos.read(bits);
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            baos.write(bits, 0, bits.length);
            baos.writeTo(response.getOutputStream());
            baos.close();
            fos.close();
        }Note that there is no call anywhere to response.getWriter() in that.
    I'd guess the exception is directing you at what the problem is, at least as the server is seeing it -- somewhere in the execution of the request path there would appear to be call to response.getWriter() occurring after a call to response.getOutputStream() has been called, which is not permitted on WLS according to the error message.
    Do you use filters on this app? If response.getWriter() has been called on the same response object in a post request filter phase, that would be on the same call path with the same response object and would result in the exception.
    -steve-

  • ABAP APIs for MDM Workflow Modification

    Hello All
    I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
    Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
    Also can we download them from Service Marketplace.
    Please reply ASAP.
    Regards
    Madhurim Basu

    Hi Madhurim Basu
    ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
    SAP MDM(5.5-7.1) JAVA API  are support workflow
    More about JAVA API you can read from:
    http://help.sap.com/javadocs/MDM/current/
    Regards
    Kanstantsin

  • Api for call blocking in j2me

    hi, any api for call blockin in j2me? Can we use jsr-253 now for this task?

    exactly.
    You read this part of that link? "
    Depending on your wireless service provider and the wireless network that your BlackBerry® device is connected to, this feature might not be supported."
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Strict servlet API: cannot call getOutputStream() after getWriter()

    i have an applet which will communicate with a servet ,  but got following error in the servlet
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at oracle.osl.lt.web.servlets.AudioServlet._processGetPlayList(AudioServlet.java:235)
    at oracle.osl.lt.web.servlets.AudioServlet.doPost(AudioServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = p1dvosl02 TXID = CONTEXTID = TIMESTAMP = 1318836952580
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    *below _processGetPlayList() is called by doPost() of the servlet.*
    seems the exception is thrown due to response.getOutputStream()?
    any idea? thanks!!
    private void _processGetPlayList(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    try {
    ObjectOutputStream objectOut =
    new ObjectOutputStream(new BufferedOutputStream(response.getOutputStream()));
    try {
    RichDataDTOExt richData = _getRichData(request);
    if (richData == null) {
    Log.web().debug(s7);
    throw new ServletException(s7);
    objectOut.writeObject(richData.getAudioRecordings().getAll(new ContentRefDTO[0]));
    finally {
    objectOut.close();
    catch (IOException e) {
    Log.web().error(e.getMessage());
    throw new ServletException();
    }

    thanks for you reply. but seems we don't call getWriter() at all in our code.
    actually this error only happen in our customer's env, no this issue in our development env.
    besides using getOutputStream() and getWriter() simultaneously for same response, is this maybe related with some web server configuration?

  • HOW TO TRACE THE PLSQL API BEING CALLED WHEN WE USE FORM

    Dear ALL,
    How I can track the PLSQL API name when we press any button in form.
    For example when I click on Bill By Requirement button on EAM Work Order Billing FORM , how will I know which PLSQL API is being called.
    Please give me an idea about how to identify the PLSQL API being called.
    Thanks and Regards,
    Lavan

    Please refer to (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

  • Sample RFC Enabled FM to call workflow

    Hi Guys,
          I would like to know any sample RFC Enabled FM for calling Workflow and to initiate it.
    Thanks & Regards,
    ABAPer

    Hello Joseph
    You may have a look at fm SWU_START_WORKFLOW.
    Regards
      Uwe

  • ISupplier Portal call Workflow - Issue Closed,thanks ~

    Hi All,
    In iSupplier Portal, it will call Workflow to send a notification for notifying buyers about the registration of supplier.
    We can see the workflow process set(named: POSSPM1 : POS Supplier Registration and Profile Management) using Workflow Builder.
    We are able to create a copy of a specific process and then modify the notification message, save as a new process.
    BUT, we can't find where to setup the workflow to using the new process.
    Is there any setting can help us to use the new process?
    Or the process name is hard-code in OAF controller program??
    Thanks in advance.
    Any suggestion will be appreciated.
    Best regards,
    Zhxiang
    Message was edited by:
    zhxiangxie

    Hi Zhxiang,
    We have raised a new thread which is similar to your requirement. Can you please answer our question ?
    Thread link:
    iSupplier Portal work flow issue
    Thread name: "iSupplier Portal work flow issue"
    under Forum Home » E-Business Suite » EBS General Discussion .
    Thanks in advance.
    Regards,
    S.K.

  • Strict servlet API: cannot call getWriter() after getOutputStream()

    Hi,
    Am getting below exception when i click on create report button.
    It was successfully running in development machine, when we deploy the same application into the testing server.
    what could be problem..
    am using JSF 2.0, Primefaces 3.5, Jdeveloper and Weblogic 12 C server..
    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()
      at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:299)
      at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:362)
      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)

    Issue resolved, because testing machine doesn't have specified font in font directory.
    recompiled the jrxml file with arial font its working both the env machine..

  • Is there any Public API that calls CSP_SHIP_TO_ADDRESS_PVT.ship_to_address_handler()

    Does any body know if there is any public API that calls this CSP_SHIP_TO_ADDRESS_PVT.ship_to_address_handler()?? I have a requirement to create a Resource Address real time for which i am looking for any public WSDL available in Integrated SOA Gateway for this package that i can use.
    Any help is appreciated.
    Thanks,
    Harika.

        Hello jmcamaross, Congrats on your iPhone 6 Plus Pre-Order! We're all very excited about the new phone so I know the importance of ensuring the address is correct. Options for changing the shipping address would be to cancel your original pre-order and place a new order. When this is done, your shipping date would change to a later date as you would lose your current "place in line". Please let us know if this is a good option for you.
    TanishaS1_VZW
    Follow us on Twitter @VZWSupport.

  • Calling workflow in workflow

    Hi
    Any body is having an idea on calling workflow inside a workflow in sup 2.0.1

    Hello Usharohan,
    Can you elaborate the requirement.
    A local workflow step type can help you. But this will work only for the same instance of the workflow.
    If you need to connect two different workflow templates, then you can code in the BO method using the FM " SWE_EVENT_CREATE " and link it to the BO and then the workflow template.
    Thanks,
    Krishna

Maybe you are looking for

  • Email report output as an attachment

    hi all, i am trying to send the output of a report to an external email as an attachment using the FM SO_NEW_DOCUMENT_ATT_SEND_API1. when i use the document type as RAW it is working fine. now my requirement is to send it as an excel attachment. i tr

  • HT201274 I am not able to restore my iphone 3G, After about 70% of the restore i am getting error message could not restore the device

    Dear friends, My iphone 3G is not working when I power on the phone I am getting a USB symbol and at top shows itunes. I tried with itunes to restore the and update the software,but about after 70% of the3 reestore amd getting error message couldnot

  • Download UK X factor songs while living in Switzerland

    I live in Switzerland and want to download some songs from this year's X factor, but they are not available when I log onto the itunes store because I can only access the Swiss itunes store from here. Does anyone know how I can do this?

  • Assigning Applications to Desktops

    How do I assign "non-lion" 100% compatible applications to a Desktop - since Expose/Spaces is gone, I'm trying to assign VMWare to it's OWN desktop, and so far, I can assign Chrome to it's own Desktop by right clicking on it ("Assign to THIS Desktop"

  • DB2 Block Size

    Dear Experts, How to know the block size of a table in DB2? Currently, we are performing 'move table' to a new tablespace. The process has spent over 30 hours for only one table which have large size and big block. Before doing 'move table' job via D