How to trigger a workflow from event - newbie question

Hi,
I have a simple workflow, with the start node triggered by an XML event.
What JMS destination I am supposed to send the XML document to in order for
the workflow to be triggered. I thought that it was the wlpiEvent, but the
workflow doesn't start. Also tried WLI_BPM_EVENT, with no joy.
If anyone can point me in the right direction, then I would be grateful
Lucy

If it is one workflow sending a message to another, you can use internal destination.
If it is another application then it would be WLI_BPM_EVENT ( which goes by the
jndi name com.bea.wli.bpm.EventQueue in default installation ).
"Lucy Collins" <[email protected]> wrote:
Hi,
I have a simple workflow, with the start node triggered by an XML event.
What JMS destination I am supposed to send the XML document to in order
for
the workflow to be triggered. I thought that it was the wlpiEvent, but
the
workflow doesn't start. Also tried WLI_BPM_EVENT, with no joy.
If anyone can point me in the right direction, then I would be grateful
Lucy

Similar Messages

  • HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?

    HELLO THERE ,
    CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?

    Hello Neon,
    If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
    CALL FUNCTION 'SWU_START_WORKFLOW'
      EXPORTING
        task                  =
    *   LANGUAGE              = SY-LANGU
        user                  =
    *   SENDER_ID             =
    * IMPORTING
    *   RETURN_CODE           =
    *   WORKITEM_ID           =
      tables
    *   CONTAINER             =
    *   MESSAGE_LINES         =
        attachment_list       =
    A workflow can also be triggered by and event which is in turn triggered by a program.
    By the FM, SWE_CREATE_EVENT
    Example:
    w_key = 'Connie'.
      w_creator-otype = 'US'.
      w_creator-objid = 'SAPDEV02'.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype                       = 'YH_BUDDIES'
          objkey                        = w_key
          event                         = 'event'
         creator                        = w_creator
    *     TAKE_WORKITEM_REQUESTER       = ' '
    *     START_WITH_DELAY              = ' '
    *     START_RECFB_SYNCHRON          = ' '
    *     NO_COMMIT_FOR_QUEUE           = ' '
    *     DEBUG_FLAG                    = ' '
    *     NO_LOGGING                    = ' '
    *     IDENT                         =
    *   IMPORTING
    *     EVENT_ID                      =
    *   TABLES
    *     EVENT_CONTAINER               =
       EXCEPTIONS
         objtype_not_found              = 1
         OTHERS                         = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE: / 'EVENT TRIGGERED'.
      ENDIF.
      COMMIT WORK.
    Hope it helps you.
    Regards
    Indu.

  • How to trigger the workflow from the excel sheet

    hello friends,
    my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone  help on this.
    thanks.

    Hi Murthy,
    If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
    Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
    Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
    Cheers,
    Ramki.

  • How to trigger the workflow from RFC

    Hi,
    I need to trigger a workflow from a RFC.How can I call the event and start my workflow?
    How can i do this?
    please advice.
    Thanks,
    Anand

    Hello Anand,
    Goto swetypv transaction.Mention the abap class/bor object with the corresponding event.
    In the receiver type, just mention some unique name.In the receiver function module mention the async RFC.
    Mention the SENDER     TYPE     SIBFLPORB                        Local Persistent Object Reference - BOR Compatible
    EVENT     TYPE     SIBFEVENT                               Event
    RECTYPE     TYPE     SWFERECTYP                               Name of Receiver Type
    HANDLER     TYPE     SIBFLPORB                               Local Persistent Object Reference - BOR Compatible
    EXCEPTIONS_ALLOWED     TYPE     SWEFLAGS-EXC_OK     SPACE     Checkbox
    XML_SIZE     TYPE     SWF_XMLSIZ                               Size in Bytes
    EVENT_CONTAINER     TYPE     SWF_XMLCNT                               Container as XML Stream of Fixed Width
    So that the guid can be used inorder to identify the instance.
    you can use : "sap_wapi_start_workflow" fn module.
    Hope this helps.
    Best Regards,
    Saujanya

  • How to trigger MDM Workflow  from ABAP Program.

    HI
    I have requriment  to trigger MDM Workflow(Design in MDM) from My Module pool program. Suggest how to do it?
    Thanks in Advance.
    Regards,
    Shyam Babu Sah.

    Hi,
    This question is for forum SAP Netweaver --> Workflow. There are functions and programmes that SAP delivers for this.
    [Example here|Re: How can I trigger workflow from my report]

  • How to Trigger a Workflow from ABAP Webdynpro

    Hi All Gurus,
    I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
    I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
    Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
    Regards,
    Pratima Jain

    Hi,
    If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
    But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
    There are 3 layers  1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
    2. Workflow
    3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
    for more documentation, please refer it on help.sap.com.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
    hope this helps.
    Best Regards,
    Saujanya.

  • Trigger an workflow from webdynpro abap.

    hai
    gurus!
        iam new to webdynpro.iam femilier with workflow . can anybody explain me with an clear example, how to trigger an workflow from webdynpro abap.
    regards
    rose

    Hi Rose
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20web%20dynpro%20java%20and%20web%20dynpro%20abap%20applications%20in%20universal%20work%20list.pdf">Click</a> Here, to know the step by step procedure of using Webdynpro in Workflows
    Use SAP_WAPI_START_WORKFLOW RFC
    Regards
    Abhimanyu L
    Message was edited by:
            Abhimanyu Lagishetti

  • How to trigger a workflow though a class event

    Hi,
    I have created a class and included interface IF_WORKFLOW in the interface. Also created a event 'START' with one parameter. I have created a workflow and assigned the class event 'START' as its triggerring event.
    I want to trigger my workflow from a custom program. But I am not able to trigger the workflow by passing the event container.
    How do I start trigger the class event with the req. container element?

    Hi
    You could check the class CL_HRECM00_WORKFLOW_EVENT, together with the corresponding workflows of package
    PAOC_ECM_ADM_PLANNING_OVERVIEW.
    Best Regards
    Raquel

  • Can we trigger a workflow from e-mail create event?

    Hi Experts,
    My scenario is very simple-Whenever a mail is send for approval to the approver,two workitems-Approve or Reject should be created in the Appover's inbox.On clicking on any one workitem, corresponding mail for approval/reject should be sent.
    My only doubt is how to trigger an event which will start the workflow. Also it should be triggered only when the mail is sent to a particular person-say admin and not to every individual.
    Can you please guide me on this since I am new to workflows?
    What I am looking for here is:-
    a) The definition of E-mail creation event, which can trigger my workflow.
    b) This definition has to be specific. I mean workflow should trigger only when a mail is send to admin.It should not trigger everytime a new mail is created in the system.
    c) I thought that the business object for E-mail is activity-BUS2000110.But again activity can be anything-E-mail,task,telephonic conversation.Which business object should be used here?
    Please give me some pointers on this.
    Thanks and Regards,
    Rohit

    Hi Aditya,
    Atlast somebody replied to my thread. Since yesterday I have created 3-4 threads and didn't got any single reponse.
    Anyways, my query is:-
    how to trigger the workflow? I know we need some event to trigger a workflow. Now how to generate this event, when the user is simply sending an e-mail to the admin for some approval request? How can an e-mail trigger an approval workflow in the background?
    Any pointers/suggestions?
    Thanks and Regards,
    Rohit

  • Is i possible to trigger a workflow from the creation of an event in iCal

    Is i possible to trigger a workflow from the creation of an event in iCal
    Or is is possible to create a workflow to ad events to an iCal calendar which then triggers the workflow or is combined with the ad events workflow.
    Graeme

    Hmm, nope. Not that I'm aware of. Very few apps allow you to hook scripts directly to user activity. Finder* is a notable exception. iCal's "publish" feature has the ability to auto-update after user activity, but you'll either need dot mac accounts or your own webdav server to get that working.
    I'd re-consider the idea of triggering a periodic workflow with iCal. That way if the computer is shut down or asleep, iCal will wait to run the workflow at its next opportunity. You could hide the unsightly repeating events in a second calendar so they're out of the way.
    The next best thing is to write a faceless AppleScript application with a long-duration idle handler. The user would simply add it to their login items in System Preferences. This would also resume its cycle after sleep or shutdown.
    Yet another option is to write an AppleScript that can register itself in the crontab. This has the advantage of running at a predictable time. If you're careful, you can even set the script to wake up or power on the computer as necessary.
    * Folder action scripts can be triggered when files are created, moved, or deleted, but not when they're merely updated. This probably rules out much of iCal's activities in ~/library/application support/ical/.

  • How to trigger a workflow using generic object services?

    Hi Experts,
    Let me know on how to trigger a workflow using generic object services.
    My requirement is to trigger the FI document reversal document using Object services.
    Any info or docs relevant to this, please share with me..
    Thanks,
    Dinesh.

    Dinesh,
    First of you need to check if the transaction has a BO (in released status) published to use the GOS.
    These are the pre-requisites for GOS
    http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
    Once done.. check that you have valid workflow linkages active for this BO.
    Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start.

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • 2013 Workflows - Trigger a workflow from a Content Type

    So now that a workflow cannot be triggered from a Content Type, how are people doing this now? 
    Any suggestions appreciated.
    Thanks
    J Sykes

    Hi,
    According to your description, my understanding is that you want to trigger a workflow from a Content Type.
    As we all know, we can attach a workflow to a Content Type, but the workflow cannot run until the Content Type is added to a list or library.
    The elements of a list content type include the columns of metadata that are associated with the content type and workflows that can run on items of that content type.
    More information about the content type and workflow are provided in the link below:
    http://technet.microsoft.com/en-us/library/cc262735.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How do I move files from Event Library to Project Library?

    How do I move Files from Event Library to Project Library? I tried drop and drag, that didn't work. I am new to Apple. I have always had a windows box b4 this. If anyone can help, please do. Thanks
    Alain

    welcome argardner to the  boards..
    you're missing the concept of iM .. you don't move 'files' from Event to Project Library.. Events is the big box of all your imported clips; now, from that box of bricks, you drag the clips into all kind of projects.. you can 're-use' the same clip again'n again in many projects.. you can use all clips of all Events in one Project.. or all clips of one Event in two projects.. or..
    spend some time here:
    http://www.apple.com/ilife/tutorials/#imovie
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    the concept of Events & Projects, Clips and Libraries is at first glance very different to 'normal' editing apps, but you'll get convenient to it within minutes..

  • How to Trigger an IDOC from SAP R/3 to two systems at a time

    Hi experts,
    Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELVRY03 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once. We need to write a logic to route the same to two different systems
    Can any one tell me how can we do that ?
    Regards
    Ram.

    Hello Ram,
    Do you have connectivity between your production & XIQ?
    What does "connectivity" mean?
    1. RFC destination is maintained.
    2. Port defined for the RFC destination.
    If no, create these. (Search in SDN for details).
    If yes, proceed:
    1. Define the logical system for XIQ.(BD54)
    2. Define the same as your partner profile. (WE20). Add the message type SYNCH with the port for XIQ.(This is imp)
    3. Create a distribution model view with sender as "your production" & receiver as XIQ.
    3.1. Add the messages which you want to distribute.
    3.2 Generate Partner profiles.
    No coding is reqd. for this.
    BR,
    Suhas

