Workflow Cancellation By External Event (10.1.3.x)

Hi All,
By any means, BPEL process can be ternminated by external event. The requirements is that, i want to terminate the process by an external event using Process Id. By saying that, the external process is not the parent process of process to be killed.
Also, can someone point me to link, which talks about child BPEL process bterminated before the parent BPEL process got terminated.
Regards
Venkata M Rao

In the technology preview versions we only tested deployment to the embedded OC4J that comes with JDeveloper TP4.
You can start it in a stand alone mode and deploy to it.
Note that this is not production quality server as far as we are concerned.

Similar Messages

  • Workflow WS00000038 Purch.Req - Event REJECTED not triggered

    Hi Friends!
    (SAP ECC 6.0)
    (Tcode SWE3 - BUS2009-REJECTED is active)
    When using WS00000038 Purchase requisition we have problem when an item is REJECTED.
    the Event that is triggered is BUS2009-SIGNIFICANTLYCHANGED. This leads to that the Workflow end up with status  COMPLETED and NO further handling of the actual Rejection that were made.
    IF BUS2009-REJECTED were triggered instead, then WS00000038 would have followed another path in the workflow which is to handle the REJECTION via another TASK.
    Why is BUS2009-REJECTED not triggered when button "REJECT" Requisition is pressed (ME54N).
    Best regards
    Henrik

    In this aproval step within WS00000038 it is actually ME54N that is called.
    The result in the task of the workflow is an EXTERNAL EVENT that is triggered.
    In my case it is BUS2009-SIGNIFICANTLYCHANGED that is triggered instead of BUS2009-REJECTED.
    this is what causes my Workflow WS00000038 to choose the wrong path.
    Does anyone have a solution of how to get BUS2009-REJECTED triggered via ME54N when I actually press button to REJECT and then SAVE.
    Best reg
    Henrik

  • Workflow integration with external DMS system

    Hi,
    What integration/control transfer possibilities exist between SAP Workflow and an external document management system (e.g. Hummingbird)? Would some sort of interface be necessary for the integration and what would the level of effort be more or less?
    This is quite urgent and I would greatly appreciate your input.
    Regards
    Liza-Marie

    Hi Liza-Marie,
    you can work at different levels:
    1) Integration of documents use in the SAP workflow can be stored in external DMS and linked to SAP transactions through SAP Archivelink; you'll probably need a Hummingbird interface certified archivelink
    2) If you want to integrate your SAP workflow with the workflow of the DMS (if any), you can practice as follows:
    a) From you DMS, you can raise events in the SAP system on which your SAP workflow would react (to start or resume) by making use of standard RFCs such as SWE_EVENT_CREATE; eventually you can expose it as web service, which will simplify the call
    b) From SAP worfklow, you can send mails, call external system commands (more rarely used) or call web services that would allow you external DMS to be triggered on
    Details on all these techniques would be too huge to be described in a post, but this gives you an overview on how SAP Workflow can interact with external solutions.
    In summary to your question:
    1) Interface required YES - ARCHIVELINK CERTIFIED in case you want to store documents in external DSM that need to be connected to your SAP transactions
    2) Level of effort is depending on your scenario
    Rgds,
    Karim

  • Error while assigning external event

    Hi Guys!
    I'm getting error, while trying to assign an external event on table output.
    I've got a button with action POSTPO, that is residing in standalone form. That action should send data form some form and a table to BAPI.
    When I try to configure connector line and assign that *event (from event scope 'any element'), I recieve Internet Explorer's script error " 'length' is null or not an object".
    Here are two screenshots: [1|http://www.dennisk.org/tmp/SAP/event_err.jpg], [2|http://www.dennisk.org/tmp/SAP/event_err_mod.jpg].
    At the same model I can assign that event to different form and table. The only difference is that before that faulty elements there is a chain of two directly connected BAPIs.
    Is there a way to fix it?
    Thanks in advance!
    Regards,
    DK

    anybody?

  • Refresh data in popup by external event

    Hi folks,
    I have got a popup with an alv grid displaying data from a database table.
    I want to reload the alv grid in case new entries were created outside of this popup.
    I thought it would be possible to fire an ABAP OO event after writing new data to database.
    The popup implements a handler for this event and this handler executes a manual refresh.
    My problem is that the event handler doesn't get this external event.
    In case I fire the event within the popup screen it works.
    I already thought about a periodic screen refresh. But that causes to much database traffic.
    Are there any suggestions?
    Thanks,
    Josef

    Hi Joseph.,
    I think periodic refresh is the way for ur requirement.,  U pls post ur thread here.. [ABAP OO Forum|ABAP Objects; . U will get some more useful inputs.,
    Thanks & Regards
    Kiran

  • Duplicated workflows  for fast triggering event from CRM

    Hello,
    I'm facing an issue when a credit limit sales order is created in CRM.
    They are creating the order and manking a change to it 5 seconds later. Those created and changed events are triggered with a difference of 5 seconds and in background, the first WF is triggered (with the created event) and 5 seconds later other instance of that WF is triggered (with the changed event).
    The problem is that the first WF is not being logically deleted when the seconds one is created (it has a wait step at the beggining of the WF to end in case another instancer of the WF is triggered).
    This is caused by a perfoirmance issue that when the seconds WF is triggered, the first one is still not listening to the changed event.
    Do you know if there's any way to solve this?
    Thanks!

    Hi MatiasAZ,
    In the first workflow(created) check the event. It should be the 'changed' event and proper binding should be there.
    If everything is fine, after the wait for event create a process control with the option as 'Complete workflow'.
    Initially your workflow should have the fork step type with two branches. Maintain the changed event wait step in one branch and created events step in other branch. So that the workflow will wait for 'Changed' event and workflow will be completed if the 'Changed' event occurs in the system.
    Thanks,
    Viji.

  • SharePoint Desinger 2013 Workflow canceled automatically for a specific user

    Workflow canceled automatically. I have three users KMSLS,KMSCO,KMSQA who triggers the list workflow at different levels.
    KMSLS has full control
    KMSCO and KMSQA has contribute permission.
    KMSLS is able to initiate the workflow and emails are getting sent when a new item is created in the list.
    but I am Workflow gets canceled automatically by user KMSCO and KMSQA. I even tried to give full control to these user but getting same error as below. Please help me...
    RequestorId:     9cc0cb81-736c-3628-4115-00a1125754b6.
    Details: System.ApplicationException: HTTP 401
    {"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug>
    configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."}
    {"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],
    "SPRequestGuid":["0293311d-2376-455c-b73b-73d5e2769e0e"],
    "request-id":["0293311d-2376-455c-b73b-73d5e2769e0e"],"X-FRAME-OPTIONS":["SAMEORIGIN"],
    "SPRequestDuration":["49"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],
    "WWW-Authenticate":["Bearer realm=\"b94af3aa-2759-48a2-a325-866271feda63\",
    client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]71feda63\"","NTLM"],"X-Powered-By":["ASP.NET"],
    "MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Thu, 30 Oct 2014 10:54:29 GMT"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context)
    at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    V.S.

    Hi Vikas,
    Please check and make sure your User Profile service and User Profile Synchronization service are running, then start a full user profile sync to make sure your users are in user profile service, then check if the workflow is still auto canceled for those
    two users with contribute permission.
    Here are some similar posts for your reference.
    http://anujabhojani.blogspot.in/2013/02/sharepoint-2013-workflow-gets-canceled.html
    http://www.sharepointviking.com/system-unauthorizedaccessexception-when-running-sharepoint-2013-workflows/
    http://sharepoint.stackexchange.com/questions/90740/workflow-2013-throws-an-error-on-start
    Thanks
    Daniel Yang
    TechNet Community Support

  • Workflow set up with event receiver

    Hi Experts,
    My scenario is like this -
    I am doing a customer outbound interface. The business objects KNA1 & KNB1 are extended to create  events for creation & changing the customer master.
    The change documents will be configured to trigger these events  whenever a customer is created or changed.
    Now HOW DO I DO THIS - I need to develop a multi-task custom workflow template as an event receiver. The workflow will do the following :
    a) Will check if the customer exits
    b) Will collect all the information petaining to the interface
    c) will call the RFC -enabled FM's to interface the data to a Middleware.
    d) Will write to an error log if the interface failed
    Please suggest me & your valuable solutions are rewarded with points.
    thanks
    Harikumar

    Hi,
    apart from posting this question in the business process management forum.
    In swetypv the linkage between events and worfklows are maintained. For "exotic" requirements which will decide whether an event should have a workflow as a receiver you can add check function modules to such a linkage.
    this will help you in deciding before the Wf is triggered if it makes sense.
    for the rest of your requirements, hire a technical workflow developer, because additional tasks and methods will have to be created.
    Kind regards, Rob Dielemans

  • Workflow org unit and event create

    hi gurus,
    I am using a standard sap workflow for travel. I am having two issues with it:
    1. I created an org structure for it. But when I give the org structure name in the workflow it is not picking up the manager's name and not sending the email. But when I give a single personnel number, it is sending the mail.
    2. At the start of the workflow there is an event 'TripCreate'. But when I create the trip by tcode: PR05 it is not starting the workflow.
    Please advise. thanks.
    Regards,
    FS

    Hi FS,
    1. For this issue, try to refresh the organizational structure by going to transaction SBWP -> Settings  menu -> Workflow Settings -> Refresh Organizational Environment. Test again.
    2. For the second issue, please ensure that the event linkage for the workflow is activated. In the header of the workflow in "Version Independent (Task)" tab goto "Start Events" tab and ensure the event is first of all maintained and secondly active (green icon).
    Also, if you attempt to create the event from SWUE - does the workflow trigger then ?
    If all is fine above, then check whether there are any start conditions maintained which prevent the workflow from triggering.
    Hope this helps.
    Regards,
    Aditya

  • 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

  • What are the external events of a report?

    Hi,
    Please tell me if you have any idea about what are the external events of a Report?
    Thanks in advance.
    MD.

    Hi,
       When you run an executable program, the program flow is controlled by the external events in the ABAP runtime environment. The following diagram shows the sequence of the events:
    check this link for more....
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db99fa35c111d1829f0000e829fbfe/content.htm
    Regards,
    Shanthi.P
    Reward points if useful ***

  • Problem starting a workflow with a timed event.

    Hi all,
    I am trying to start a workflow with a timed event this way,
    Start Date Expression: StringToDate("20:09", "HH:mm")
    Reschedule: 1 day
    I save the workflow at 20:07, but nothing happens at 20:09.
    Any hints?
    Thanks in advance.

    Hi Thomas,
    Wf-XML was implemented when XI wasn't even a glint in SAP's eye. The message arrives in the SAP Web AS and triggers a workflow directly (or responds to an incoming workflow request message).
    Exception: prior to the 6.10 release of the Web AS the incoming messages are received in an ITS.
    Best regards,
    Alan

  • TEM How to diffrentiate b/w internal and external events

    Hi experts,
            How do i distinguish b/w internal and external events ? When i try to create an event always by default it shows as internal in the top right above planned and firmly booked radio buttons. How do i create an external event which is held outside the company ?
    please help...
    Thanks & regards,
    Pavan

    Hi Pavan,
    If you create a business event with resources, it is automatically considered an "internal" event -as you cannot plan resources OUTSIDE of your company-.
    If you create a business event w/o resources, than system gives you the option of internal/external selection.
    Regards,
    Dilek

  • Screenprogramming and external event

    Hello
    I have to write a program with will refresh it's screen depending on a external event. In my case the external event is processed by a ABAP-Class on the same application server. So my idea was to set up an event handler but it didn't work.
    Cause it has to work as a prototype, now i write the data in table an the program with has to display this pulls that table any 1 second. I'd like to now if there are other possibilities to solve such problems. One of my ideas was to set up a shared object which fires a event when new data will arrive. But i read in a blog from Thomas Jung that this is not possible (/people/thomas.jung3/blog/2004/12/09/netweaver-for-the-holidays-a-lession-in-sharing-abap-shared-memory)
    Every input is appreciated !
    Kind regards
    Herbert

    Hi Amy and Nusag,
    Appreciate your answers. Definitely is not an easy one.
    One possibility I'd be considering (as an alternate solution) is to use a Java Application Server that actually acts only as forwarder to messagges (dependencies on counterpart requires JMS) and deal with this "small payload fee".
    Honestly woudn't be confident on implementing a messaging channel on WCF nor have duplicated application services implementation.
    I'll be glad to read more suggestions.
    Best Regards.
    RGONZALEZP. SharePoint, BizTalk, SQLServer, EADevelopment Certified Partner. Hardware Development, Robotics, Human Interop, Infrastructure Sensing.

  • "Monitoring pause" launch using external event

    Hello,
    We are using solman with ccmsping agent to monitor our backend systems.
    During the periodical offline backups we use the "monitoring pause" to deactivate the supervision but this needs to have constant downtime elapse time.
    We would like to deactivate the backend's supervision using an external event lauched by the backup process in stead of using the downtime elapse time element.
    I did not find any relevant information on the topic.
    Thanks for your help
    Karim.

    It is standard video shot from a non-HD canon video camera. I'm guessing it has something to do with the SD video going to an HDTV???
    I don't think interlacing is the issue. It's much larger, pretty much the whole screen jumps every 2 or 3 seconds and still a of the image distort enen more. I thought the TV set might have been bad but I hooked it to a DVD player and it workds great.

