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

Similar Messages

  • How to use Workflow Background Engine in Oracle Apps?

    I have created the development of a custom workflow,tested it in Developer studio in Workflow administrator and has been working correctly. I was hoping to implement this workflow using Workflow background process Concurrent request and move to production.Unfortunately when submititng the concurrent request I am not receiving any notification eventhough all the time Concurrent request always completes normal.(Also when submitting as concurrent request workflow is not prompting for the itemkey). Is it not possible to implement a workflow in the application using background concurrent process? Any help is appreciated.

    Please note that Workflow Background engine is used to process workflows that are in deferred status. It is not used to launch the workflow. You will have to write your own code to launch the Workflow using one of the following methods.
    1. Use WF_ENGINE.CreateProcess and WF_ENGINE.LaunchProcess APIs.
    2. Register a Business Event, create a subscription to the event to launch the workflow and raise the Business Event from your code.
    Workflow Background Engine has parameters such as Itemtype, Min and Max Thresholds, Process Deferred, Process Timeout and Process Stuck... which basically determine the type of background work it has to do.
    Please refer to Workflow Developer Guide on how to launch Workflows and the uses of Workflow Background Engine.
    Thanks
    Vijay

  • How to launch a workflow  in ucm

    how to launch a workflow without starting it from the start button in admin workflow.
    i want to launch aworkflow whenever a particular event occur

    You want a criteria workflow. Setting one up is discussed, among other places, in the "Workflow Implementation Guide".
    http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/workflow_guide_10gr3en.pdf
    -Alan

  • How to invoke Workflow and UWL through Webdynpro for Java

    Hi,
    In my Development Component there are three applications .The requirement is that the data will flow between one application to another only through workflow in
    UWL.
    Can anybody help me out as to how to invoke workflow programatically from Webdynpro for Java .
    After data goes from one application to workflow UWL, how the second application will work on it . If possible please send me the links of some tutorials .
    I searched in Webdynpro Tutorials site but there are no tutorials available there .
    Thanks a lot .

    Hi,
    Check the following Threads,U will get lot of details......
    WebDynpro application that can work with SAP workflow work items?
    /thread/142477 [original link is broken]
    Configuring UWL with WebDynpro
    /people/niharika.jeena/blog/2006/06/06/launching-webdynpro-from-universal-worklist
    Sample Application,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how%20to%20configure%20the%20universal%20worklist.pdf

  • Launching WorkFlow when are executing ImportManagerBatch

    Hello together!
    I am trying to use the ImportManagerBatch to load date into repository and apply launching WorkFlow automatically.
    My WorkFlow set Trigger Actions = Record Import .
    When are executing MDM Import Manager function, I assign my WorkFlow in Dialog window, and Import Manager and WorkFlow works fine.
    In the ImportManagerBatch .ini file no options for setting my WorkFlowName.
    Does anybody have an idea how to resolve this problem?
    Thank you very much for your help!

    Hi Alexsey
      This setting is saved in the Import Manager maps. If you use maps saved with a workflow assigned in the Import Manager Batch, it should work fine.
    Hope this helps you.
    Thanks
    Alexander
    Note:Please mark the reward points, if found useful.

  • How to configure Workflow Notification Mailer for oracle alert in R12

    Hi all....,
    How to configure Workflow Notfication mailer for oracle Alert in R12. Please provide the complete steps.. Its urgent.. Plz help me..
    Regards ,
    Madhan

    Duplicate thread (please post only once)
    plz help me...!!!! Workflow Notification Mailer
    plz help me...!!!! Workflow Notification Mailer

  • How to Launch an Integration Builder under two different java versions

    How to Launch an Integration Builder under two different java versions     1
    1. Situation     2
    2. How To Do     2
    2.1 jre preparation     2
    2.2 Put them into the system     2
    2.3 Execute a Java Web Start under jre 1.4.x version     3
    2.4 Change Java Runtime Versions     3
    2.5 Launch an Integration Builder     6
    1. Situation
    OS: windows 2000 pro – English
    Java version: jdk 1.5.x was already installed. (It’s not permitted to change.)
    I don’t have any authorization to install any software on the PC.
    But I need to use an Integration Builder.
    I already knew URLs of an Integration Builder (http://<hostname>:50000/rep/start/repository.jnlp).
    2. How To Do
    At this moment, an Integration Builder (XI 3.0) can be launch under jre 1.4.x environment (on windows).
    2.1 jre preparation
    I download j2re-1_4_2_10-windows-i586-p.exe from http://java.sun.com/j2se/1.4.2/download.html
    I installed it on my home PC and copied all files from C:\Program Files\Java\ j2re1.4.2_10\ into my USB.
    2.2 Put them into the system
    I pasted j2re1.4.2_10 folder from my USB into the windows 2000 pro system.
    Finally, I could list up all of javaws.exe under this system.
    c:\j2re1.4.2_10\javaws\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\bin\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\jre\bin\javaws.exe
    c:\Program Files\Java\jre1.5.0_05\bin\javaws.exe
    2.3 Execute a Java Web Start under jre 1.4.x version
    I executed c:\j2re1.4.2_10\javaws\javaws.exe .
    2.4 Change Java Runtime Versions
    Go to File-> Preferences -> Java
    As you can see, it indicates 1.5 version.
    Click [FIND] button.
    Click [NEXT] button.
    Click the j2re1.4.2_10 folder.
    Click [NEXT] button.
    A JRE Finder is able to find javaw.exe automatically. Or you can indicate C:\j2re1.4.2_10\bin\javaw.exe directly.
    Click [NEXT] button.
    Finally, there are two Java Runtime Versions. Now you need to uncheck the Enabled column of 1.5 version and check 1.4 version.
    Click [OK] button.
    Well, in the General tab, I selected None for Proxies.
    2.5 Launch an Integration Builder
    In the Location field, I typed the URL of an Integration Builder jnlp.
    http://<hostname>:50000/rep/start/repository.jnlp
    SAP Integration Builder comes up inside Applications area.
    Select it and click [Start] button.
    If you click Environment-> Integration Builder (Configuration), you can launch Integration Builder: Configuration.
    [PDF file location] with screenshots
    http://SDN.mobilian.org/SDN/How2LaunchIB.rar
    ===================Advertisement==========================
    How do you search SDN?
    What about [<b>SDN Search Widget</b>]?
    SDN Search Widget
    =========================================================

    I am not getting anywhere with deploying my application or
    applet.
    I have set up my bc4j project. It contains all my VO info,
    links, application module. (proj a)
    I then have another project with DbInfo in it(has all my rowset
    info), Multiple Frames, and my Applet.java file.
    Actually I have an Applet.java file and a Application.java file
    because I was seeing if both/either worked. Anyway they seem the
    same, except for that extra window that comes up when you run the
    applet.
    I follow the steps in the oracle directions (from earlier post).
    And all seems ok. But at ---->
    [*] Select the subdirectory under myhtml where your applet's HTML
    file
    is located, and enter the directory path of the 'staging'
    directory you
    created in step 3 above, if different from the default.</li>
    [*]Select the HTML files that JDeveloper created to run your
    applet.</li>
    [*]Select all of the Java source files in your project that make
    up the
    applet.</li>
    I have no HTML file associated with my applet, at least that I
    know of.
    So do I need to create one, or should it of been done
    automatically.
    Also, I trying to figure out what will be the best way to deploy
    my project. Applet or stand alone application is what my first
    choices have been so far. I have read that there is some issues
    with applets being served from a different server than the
    database. So a stand alone application was my front runner, but
    I haven't gotten either way to work yet.

  • How to change workflow for expired qualification in HR Module

    Hi,
    My question how to change workflow for expired qualification in HR Module.We need to when date is expired tcode OOQA that system will check and that time workflow should be triggred.
    I have serached sap help but i am not understand please below mention URL for SAP help
    Link: [http://help.sap.com/saphelp_47x200/helpdata/en/ee/f4c9cafbab11d29ea40000e8215202/frameset.htm]
    Please explain step by step how to trigrred workflow for expired qualification?
    Please this problem is high and try to solve it.
    Thx!
    Sachin

    Hi,
    Why do you want to trigger a wflow and what do you want to do with this trigger. Can you give more details of your exact requirements.
    But, if you are looking for how to trigger, you can write a small ABAP pgm and schedule it as a job every night. THis job basically reads the table P1000-ENDDA for expiry date and if it reached today, then you can either trigger the wflow with SAP_WAPI_START_WORKFLOW or use SAP_WAPI_CREATE_EVENT to raise your custom event(for Business Obj. BUS7018, i think this is your BO and there are no std events right now, so you will ahve to add your custom event by extending BUS7018 to ZBUS7018).
    Hope I am clear and this helps and if you need more details, reply.
    venu

  • Error when launching Workflow Editor

    Hi gurus,
    I am expriencing an error when i try to launch the Workflow editor from the Workflow definition page (Actions -> Launch Workflow editor). The error is:
    Unable to load resource: http://jawe.enhydra.org/twe.jnlp
    I have the latest JRE installed on my windows machine, and i am running Internet Explorer 9.
    Thank you in advance,
    Simion

    Hi Simion,
    Make sure the together editor is installed on your laptop. Try saving the xpdl file from workflow definition to your laptop first and then launch the editor and open it. Also, check out comments from Rob in the message below.
    ESourcing Workflow - SRM UWL integration?
    If you still have problems, let us know.
    Regards,
    Vikram

  • How to launch My Own Application by clicking a embedded link in iPhone

    Hi All
    Does anyone know how to launch my own application by clicking a embedded link in iPhone? same thing like you click a phone number , and then the phone application will be launched.
    Thanks
    -Tommy

    You have to place the URL types your application handles in the Info.plist - see LaunchMe's for the format.
    You'll do best opening it in a "plain text format" (right-click, open as), as it's a nested array instead of just a set of values, and it's easiest seen/modified in its native XML.

  • How to configure workflow mail service..

    Hi Experts,
    How to configure the workflow mail server.
    I will tell you my requirement,
    i have to configure email notification for oracle application R12.1.2 , all the emails related to administration  should go to one email id, this email id is of gmail. I am not able configure it.
    Oracle application : 12.1.2
    Oracle Database : 11.1.0.7
    Please help me.
    Regards,
    Mohd Mohtasham Jeelani

    Please also see:
    How To Configure Workflow Notification Mailer To Send Email Notification For Only One Workflow Item type/Process? (Doc ID 786647.1)
    Configuring A Notification Mailer Based On A Specific Item Type. (Doc ID 415723.1)
    After Upgrade R12.1.3 All Alerts Are Completing With Signal 11 (Doc ID 1438919.1)
    Oracle Alert Response Processing Is Not Working After R12.1.3 Upgrade (Doc ID 1505620.1)
    Thanks,
    Hussein

  • How to enable workflow notification mailer and how can it help me?

    Hello
    I am on 12.0.6
    I want to know how to enablke workflow notification mailer and how it can help me?
    Do i need to seperately license it?
    is there any patch that i have to apply in order to use it
    Please advice and help me with my query

    Hi,
    I want to know how to enablke workflow notification mailer and how it can help me?See the documents referenced in this thread.
    Workflow Configuration and Troubleshoot
    Workflow Configuration and Troubleshoot
    Do i need to seperately license it?No.
    is there any patch that i have to apply in order to use itSee the thread referenced above.
    Regards,
    Hussein

  • How to launch an application from a website?

    Hi All,
    Can anyone tell me how to launch an application (packaged in a jar) from
    a website?
    I would like to open my application (and pass some arguments) by clicking a special banner or logo
    on a website.
    Regards,
    Stanley

    Google for WebStart and JNLP

  • How to get Workflow code/wtf file from Oracle Customization Form

    Hi All,
    I am new to this forum. Can some one please help me how to get this wft file from customized oracle PO form ?
    Thanks,

    Pl post details of OS, database and EBS versions.
    What is "this wft" file ? WFT files are txt files of workflow definitions that can be downloaded from the database (or uploaded to the database) using WFLOAD utility.
    HOW TO DOWNLOAD WORKFLOW FILE .wft          [Document 578248.1]
    How To Update and Move Workflow From One Instance to Another?          [Document 398460.1]
    HTH
    Srini

  • How does a workflow get triggered when we create a Shopping cart

    Hi all,
    In SRm how does a workflow gets triggered when we create a Shopping cart...what i mean is that in r/3 we use changedocument object or function modules etc..likewise in srm how the wf gets triggere...can anyone help me.
    Thanks&Regards,
    Hari

    Hi martin,
    yes i accept that in SRM also workflows are all started by event...what i mean is in R/3 we go for Change document object(swec) or some other method for event creation...like that in SRM what is there?Just whenwe create a Shopping cart How the workflow is trigerred...suppose if it is trigerred using fm swe_event_create where they might have called the function module.
    Thanks&Regards,
    Hari

Maybe you are looking for

  • No audio from ipad2 to TV when using HDMI

    No audio from ipad2 to TV when using HDMI

  • Text messages with animated .gif files attachment

     I recieved a text the other day with an animated gif file attached. I believe it was sent as a zip file. Anyway I tried to open it and all I got was a gray screen with an icon . No animation.. The second one I recieved was from a buddy. I watched an

  • Substituting BSEG-ZUONR value in MIRO with PO details.

    Hi All, I need to substitute the value of the assignment field (BSEG-ZUONR) with ebeln and ebelp details. I have coded a substitution exit at call point 2 in FI at item level. When i debug and check my code BSEG document no has no values(actually it

  • How do you restore a backup from preferences

    HI Everybody: I am trying to restore a backup from iTunes from my backup. However, it's telling me that the backup is not valid. So I am in preferences, and under Preferences>Devices there are all my backups... How do I restore from one of those ones

  • Strip Chart history buffer

    Hallo, I have a little crazy question - is there some possibility to access strip chart history buffer? I'm just lazy to develop data circular buffer management .... Thanks a lot for any hint! George