Kicking off a workflow via Event

Hi. How do you kick off a workflow via Event? I created a simple workflow with start--assign--stop. I created an event and subscription but when i raise it nothing happens.
the workflow though runs when i use the launch process. What am i missing? I read an article that says the start node should be a receive event, but i couldnt find that in the owb workflow builder.
Thanks for you help in advance.

I think you could start your WF by setting the viewOptions.process attribute to your WF name, in the User Form you are using. When the WF is finished, control returns to the Form.
For instance.
<Field name='viewOptions.process'>
     <Default>
         <s>My Load From File WF</s>
    </Default>
</Field>

Similar Messages

  • Kicking off workflow from webdynpro using events?

    I have abap experience but no workflow. Any advice will be appreciated.
    I have to kick off a workflow from webdynpro. I assume that I have to set up a business object (eg. ZOBJECT), create an event therein (eg. ZEVENT).
    Then when webdynpro runs I use a rfc function module to trigger this event.
    The questions I have are:
    1. How do I set up the workflow to be triggered by this event?
    2. Do I set up an event in Business object builder or in SM62?
    3. How do I trigger an event in a function module. I have found SWE_EVENT_CREATE but don't want to create an event just want to trigger the event and in turn set off the workflow?
    Thank you,
    Warren.

    try this below parameters are passed or not
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
               EXPORTING
                 object_type    = 'BUS2105'
                 object_key     = lv_objkey
                 event          = 'CREATED'
                 commit_work    = 'X'
                 event_language = sy-langu
                 language       = sy-langu
                 user           = sy-uname.

  • How to kick off workflow from Web Dynpro?

    Hi,
    I have abap experience but haven't used workflow before. I have to kick off a workflow from a java web dynpro.
    I think that I need to set up a business object and an event within this object, as step one. I then go to Status Management in the Business Workflow as I need to establish a relationship between the web dynpro and my event, step two.
    The question is, what Status Object type do I use in this Status Management? For example if I was releasing a production order I could set this to ORH.
    Any advice greatly appreciated.
    Regards,
    Warren.

    Hello Warrenabap,
    Do you know how to send (or modify) the container values from a workflow ??

  • FIM 2010 - Set Population not kicking off workflow

    Hi,
    I am having a problem with Set Transition kicking of a MPR, in FIM 2010 R2 which I have never seen before after numerous implementations of both FIM and FIM R2. 
    Scenario: 
    My MPR kicks off a workflow which adds 6 sync rules, to users based on the "set transition in" set with criteria IsADConnected=true.
    The user is transitioned into this set but the MPR never fires. Everything is enabled and I have checked everything obvious. When I view the set in the "Sets" screen in FIM I can see that the user has transitioned in, and is a computed member based
    on my criteria "IsADConnected=true"
    The "FIM_MaintainSetsJob" job runs at 1am which auto corrects set membership and this does cause the MPR to kick off and consequently the sync rules to be applied. So it does work, just not when it should.
     What I have tried to fix this:
    Created a new workflow, set and MPR which does exactly the same job as the "broken" Set/MPR/workflow - Same thing happens (ie. it doesn't work)
    I read on one post that someone re-indexed the FIM service database and this fixed it for them - I tried this also but no joy. (some indexes were at 98/99% but they have been reduced after reindexing)  
    Has anyone ran into this issue before and does anyone have any idea what can cause it? It's doing my head in at this stage!
    Thanks
    Paul

    I ran into the same problem using the pattern for expected state detection:
    /Person[DetectedRulesList = Set[ObjectID='<GUID of the Set with the DREs>']/ComputedMember]
    Pasted from <http://technet.microsoft.com/en-us/library/ff608269(v=ws.10).aspx> 
    My users weren't transitioning into the set when they got a DRE.  Went on a wild goose chase until I saw this post.  Enabling the
    FIM_MaintainSetsJob fixed
    the problem.  Pretty frustrating... 

  • PR workflow kick off again when CATA -Time transfer was done by Accounting

    Hi,
    PR workflow kick-off again when accounting ran tcode -CATA(Time transfer ).This PR was approved converted into PO .When account ran CATA the workflow kick off again .I deleted the workitem through tcode -SWWL still the PR shows Release Possilble.Any body has faced this kind of issue .I want to delete the Release possible option for this PR
    This PR was created for service order for performimng services.
    Thanks in advance
    Nitin Amritkar

    I whould suggest you to call Apple
    http://support.apple.com/kb/HE57
    Here the Apple Support Communities is only used by normal users as you are. No Apple people to be found here.

  • How do you kick-off an action/event before a JSF Portlet is rendered?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

  • Background processes on SAP BW Production stall - kicked off via UC4

    All,
    We have the following issue; there 6 background processes available on the BW server. The UC4 (external) scheduler kicked off 3 jobs that in turn was kicking off 3 process chains which were trying to kick off 10  background processes. The result was that 6 background processes were kicked off, seemed to be active (in sm37), but actually stalled (they were not doing anything), it was like they ended up in a deadlock. Normally one would expect the processes to run according to the mechanism that when there are no background processes available, to wait. My guess is that because they were initiated by an external scheduler and demanded more than the total available background processes that mechanism did not work. Has anyone encountered this problem before? And knows why it happens?
    Regards, Meindert

    Hi Meindert,
    If I recall correctly I remember having seen this before as well, and then the root cause actually was the way the process chains work. There was (is?) some dependency on free batch processes in the initialization phase of the process chain which lead to hanging processes if you started a few process chains at the same time and there are not enough free batch processes available.
    I believe this is internal to SAP so probably not caused by scheduling the chains externally, however your external scheduler could maybe take the number of free batch processes into account. I do not know your external scheduler well enough to explain it for that product, I do know how I would handle it with CPS: I'd use queueing to make sure that there are enough free batch processes available, or I would let it monitor the number of free batch processes on the system and if that would become too low, I'd temporarily hold new process chains that needed to start. The chosen option would depend on the priorities of the processes involved, to make sure that the processes with the highest priorities can always start and always have batch processes available.
    Regards,
    Anton.

  • Kick off a business process with JMS message

    I'm a newbie with a job that's way over my head and I'm thouroughly confused on
    the logic involved with kicking off a business process (workflow) through the
    reciept of a JMS message. The docs say it can be done. I have a business process
    in one project folder of an enterprise app, its start node is a channel subscription.
    Can I somehow send a JMS message directly to the business process? (Send a message
    NOT from within the weblogic environment, but from outside) I have created a
    Message Driven bean in a seperate project folder of the same application as the
    business process. From an outside client, I think I might need to invoke the
    MDB with a JMS message, then call the business process from there. Is this totally
    off-base? What do event generators have to do with any of this?
    Please help.

    Yes, you use the event generator.
    Open up the Weblogic Integration console, click on Event Generators.
    Add a JMS Event generator that listens to the queue you are interested
    in, and then select the channel that your process has subscribed to.
    Lisa wrote:
    I'm a newbie with a job that's way over my head and I'm thouroughly confused on
    the logic involved with kicking off a business process (workflow) through the
    reciept of a JMS message. The docs say it can be done. I have a business process
    in one project folder of an enterprise app, its start node is a channel subscription.
    Can I somehow send a JMS message directly to the business process? (Send a message
    NOT from within the weblogic environment, but from outside) I have created a
    Message Driven bean in a seperate project folder of the same application as the
    business process. From an outside client, I think I might need to invoke the
    MDB with a JMS message, then call the business process from there. Is this totally
    off-base? What do event generators have to do with any of this?
    Please help.

  • Manually kick off a single pre-packaged ETL?

    Hi everyone,
    Hopefully this is an easy question to answer. I want to run certain ETLs manually via the Workflow Manager. But when I do so, they fail with the 'can't find parameter file' error.
    Is there a way I can easily just kick off one of these ETLs for testing purposes?
    Thanks!
    -Joe

    Hi Joe,
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • Switching off the workflows...

    During actual production cutover, we need a means of switching off team center and other workflow updates that send information out of SAP during conversion runs and switch them back on again after conversion.
    We need something that we can use (like a flag or switch) repeatedly for the release
    HEY guys anyidea what can be done about this.. .need to this ASAP... going live in a few days....
    Thanks in advance
    Update :
    For example
    Now for a vendor create or change workflow.. we neeed to switch on or off the workflow depending on who is running it.. no which is std WF for vendor ?? i know questions are bit random... any help will do at this point
    The business object BUS1008 for vendoe shows a stop sign...what exactly does that mean
    The business object BUS2020 ACCOUNTS PAYABLE for vendoR is not implemented
    The businedd obhect BUS3008 is active but the event is not implemented or released ..
    These are all the details that i have... now i am not really sure who told these ppl that a workflow is triggered at all which sends the data to the Team center..
    Any ideas ???
    Message was edited by:
            Abhishek Dhoundiyal
    Message was edited by:
            Abhishek Dhoundiyal

    Hi,
    Though I did not understand what you exactly need I can answer some of the questions you have asked below:
    A stop sign in a Business Object indicates that the BO is obsolete and there is a newer version that is available. For example in the case of the vendor the newer version in LFA1.
    To understand the various phases in a BO development then refer to this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4ab0e453d11d189430000e829fbbd/frameset.htm
    Now coming to the main question of switch off the workflow depending on some criteria. I guess this can be acheived through start conditions. Though a proper business scenario is needed to justify why some people are exempted from the workflow process you can do this through start conditions. You will need to maintain a table where you update the table with the users for whom the workflow is not active and at runtime check the "Document created by" user and check it against the table and update an attribute and have the workflow start on the basis of this attribute.
    Hope this helps,
    Sudhi

  • Kicking off Background Job from Another SAP system

    Hi,
    Does anybody know how to kick off a background job from a separate SAP system?? 
    i.e I have a job on our CRM system that is dependant on a Job finishing from our ECC6 system first.
    Does anyone know how to do this?  I know I might be able to use events, is there anything else I should be making use of??
    Many Thanks

    Hi Daniel,
    Guess there is one more solution. In system A write a report (let us name it X) that would trigger a job in system B through an RFC call.
    Now in System A create a job with 2 steps. First step would be normal one, the second one for report X. Only when step 1 is over would step 2 start. So indirectly end of the existing Job A would trigger the required Job B.
    Regards.
    Ruchit.

  • How to switch off a workflow ?

    Hi ,
    Anybody has an idea how to switch off a workflow ?
    Reply soon.
    Thanks a lot,
    Sandip.

    Hi Sandip,
    You can display the Workflow template using tramsaction PFTC or PFTC_DIS. Check the 'Triggering Events' tab to see if the WF is started by an event with a Green light icon. If so you can turn off the event linkage by clicking on the green light. If this is in Production, you have to disable in Dev and transport the change.
    If no Triggering events exist, it may be started directly.
    Depending on what the WF is doing, you should be able to get a fairly good idea of from where. If it is not a custom program, it probably is done through configuration.
    Cheers,
    Ramki.

  • IW31/IW32 User exit to kick off on clicking enter

    Hi All,
    I have a requirement which is as follows.
    In transaction IW32 if I go to partner data for an order and put a partner number and when I click enter, a message should be displayed for the user.It could be an error or warning message.
    The user does not want this message while saving the order (IWO10009-user exit for save event) and instead wants to kick off this message when he presses enter.
    Is there any user exit or BADI available to achieve this?
    Can anyone tell me how to do this?
    Thanks
    Sandeep

    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10012                                Maintenance order: Priority handling on central header
    Business Add-in
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI

  • Problem kicking off process chains using Tivoli Job Scheduling

    In our pre-production BW system testing,when the process chains are being kicked off through Tivoli,they are not working.
    We dont get issues when the chains are run directly in BW,without using Tivoli.
    The jobs with 'after event' RSPROCESS setting that kick off next node on each node's completion,are not leaving out a 'copy' after a scheduled run.
    So in the next run from Tivoli,the dependency job isnt there in scheduled status,which fails the chain.
    We tried manually copying the dependency jobs on the nodes.Doing this,chain does kick off from Tivoli.But again jobs dont leave copies and next run from
    Tivoli fails.We tried using 'periodic job' setting.This leaves copies of job.But then why is BW able to copy out and kick off jobs,while this isnt happening when kicked off through Tivoli.
    A node in the process chain is BLUE when it has a scheduled job ready in sm37,but turns GREY(no scheduled job is there in sm37),once the Tivoli kicks off chains after the manual copy.
    We suspect this either to be a authorization problem or an issue with how it works when kicked off through Tivoli.Process chain 'context' is somehow not created when it runs through Tivoli.
    Anyone seen such an issue before?Suggestions are welcome..
    cheers,
    Vishvesh

    Hi Manfred,
    The chain does get kicked off from Tivoli.
    But the job fails in Tivoli as..when it tries to hand over execution to the 1st local chain in the 'meta chain' the required job isnt there in scheduled status,with the 'after event' RSPROCESS dependency set on it.
    cheers,
    Vishvesh

  • IMac Internet Connection Issues (Why do I keep getting kicked off?)

    Hi All.
    I have a 24" aluminum iMac that doesn't like to stay connected to the internet via ethernet or Airport. I recently moved and am using a Clear modem that I am directly connected to via ethernet and the modem is functioning fine. My Mac will access the internet perfectly and then then next morning not have a connection at all. Diagnostics fail at Network Settings.
    I have renewed my DHCP lease, restarted both comp and modem...jumped through all the hoops with a Clear rep. Still nothing. Not using any routers or 3rd party devices to connect unless using the Airport.
    We have free internet where we live and my Airport will detect the router, but will not connect to the internet. The airport reads full signal strength, so there should be no issue. I have not changed my firewall or privacy settings, so there should be no issue there either. I did recently upgrade my Firefox application.
    With both the Airport and ethernet I seemed to just be getting "kicked off" the internet. Each time I get kicked off, reconnecting is more of a chore...Please help Thank you in advance for any help you can provide!

    Hi Rick.
    I have Clear internet service, which does not run via cable or telephone line. I assume it is DSL. My Mac acted the same when I was on cable though, only the connection always come back after resetting the linksys router I had at the time. It only seems to drop the connection after waking from sleep mode.
    I am using a standard ethernet cable. At times, in the Network portion of System Preferences, the status of my ethernet reads "unplugged" when the ethernet cord is still connected.
    I double checked the connection speed within the network utility, as you suggested, and everything looks as it should.
    The wireless situation...I do not have control over the router. It is free wireless via a linksys router in our apartment complex (only 5 or 6 units). I have never been able to connect to this but the other computers in the household pick up the signal perfectly.
    Thanks for your help Rick. I appreciate it very much.
    V.

Maybe you are looking for