Maybe you are looking for

  • Ipod cannot be updated since installing the 7.0

    Has anyone here havign problems with transferring your photos and address book to your ipod? I keep on gettign this message :The ipod cannot be updated the required file cannot be found" What's up with this. Why is it taking apple so long to fix this

  • Backwards compatibility of PDF Forms in Lion

    I work with PDF forms in Preview on a Macbook Pro at my office which is running Snow Leopard 10.6.8. My Mac Mini at home is running Lion 10.7.4. I have found that PDF forms that are edited in Lion after being edited in Snow Leopard end up mostly blan

  • Using a key listener without a container?

    Is it possible to use a keylistener that is always listening even if you don't have any keylistener containers open? I guess i would compare my need to a keylogger, although that is not what i am developing. Thank you for your help. -- Brady

  • PSE 11 Organiser - Top of Organiser Disappeared

    I have lost the top of my PSE 11 organiser screen. I run a Mac with an external monitor. I can no longer see the resizing buttons (red, amber, green) top left, along with the folders, import option button, tag, info button etc. Its a nightmare. I hav

  • While doing change in  Idoc/ abap what  need to change at XI side

    I have to do some  change in my abap  program,   need to add some  field over there. Please let me  what I need to  change at XI side. Here Idoc is at sender side. I am  using  XSLT mapping over here. I have one more questions,  abt  the concept of p