Maybe you are looking for

  • PDF problem in Preview after upgrading to Yosemite in MacBook Pro Late 2011

    After upgrading to Yosemite , i have a problem viewing PDF's. When opening high resolution PDF's  e.g. 2588 x 3368, it will display  distorted image or distorted characters. and scrolling normal resolution PDF is very slow. Can anyone help me with th

  • URL Param is not working

    Hi, I am passing two variable values through URL for one template to another template. It was passing two variable values to second templates but suddenly after applying new java patch it is not passing the second variable value in the URL.  Is there

  • Exporting project as audio file (wav)?

    This may sound like a stupid question but i'm new to logic. I'm trying to export the project as an audio wav file to post on the net but am a little confused how its done. The project contains apple loops - can these be exported with the rest of the

  • Relative url to call flash movie

    Please help.. I want to use a flash movie (a.swf) in a shocked piece on a server. The a.swf file is in the same folder with the authorware files on the server and is supposed to call other files while it is running. How do I call the a.swf as an exte

  • NEED: InDesign/DPS expert for Funny Or Die's iPad & iPhone magazine The Occasional

    Hello! We are looking for a InDesign expert for Funny Or Die's iPhone and iPad comedy magazine, The Occasional. Lets get to the facts: >>>>>> ABOUT OUR OUR TEAM: A very small team that works fast on new ideas. Passionate about putting out a great pro