Cancel or terminate a workflow instance

Hi,
I have developed a workflow, which will be initiated each time when the item is edted.
I want to Cancel or terminate a previous workflow instance when the new instance is initiated (i.e when editing list item the workflow associated with that item will be cancelled as the new workflow instance going to be initiated.
Please let me know how to achieve this.
I have developed the workflow using Designed.
It will be fine if we use sandbox solution as well.

Well you can use the event receiver on ItemUpdated. In this event receiver you can cancel the current running workflow and then start the new instance of the workflow.
If you want to use this in sandbox solution then check you another thread that you have opened where I have replied. You will have to rely on full trust proxies for that.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d83df5b7-8b05-4f89-8ca1-7dece20cd319/stop-and-restart-workflow-on-item-edit?forum=sharepointdevelopmentprevious
Amit

Similar Messages

  • There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.   Time: 30/05/2014 1:16:20 AM

    Recently, our mail server crashed at about 7pm one night, with the error 'There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.'
    When we click Retry, the server starts up OK.
    There are no snapshots listed in Snapshot manager for any of the virtual machines on the host.
    There is also free disk space available on the host and for the VM with the disk errors.
    This happened at least three more times, often at bad times. Each time, we were able to click 'Retry' and the disk/system would allow the VM to start-up successfully.
    I checked the Forums, the VMware support articles and the internet as I had not seen this problem before. I have completed the VSphere 5.1 - Fast Track course and this issue was NOT covered in the training.
    Most of the advice on-line and even that on the VMware web-site was pointing to snapshots being the cause of this issue. There are no snapshots enabled and I cannot see evidence of snapshots ever being used.
    - We are running VMware vsphere (5.1.0) and there are (were) 4 virtual machines running on the ESX host. We are using the free version of VMware/ESXi.
    - The Hard disk types we are using for this Virtual Machine are 'Thin Provisioned'.
    - There are 4 [Thin Provisioned] Hard Disks for this virtual machine.
    - There are 6 CPUs
    - There is 20GB of RAM (memory)
    - The VM is running Windows Server 2008 R2 as the guest/VM operating system. It is an Exchange 2010 SP1 mail server. There is plenty of available disk space on all the drives. The [Exchange] log files are cleaned out regularly (automated).
    I decided to move one of our non-critical servers off this host and on to another host to see if this helped the problem. This took quite some time, as we are not using HA or vmotion, nor do we have VCenter Server...nonetheless, I finally managed to get the non-critical server on to another host (n.b. This was a much smaller machine with less virtual resources assigned to it).
    After moving the non-critical server off this host, we decided to monitor the Host and see if the issue resolved itself.
    I checked the host about 6-10 times a day, from first thing in the morning till last thing at night - monitoring the performance of not only the Virtual Machine, but the ESXi host also.
    There were no adverse performance issues. The only thing I did note, was in the Summary page on the ESX Host, under Storage, was If I right-clicked on the datastore and clicked refresh, then the free disk space would drop (ie from 140GB to 125GB).
    After monitoring the host and VM for about 2 weeks, we did NOT have another instance of the above error.
    Sorry for the long winded post, but I wanted to give as much detail given this error has been raised before and snapshots are usually blamed as the cause.
    My question is this:
    If the ESX host had plenty of available disk capacity and there were no snapshots enabled on the VM (or any other VM's on the same host), then why did our Virtual machine crash with the error that 'there is not more space for virtual disk Servername_2.vmdk'?
    How do we prevent this issue from happening if we don't know the underlying cause?
    I would greatly appreciate any advice or suggestions.
    If I have not provided enough info on the specs or environment, please let me know and I will provide more information.
    Thanks all,
    Kurt

    The type of storage is really based on your requirements, and your ability to withstand downtime.
    iSCSI as you are using with a NAS such as Synology or QNAP.  NAS Selector - Support - Synology - Network Attached Storage (NAS)
    I wouldn't use iSCSI for Exchange or any database.  It's a bit slow.
    Do you have a single physical host?  Then I'd probably to an external direct attached storage.  This would be a card inserted in your host server that gives you multilane SAS/SATA connectivity (www.techcable.com/SAS-SATA/SAS-SATA.pps) and an external disk enclosure/array.
    For multiple hosts to a single array, I recommend a fibre channel connection to a FC capable switch, and on to a FC connected array.
    We used to use a HP P2000 (on old G1), but it's since been retired.  Worked pretty well once firmware was upgraded.  http://www8.hp.com/us/en/products/disk-storage/product-detail.html?oid=4118559#!tab=features.  They can be connected via iSCSI, Fibre Channel or 6GB SAS so they are flexible and reasonably priced.
    Recommendations:
         Use RAID 6 with your large disk arrays.  With large disks there is a measurable failure rate when rebuilding a failed RAID5 array based on MTBF.
         Use smaller 15K disks in RAID 0+1 for speed on databases/Exchange.
         Use slower 7.2K disks in RAID6 for file storage.
    We are a small hospital and we have 3 VMware servers with dual CNA (FC and Ethernet in a single twinax cable) connections to 2 redundant Cisco Nexus 5K switches and then 4 Fibre Channel connections to an EMC VNX 5300.  It's extremely fast with about 50 virtual servers, but was quite an investment.  One thing we don't have to worry about is down time.  If there ever is an equipment failure, we have redundant everything, including power split between two UPSs.
    Our VNX has 3 tiers of performance.  3 100GB SSD "Fast Cache" in RAID 1 with hot spare, to keep the most used data ready, but it's not really a tier, however one could be built utilizing the same disks.  A second tier is performance tier with a 8 600GB RAID 0+1 and hot spare.  The third is a bunch of 7.2K 3TB disks in RAID6.  The VNX autotiers, placing data on disks depending on where it's needed.  The volumes are sliced and diced automatically in the background to make this happen and we never have to touch it.  I used a demo of Solarwinds Storage Manager to monitor performance for a while and the utilization was always low, meaning all data access was fast, througout the day.
    D

  • IAPI.cancel in custom activesync workflow?

    Hi. I have an form that sets IAPI.cancel to true when nothing important has changed and no updates are needed. If the form is set as the input form in the synchronization policy and I use no per-account process, it does what I would like: when it sets IAPI.cancel to true, no resources are updated and no task instance sticks around in the list of all server tasks.
    However, I would like to only pull in a couple resource accounts and update those. In the IDM-4485 course, that meant roughly the following:
    1. Set the synchronization input form to None.
    2. Create a custom active sync workflow.
    3. Check out a user view.
    4. Prior to calling the checkinView workflow service, set view.waveset.form to the name of my form.
    5. Call checkinView.
    It all seems to be working, except that checkinView doesn't pay attention to IAPI.cancel. I always have task instances with empty task results when I the form is setting IAPI.cancel.
    Is there a way to get checkinView to pay attention to IAPI.cancel? Or is there a way to call something other than checkinView to process the form so that I can check to see if IAPI.cancel is set and I can avoid the checkinView?
    Or do I have to embed my cancellation logic in the workflow instead?
    Thanks in advance!

    we will add the Push buttons in CC02 transaction and want to perform these Workflow Actions,
    Is it possible to do so? If possible, How can I reflect these changes into
    WF logs and all similar to Standard SAP?
    Question & Answers
    we will add the Push buttons in CC02 transaction ?
    Are you going to add only one button or three separate buttons, if you can add three separate buttonts then under each button action,
    For Forward  =  SAP_WAPI_FORWARD_WORKITEM make use of the standard FM.
    For Retrun ( Assuming that you want to put back the workitem ID back to the user's inbox ) in that case use of FM SAP_WAPI_PUT_BACK_WORKITEM.
    For Cancel   =  SAP_WAPI_WORKITEM_DELETE this might help you to cancel ( Assuming that Cancelling means Deleting the workitem...
    Note : to make use of all the above FM you need to have the workitem ID, Will you be able to determine the exact workitem id?
    for more :
    Now you can find more FM regarding the workitem by simple search in SE37 Txn by using the term SAP_WAPI_*.

  • Terminate the workflow

    Hi All
    We are on R12.1.3.
    We have a requirement to terminate the workflow when no action has taken on notification for few days.
    Is there any API or the methods to terminate the workflow after the notification timeout.
    Any help is appreciated.
    Regards,
    Sanjay

    Please see these docs.
    Workflow Java Mailer & Notifications FAQ [ID 562551.1] -- "How to Cancel Email Notifications for Particular Workflow Type?" and "How To Cancel Workflow Item Keys In Bulk?"
    How to Identify and Abort Items in a Workflow Queue using Oracle Applications Manager OAM [ID 393460.1]
    You can also use wf_engine.abortProcess API -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ENGINE&c_owner=APPS&c_type=PACKAGE
    Thanks,
    Hussein

  • Unhandled exception occurred during the execution of the workflow instance

    I had a workflow and library working with no issues, but had to move the library and export the workflow to another subsite (though on the same web site/collection).  I followed these how-tos:
    http://msdn.microsoft.com/en-us/library/office/jj819316%28v=office.15%29.aspx
    http://technet.microsoft.com/en-us/library/ee428301%28v=office.15%29.aspx
    Anyway, I've stripped all actions from the workflow and only have an Assign Task, but get this below:
    An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentException: ContentTypeId 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)
    To troubleshoot, I removed all library columns, removed then re-added the Custom Content type the New Document uses, and still the same error - with the workflow going into Suspended mode.
    I also tried the removal of the file from /Relationships%20List/allitems.aspx and de-activating then re-activating the SharePoint Publishing feature, also that didn't work.
    I've gone into ULS, but unable to find anything definitive, so not sure what to try next?
    Thank you,
    Chad

    Hi Chad,
    Glad to hear the issue is resolved. Content types could be used for multiple lists in SharePoint site at the same time.
    However, I'm not quite sure why you said the resolution is for a "bug". I read the article per your link:
    http://www.andrewconnell.com/blog/SP2013-Workflow-Custom-Task-Outcomes
    The article is showing how to create custom outcomes buttons in task forms. As I understand, the issue you encountered is that workflow migrated from the other site shows the suspended status.
    Please be more specific on the issue if assistance is needed. If this is the second question, I’d recommend you open another thread in the relevant forum and provide specific information about the issue. In order to avoid confusion and keep track of troubleshooting
    steps, we usually troubleshoot one issue per thread in order to find a resolution efficiently.
    Thanks for the understanding.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Cannot create process to handle workflow instance conversation

    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<Process>
    Hi,
    Iam getting following error when iam trying to invoke
    subworkflow.
    can anyone help me in solving this problem.
    regards
    Ananth
    ERROR: Cannot cr
    eate process null.>
    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<B2B-BPM-Plugin> ERROR:
    Cannot create process to handle workflow instance conversation
    com.bea.b2b.protocol.ProcessManager$CreateException: ERROR: Cannot create proces
    s null.

    Hi Ajaz,
    Error description is not detailed enough to provide the solution. You need to post the error message what you got in the server log files. This should contain specific details about the issue.
    Not sure but issue may be related to JVM settings. if it is so, server log file will provide the error description.

  • Custom Workflow generates a thousand of Workflow Instances and EREs

    Hi everyone,
    I developed a Custom Workflow that complete user attributes information when a user select a value from a drop down list. I tested this workflow with a Request MPR  with an Action Type "Create" and the workflow Works perfectly. But now, I
    have to use this workflow in an Action Type "Modify" , when I changed it, the workflow Works fine but generates  a thousand of Workflow Instances and in consequence a thousand of EREs.
    Can you help me please?
    Thanks in advance,

    Make sure that the change invoked by your workflow is not used as button to run another workflow - described scenario looks like you have created a loop.
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Error while creating concurrent workflow instances with dynamic participant

    Hi All,
    I have a workflow which has 3 interactive activites. The second interactive activity has requires approval of atleast 3 users to proceed. The participants are also not known in advance and are created dynamically by creating the directory session. The workflow is instantiated using an external trigger. The approval for interactive activities is also provided by an external trigger (API call).
    Now, there is a scenario where i have 1000 requests coming in to ALBPM and workflow instance should be created for each of them. But only one instance is created and for the rest i get the following exception. This also happens with just 2 requests. I also tried calling the API in a synchronized way but didnt help.
    Is anybody aware why is this error encountered anf how it can be resolved?
    java.lang.IllegalStateException: Cannot set the directory Connector Service while connector service is started
    at fuego.connector.CompositeConnectorService.setDirectoryConnectorService(CompositeConnectorService.java:97)
    at fuego.connector.CompositeConnectorService.restartDirectoryConnectorService(CompositeConnectorService.java:52)
    at fuego.directory.DirectoryConfigurationManager.loadDirectoryConfiguration(DirectoryConfigurationManager.java:265)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:217)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:199)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:214)
    at fuego.directory.Directory.fillPassport(Directory.java:122)
    at fuego.directory.DirectoryPassport.fillPassport(DirectoryPassport.java:274)

    Hi Dan,
    Thanks for replying and giving attention. I have the following scenario :-
    1. I am getting a list of identifiers(some number) from a third party application along with the users/participants who are liable to approve the workflow instance.
    2. I create a workflow instance using this identifier through PAPI using process service session and also create the user/participant through PAPI by using the following code. Please note that i dont create participant in ALBPM instead i do it programatically in java using the PAPI :-
    DirectorySession directorysession = null;
    if (userVO != null && userVO.getUserId() != null && !userVO.getUserId().trim().equals(""))
    +{+
    +     directorysession = this.createFDISession();+
    +     List<RoleAssignment> roleAssignmentList = new ArrayList<RoleAssignment>();+
    +     try {+
    DirOrganizationalRole[] dirOrganizationalRoleArray = DirOrganizationalRole.fetchAll(directorysession);
    for(int i=0; dirOrganizationalRoleArray!=null && i<dirOrganizationalRoleArray.length; i+) {+
    +DirOrganizationalRole role = dirOrganizationalRoleArray;+
    +}+
    int permissions = -1;
    permissions
    += 0 |+
    DirHumanParticipant.getPermissionValue("X") |
    DirHumanParticipant.getPermissionValue("R") |
    DirHumanParticipant.getPermissionValue("S") |
    DirHumanParticipant.getPermissionValue("A") |
    DirHumanParticipant.getPermissionValue("D") |
    DirHumanParticipant.getPermissionValue("E") |
    +0;+
    +String[] whichRoles = new String[]{+
    +"Approver",+
    +"Requestor",+
    +};+
    +DirHumanParticipant.RoleAssignment[] roleAssignments = new DirHumanParticipant.RoleAssignment[whichRoles.length];+
    for(int i=0; i<whichRoles.length; i+) {+
    +roleAssignments[i] = new DirHumanParticipant.RoleAssignment(whichRoles[i], permissions, DirOrganizationalRole.fetch(directorysession, whichRoles[i]).getIn());+
    +}+
    +     String organizationUnit = configuration.getProperty("ORGANIZATION_UNIT");//fuegoFileProperties.getProperty(BVIDConstants.FUEGO_CONNECTIVITY_KEY_ORGANIZATION_UNIT);+
    +     String newUserPwd = configuration.getProperty("FUEGO_FDI_NEW_USER_PASSWORD");//fuegoFileProperties.getProperty(BVIDConstants.FUEGO_CONNECTIVITY_KEY_FDI_PWD);+
    +     DirOrganizationalUnit orgUnit = DirOrganizationalUnit.fetch(directorysession,organizationUnit);+
    +     DirHumanParticipant user = DirHumanParticipant.create(directorysession, userVO.getUserId(), userVO.getFirstName(), userVO.getLastName(),+
    +                              userVO.getFirstName(), userVO.getEmail(), userVO.getPhone(), "",+
    +                              newUserPwd, orgUnit,roleAssignments, true);+
    +     user.update();+
    +     }+
    +     finally+
    +     {+
    +               log.info("diconnecting the directory session created for creating participant");+
    +               directorysession.disconnect();+
    +     }+
    +}+
    3. The workflow instance then waits at interactive activity to get the next trigger with the same identifier to move the workflow ahead.
    4. Now the case is that i can get 1000 such identifiers at a time in a file which i ll read for which i need to create 1000 workflow instances parallely. During this process i get the following exception : -
    java.lang.IllegalStateException: Cannot set the directory Connector Service while connector service is started
    at fuego.connector.CompositeConnectorService.setDirectoryConnectorService(CompositeConnectorService.java:97)
    at fuego.connector.CompositeConnectorService.restartDirectoryConnectorService(CompositeConnectorService.java:52)
    at fuego.directory.DirectoryConfigurationManager.loadDirectoryConfiguration(DirectoryConfigurationManager.java:265)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:217)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:199)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:214)
    at fuego.directory.Directory.fillPassport(Directory.java:122)
    at fuego.directory.DirectoryPassport.fillPassport(DirectoryPassport.java:274)
    Please let me know if you need any more information. awaiting your help
    Thanks,
    Anand

  • Change Workflow-Instance-Container values

    Hi Experts,
    I would like to ask you how to change a value in a container of a Workflow-"Instance".
    For e.g.:
    I have a workflow-instance which contains a (bor-) Object "Switchdocument". This switchdocument contains also a (Bor-) Object "serviceprovider". And I would like to change the value of the parameter of "serviceprovider".
    How is the relationship between the "father"-object and the "child"-object and where are the relationship saved?
    I know the table "sww_cont" and "sww_contob". But these tables are not enough, aren't?
    Because in the mentioned tables (sww_cont) I see the elements with their values of the container of the workflow-instance. I don't the elements with their values of the object (father-object) contained in the workflow-instance-container and also not the elements with their values of the object (child-object) in the father-object.
    or (explanation as a list)
    Workflow-Instance-Container:
    1.element
    2.element
    3. Switchdocument (object)  (father-object)
    3.1 element of switchdocument
    3.2 .....
    3.3 Serviceprovider (object) (child-object)
    3.3.1 element of serviceprovider  <--- here I would like to change the value
    I hope I explained the situation in a detail way
    I apologize if I don't use the right terms!
    If anyone has a hint or a way to get to the "child-object" I would be very thankfull.
    Thanks a lot for your answers in advance!!!
    with lovely regards.

    Hi all,
    at first I thank you all for your answers!!!
    As I understand the values are permanently saved in the subobjects. Like I said the subobject (Distributor) with the attribute, e.g. Serviceprovider in Own System = 'X' is contained in the Object Switchdocument.
    That means for me that I have to retrieve the attribute of the subobject via a method for the special instance and change it, e.g. to set it blank.
    I have forgotten to say that I am developing a report (se38) to change all attributes of workflow-instances with object/subobject.
    As I said above in a condition step it is asked whether a "serviceprovider is in own system". if yes (means = "X") then the process has another way. And I have to change the "X" to "blank", so the workflow goes always the, in my case, second way.
    For the next time, I will explain my problem in a more detail way
    Thanks again.
    with kind regards!

  • Any restrictions on # of Workflow / Instances that ALBPM can handle?

    Is there any restrictions on No of workflow/ instances that ALBPM 5.7 can handle in production. I'm not worrying about handling number of simultaneous request but actual number of workflow / instances it can handle in due course.
    Thanks,
    Bharat

    9 pages max

  • No Workflow Instance

    Hi,
    We are using a batch program to trigger workflows for appraisal. Initially we tried for 3 users and the workflows were triggered properly. Then we ran the program for chunks of 50 users and when I checked the Event Trace, it says "Receiver started correctly", but the RFC status says "User is locked. Please notify the person responsib". I cannot see any workflow instance for these users in SWI1. Now even when I run the workflow trigger program for one user the status says "User is locked. Please notify the person responsib". I checked the logged on user and it is not locked. What could be the error? Pls help
    Event trace details
    EVENT DATA:
    Event Instance ID    2419876
    Object Type          APPR_DOC
    Object Key           01DDB4883F197144F18C480015600EB0690000
    Event                START_TARGET_SETTING
    Event Creator        US SSOPER         SAP
    Creation Time        26.11.2008 12:01:54 UTC+8
    RECEIVER DATA
    Receiver Type        WS99800015
    Object Key
    Receiver FM          SWW_WI_CREATE_VIA_EVENT_IBF
    RFC Destination      WORKFLOW_LOCAL_800
    Check FM
    Receiver Type FM
    TRACE DATA
    Trace Date/Time      26.11.2008 12:01:54 UTC+8
    User Name            SSOPER         SAP
    Main Program         RHHAP_APP_DOCUMENT_ADMIN_PA
    Action               Receiver started correctly
    RFC Status           User is locked. Please notify the person responsib
    Regds
    Thiru

    Hi,
    the workflow background user is configured here as SSOPER SAP. This user is locked. Please correct this via transaction SU01.
    The configuration of the user and logical destination can also be maintained with transaction SWU3.
    Have fun,
       Florin

  • Workflow instances problem

    My problem is that in workflow i am sending workitem for manager approval.If manager rejects the workitem it goes to employee back for correction and resubmission.But what is happening once workitem is send to employee for correction the current workflow instance is completed and when user changes the report and resubmits it a new workflow instance will be created.This all increases load on the working system.
    Can we keep the same workflow instance working till report is rejected or accepeted and then only workflow instance is completed.

    I think you can make use of Function module
    SAP_WAPI_WORKITEMS_TO_OBJECT
    in a virtual attribute that will check whether any existing wflow is already triggered for it. If yes set the Flag(Virtual attribute) value as X. Make use of this attribute in th Start ciondition of the wflow in SWB_COND Tcode.
    Now in your workflow the approval step should be inside a loop that loops until the request is approved. Inside the loop the approval step should be in fork with 2 parallel branch and 1 necessary. In 1 branch put approval step and in other branch put the Wait for event step.
    Thanks
    Arghadip

  • [q] change workflow instance id

    hI All,
    How can I change a WLI2.0 workflow ID after the workflow has started ?
    The workflow is initialized via the WLI2.0 queue with an XML. I then call a
    business operation
    that give me the value that I need to put in the workflow ID. How do I do
    that ?
    Thanxs,
    Ronen Yaari

    I have the same question, and I would like to be able to get to
    the actual "label" as opposed to setting up a new process
    variable. It is not accessible in the dialog box.
    Thanks
    John
    "Kara Moscoe" <[email protected]> wrote:
    When you say "workflow ID", do you mean the system-generated instance
    ID, or
    do you mean the template definition ID -- or "label" -- that you define
    in
    the Template Definition properties dialog? (There is some confusion around
    these, for which a CR has been opened.)
    If it's the latter, you should simply be able to specify a workflow variable
    name, and specify that variable as the return variable in the Perform
    Business Operation action for the business operation in question. If
    you
    want to manually intervene during a running workflow to change a variable
    value, you can also use the Update variables function in the Workflow
    Variables dialog box, accessed from the Workflow Instances dialog.
    Kara
    Ronen Yaari <[email protected]> wrote in message
    news:[email protected]..
    hI All,
    How can I change a WLI2.0 workflow ID after the workflow has started?
    The workflow is initialized via the WLI2.0 queue with an XML. I thencall
    a
    business operation
    that give me the value that I need to put in the workflow ID. How doI do
    that ?
    Thanxs,
    Ronen Yaari

  • Assigning a workflow instance ID

    Hi,
    I just want to know if it's possible to assign my own instance ID when instantiating
    a workflow.
    Thanks.

    I have the same question, and I would like to be able to get to
    the actual "label" as opposed to setting up a new process
    variable. It is not accessible in the dialog box.
    Thanks
    John
    "Kara Moscoe" <[email protected]> wrote:
    When you say "workflow ID", do you mean the system-generated instance
    ID, or
    do you mean the template definition ID -- or "label" -- that you define
    in
    the Template Definition properties dialog? (There is some confusion around
    these, for which a CR has been opened.)
    If it's the latter, you should simply be able to specify a workflow variable
    name, and specify that variable as the return variable in the Perform
    Business Operation action for the business operation in question. If
    you
    want to manually intervene during a running workflow to change a variable
    value, you can also use the Update variables function in the Workflow
    Variables dialog box, accessed from the Workflow Instances dialog.
    Kara
    Ronen Yaari <[email protected]> wrote in message
    news:[email protected]..
    hI All,
    How can I change a WLI2.0 workflow ID after the workflow has started?
    The workflow is initialized via the WLI2.0 queue with an XML. I thencall
    a
    business operation
    that give me the value that I need to put in the workflow ID. How doI do
    that ?
    Thanxs,
    Ronen Yaari

  • XML message with no matching workflow instance

    Hi all,
    I have a JMS application that sends XML messages to WLPI. I want to ask:
    1. what will happen to the XML message if it doesn't match any workflow instance?
    2. is there a way for the JMS application to know that the XML message didn't
    match any workflow instance?
    Any help would be greatly appreciated.
    Thanks!

    If the message doesn't match any template instance, then the message is sent to
    the WLI_FailedEvent queue. However, if the xml doesn't find a template because
    it failed the "condition" of any start node, then the message is consumed by that
    template -- but the message disappears. :-( I opened a ticket on that one because
    I thought that I should still be notified, but BEA confirmed that that is designed
    behavior. This is for WLI 7.0
    "Jo-Ann de Leon" <[email protected]> wrote:
    >
    Hi all,
    I have a JMS application that sends XML messages to WLPI. I want to ask:
    1. what will happen to the XML message if it doesn't match any workflow
    instance?
    2. is there a way for the JMS application to know that the XML message
    didn't
    match any workflow instance?
    Any help would be greatly appreciated.
    Thanks!

Maybe you are looking for

  • Issue with hierarchy node variable and multiple SAP hierarchies

    Hello experts, We are currently facing an issue when using two SAP hierarchies in Web Intelligence and one of them is restricted with a hierarchy node variable. The systems we use are a SAP BI 7.01 (SPS 05) and a Business Objects Enterprise XI R3.1 S

  • How can I read and write encrypted Mails with my iPhone?

    Thanks for any help.

  • URGENT HELP! Resetting OS

             I've recently been handed down a MacBook Pro w/o its installation cds. I wanted to start fresh with it so I've used the cds (10.5.8) that came with my iMac (Intel Core 2 Duo) to reset everything in my new old Mac. The MacBook Pro says it can

  • Db_dump not working on db file generated by rep-system

    built with db-4.5.20 a sample rep-app, the code from "Getting Started with Replicated Berkeley DB Applications" at http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_db_rep/C/index.html It works as expected, but after stopping the all

  • BC4J Passivation

    Hello, I have a Web Application using BC4J with an application module pool. So sometimes the passivation mechanism of application module occurs (I use passivation in database). I need to preserve the context of a user accross several requests, so my