Correlation and Abort

Hi,
I'm using a correlation (with one business id) within a process and at the end I terminate it, because another instance might be created later on using the same business id. I terminate it in the last activity, works fine so far.
The problem is now, if I abort the instance somewhere in the middle (e.g. in an interactive activity). Then the instance finishes, of course, but the correlation seems to be not terminated, so I can not create later on any other instance using the same business id.
How can I assure that the correlation is terminated independent of how the instance finishes?
Thanks for your help.
Matthias

And how can I do that when aborting an interactive activity using the standard functionality (meaning the attribute Abortable)?

Similar Messages

  • How to externally trigger the execution of TestStand with a start and abort button through a digital interface?

    Hello,
    I'm Currently evaluating TestStand as an alternative for an in-house developed Test Sequencer.
    To start our own Test Sequencer we use a small box, connected to a DIO board. The box has a start button and an abort button. The box also has a pass, a fail and a running led.
    The interface with this box is made via some digital lines of a PCI-DIO-96.
    In our own Test Sequencer we have groups named Init, Run, Abort, Exit.
    The Init group is executed at startup (only once). It is used to initialize all the HW and SW. -> I guess this is the Pre UUT Loop callback in TestStand.
    The Exit group is only executed once at the end of the day when the application is terminated. It is used to free all the used hardware and cleanup all the resources. This probably is the Post UUT Loop Callback in TS.
    When a product needs to be tested, the operator presses the "start" button which triggers our own Test Sequencer and the run and abort group are being executed (first the run group, afterwards the abort group).
    When the product is being tested the "running led" of the little box lights up to indicate to the operator that the application is running. (only when the run and abort group are running)
    The Run group has all the functional tests in it. (MainSequence)
    The abort group is used to put everything back in it's original state after the test on this single product is done. (Post UUT)
    When executing the tests and something goes wrong (operator gets stuck in a clamper, ...) the operator can still press the abort button and then the execution immediately jumps from the currently executing step in the run group to the first step of the abort group. So, when something goes wrong, immediately the abort group is called.
    At the end of the run and abort group, if no errors occured, the "pass led" lights up. If one or more steps went wrong the "fail" led lights up.
    This setup can also be used to test multiple product in parallel. At that time all the different parallel testers have such a small box which contains a "start" and "abort" button and a pass, fail and running led. (it is possible that they are all connected to the same PCI-DIO-96 board. )
    My question:
    Is it possible to do something similar like this in Teststand? If yes, is there an example available that shows me how to do this in TestStand? (externally trigger the execution of TestStand)
    Typically, in the Init group (Pre UUT Loop) the digital interface box gets initialised.
    In the Close group (Post UUT Loop) the digital interface box is taken out of scope.
    Note: The PCI-DIO-96 board to which the digital interface box is connected will also be used in the rest of the developed application (MainSequence, ...)
    What's really important for me is that I can create a process model that all the application developers in our organisation can use. I really don't want any of the application developers (limited software experience) to mess around in all the features of TestStand.
    For them it's important that they just add the function DigitalInterfaceBoxInit () in the Pre UUT Loop Callback and the DigitalInterfaceBoxClose () in the Post UUT Loop Callback, and then everything works!
    It is important that the appliation developers do not have to create any global variables, other functions, synchronisations, parallel sequences, ... in TestStand. All this needs to be done with a simple call to the DigitalInterfaceBoxInit function.
    Thanks in advance for all the help!
    Best Regards,
    Dennis Vanotterdijk
    [email protected]

    Dennis-
    Your application sounds very well suited to TestStand's abilities. I am also quite impressed with your knowledge of how TestStand's architecture is arranged when you are still just considering whether or not to use it.
    I think that TestStand would work really well for you in this application. Like you mentioned it will provide you with a form of standardization for your application developers to work from. It also provides the flexibility for you to add your custom routines in many different places. TestStand also makes parallel and batch testing much easier in TS 2.0 so that you could develop one test for your product and execute different instances of it in parallel to test multiple products at once.
    As for your specific question about how to c
    ontrol TestStand using a DIO board. I think this is very feasible and should not be too difficult. Since TestStand provides you the ability to create a custom operator interface your operator interface could monitor the status of your DIO board and launch/abort executions based on the read values. Usually the executions are launched/aborted when a button on the GUI is pressed however, I do not see any thing different about basing the action on a DI signal vs a mouse click. I am sure your application is more involved than this high level description but from the sounds of it I think it is very possible to do with TestStand.
    Based on my experience of building test systems with TestStand and your description of the application, I would feel very confident in using TestStand to achieve all the goals you mentioned. If you have further detailed questions on how one of your features might be implemented, feel free to contact one of our Application Engineers or email us at www.ni.com/ask
    and we would be glad to help you.
    Best regards,
    Richard McDonell
    National Instruments

  • Correlation Problem: unable to Use Correlation and Activate correlation

    Hello,
    i have created correlation name in correlation list and assigned involved messages and assigned proper field in correlaton in properties .i am able to view my correlation name in the properties of both receive steps ,but when i assign it to use correlation and move cursor to activate correlation .value in use correlation is not holding the value and holding space ,the same is happening to activate correlation field.
    I am using PI 7.1.
    Please let me know if you have really overcome this issue.
    Regards,
    Vishal K
    Edited by: vishal kharat on Aug 3, 2011 6:15 PM

    it seems there is no way.
    See note 1797073
    Is there someone with a better solution?

  • Replication process halts and aborts

    Hello all,
    We have a an instance of NS Directory 4.15 running on solaris 2.6.
    We have 1 Supplier and 15 Consumers.
    During replication of 4 consumers, the replication process halts and aborts,
    and error messages similar to the following messages appear:
    [29/Oct/2001:14:32:02 +0200] - Automatic online replica
    creation is turned off. Replication cannot continue until you manually
    reinitialize the consumer from the replication admin screen. Aborting.
    [29/Oct/2001:14:32:02 +0200] - consumer XXX.XXX.XXX.XXX/o=XXX.XXX:
    REPLICATION HALTED
    the above error messages occur.
    Why is it happen?
    What should I do to prevent it?
    Please let me know.
    Thanks,

    Ehhh.. Real-time makes it significantly more complex. What versions of Oracle & Sybase do you have?
    To achieve this level of "real-time" replication, you are realistically going to have to set up a message-passing system to send the data changes from Sybase to Oracle. If you had a window of at least a few minutes, you could use something like Sybase Replication Server or Oracle Heterogeneous Services to do the replication in batches.
    At a high level, whenever a data change is made in Sybase, a message will need to be created and propagated to the Oracle database where the change is applied. You can roll this sort of thing yourself using JMS (Java Messaging System) since that is pretty standard-- you can configure Sybase to generate JMS messages and configure Oracle Advanced Queues to accept those messages. You would then need to write a process in Oracle that dequeued and processed the messages.
    Sybase Real-Time Data Services may be helpful here. What isn't clear to me, though, is how much code you really end up not having to write vs. how much effort is required on the setup & maintenance side. Whether you go for a custom point-to-point solution or the message bus approach probably depends on whether this is a one-off project or whether this is something that your organization is going to want to leverage for multiple projects.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Correlation and multiple branches with flowN

    Hi All,
    I would like to ask a question about correlation.I am trying to spawn "n" processes (Process B) from a master process(Process A), and than collect the responses from these instances.I have an array as an input to Process A, and have a flowN activity.In this activity,I simply perform an assign(to assign the varible in the array by an index, to the input variable of invoke), an invoke and a receive activities.
    I have added correlation to the invoke as initiate correlation, and I added the same set to the receive activity.When I run the sample, unfortunately I get "Cannot initiate a correlation set more than once." error and the process is cancelled.In fact, the values for each array iteration is different, so I would expect to initiate n correlations for my waiting receive activities.
    Am I doing something wrong or isn't that the way it has to be done?

    No, I have inserted a scope into flowN sequence and defined a scope variable to use.From the audit trail, I can see I have successfully assigned the array variable to the scope variable.For an input of 2 list elements,the first flowN branch is successfully completed but the second branch has a faulted invoke with the message:
    "Cannot initiate a correlation set more than once."
    If I remove the correlation sets from the invoke and receive and leave the correlation to BPEL Engine, I get the following message:
    Conflicting receive.
    Another receive activity or equivalent (currently, onMessage branch in a pick activity) has already been enabled with the partnerLink "CalleeProcess", operation name "onResult" and correlation set "" (or conversation id). Appendix A - Standard Faults in the BPEL 1.1 specification specifies a fault should be thrown under these conditions.
    Message was edited by:
    Caglar Kara

  • Correlated and non correlated Query

    hello
    I am confuse in correlated and non-correlated query? below query is correlated or non correlated ? why?
    SELECT FIRST_NAME,LAST_NAME FROM EMPLOYEES E WHERE department_id in
    (SELECT D.DEPARTMENT_ID FROM DEPARTMENTS D WHERE D.DEPARTMENT_ID=E.DEPARTMENT_ID)
    Thanks

    (SELECT D.DEPARTMENT_ID
       FROM DEPARTMENTS D
      WHERE D.DEPARTMENT_ID=E.DEPARTMENT_ID)is a correlated subquery. There is a correlation between this query and a table in the outer query (in this case the join condition between EMPLOYEES and DEPARTMENTS).
    Justin

  • CS4 titler: exit and abort changes?

    Before I upgraded to CS4 I was using premiere cs 1.5, and the titler behaved differently:
    in cs 1.5:
    each title is saved as a different file
    you can cancel out of the titler and abort any changes
    you can create new title from within the titler, just use "save as" to create a new title file
    In CS4 it seems titles are saved as internal format. There are no save options.
    Is it still possible to cancel out of the titler after I made some changes that I don't want to keep?

    You can make 32 undo's or look for an Auto Save that has no changes or a bit drastic: Revert the entire project.

  • Diff between Error,Warning and Abort message

    Hi Friends
    Can any body tell the Diff between Error,Warning and Abort message
    Thanks

    Error - Its the abnormal behaviour which was not expected. Its means the process has been hualted at this point. Unless and untill you resolve this, you can not procedd further.
    Warnings: Its just the effect of a process it may have on other processes. You can continue doing irrespective of the warnings.
    Abort : to terminate a computer processing or data transfer activity.
    Thanks..
    Shambhu

  • Warning and abort message for BAPI_MATERIAL_BOM_GROUP_CREATE

    Hi to all,
    i am creating BOM using FM BAPI_MATERIAL_BOM_GROUP_CREATE , i have passed all necessary parameters, but
    waring and abort message are coming with creating bom for BAPI_MATERIAL_BOM_GROUP_CREATE .
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=BOMGROUP1
    A BAPI1080             018
    Item ID=BOM1 is not assigned to a variant/alternative
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    please can any one tell me what will be the soultion for that.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 23, 2011 6:27 AM

    Thanks for reply ,
    yes i have used that link, and i am using same value , except for matnr and plant.
    but warning and abort message are coming, and no BOM is creating in MAST.
    W BAPI1080             029
    Error when checking the data of the object type=BOM / Id=BOM1 of group Id=BOMGROUP1
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    please can any one provide me the solution for that.
    code:
    DATA: BOMGROUP  TYPE TABLE OF BAPI1080_BGR_C,
            wa_BOMGROUP LIKE LINE OF  BOMGROUP,
            variant TYPE TABLE OF BAPI1080_BOM_C,
            wa_variant LIKE LINE OF variant,
            ITEM     TYPE TABLE OF BAPI1080_ITM_C,
            WA_ITEM   LIKE LINE OF ITEM,
            MATERIALRELATIONS TYPE TABLE OF BAPI1080_MBM_C,
            WA_MATERIALRELATIONS LIKE LINE OF MATERIALRELATIONS,
            RETURN    TYPE BAPIRET2_T.
    DATA: wa_return LIKE LINE OF RETURN .
    wa_BOMGROUP-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
    wa_BOMGROUP-OBJECT_TYPE = 'BGR'.
    wa_BOMGROUP-OBJECT_ID  = 'BOMGROUP1'  .
    wa_BOMGROUP-TECHNICAL_TYPE = 'M'.
    wa_BOMGROUP-BOM_USAGE  = '1'.
    wa_BOMGROUP-BOM_GROUP = 'BOMGROUP1'  .
    wa_BOMGROUP-CREATED_IN_PLANT = '2000'.
    wa_BOMGROUP-LTXT_LANG = sy-langu .
    wa_BOMGROUP-BOM_TEXT  = 'Created Using BAPI_MATERIAL_BOM_GROUP_CREATE'.
    APPEND wa_BOMGROUP to BOMGROUP.
    VARIANTS
      wa_variant-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
       wa_variant-OBJECT_TYPE   = 'BOM'.  "= 'BGR'. "
      wa_variant-OBJECT_ID  = 'BOM1'  .
       wa_variant-ALTERNATIVE_BOM = '2'.
      wa_variant-BOM_STATUS  =   '1'.
       wa_variant-BASE_QTY  =  '100'.
      wa_variant-BASE_UNIT =  wa_bom_header-BASE_UOM.
       wa_variant-LTXT_LANG = sy-langu .
       WA_VARIANT-LANGU_ISO   = SY-LANGU.
       wa_variant-ALT_TEXT  = 'BAPI_MATERIAL_BOM_GROUP_CREATE'.
      wa_variant-VALID_FROM_DATE = wa_bom_header-VALID_FROM.
       wa_variant-CHANGE_NO = 'ECN1'.
       wa_variant-FUNCTION     = 'NEW'.
       APPEND wa_variant TO VARIANT.
    ITEM
    WA_ITEM-BOM_GROUP_IDENTIFICATION  = 'BOMGROUP1'.
    WA_ITEM-OBJECT_TYPE               = 'ITM'.
    WA_ITEM-OBJECT_ID                 = 'BOM1' .
    *WA_ITEM-ITEM_ID                   = 'BOM1'.
    WA_ITEM-ITEM_NO                   = '0010'.
    WA_ITEM-ITEM_CAT                  = 'L'.
    WA_ITEM-COMPONENT                 =  '300201001'.
    WA_ITEM-COMP_QTY                  = '100'.
    *WA_ITEM-COMP_UNIT                 = 'KGK'.
    WA_ITEM-VALID_FROM_DATE           = SY-DATUM.
    APPEND WA_ITEM TO ITEM.
    MATERIAL
    WA_MATERIALRELATIONS-BOM_GROUP_IDENTIFICATION =  'BOMGROUP1'.
    WA_MATERIALRELATIONS-MATERIAL = '1020007'.  "lv_matnr. "
    WA_MATERIALRELATIONS-PLANT  = '2000'.
    WA_MATERIALRELATIONS-BOM_USAGE  = '1'.
    WA_MATERIALRELATIONS-ALTERNATIVE_BOM  = '2'.
    APPEND WA_MATERIALRELATIONS TO MATERIALRELATIONS.
    data: ITEMASSIGNMENTS TYPE TABLE OF  BAPI1080_REL_ITM_BOM_C,
          wa_ITEMASSIGNMENTS like LINE OF ITEMASSIGNMENTS .
    wa_ITEMASSIGNMENTS-BOM_GROUP_IDENTIFICATION  = 'BOMGROUP1'.
    wa_ITEMASSIGNMENTS-SUB_OBJECT_TYPE = 'ITM'.
    wa_ITEMASSIGNMENTS-SUB_OBJECT_ID = 'BOM1'.
    wa_ITEMASSIGNMENTS-SUPER_OBJECT_TYPE = 'BOM'.
    wa_ITEMASSIGNMENTS-SUPER_OBJECT_ID = 'BOM1'.
    *wa_ITEMASSIGNMENTS-VALID_FROM_DATE
    *wa_ITEMASSIGNMENTS-CHANGE_NO
    wa_ITEMASSIGNMENTS-FUNCTION  = 'NEW'.
    APPEND wa_ITEMASSIGNMENTS to ITEMASSIGNMENTS.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
        EXPORTING
      TESTRUN                  = ' '
       ALL_ERROR                = 'X'
      TABLES
        bomgroup                 =  BOMGROUP
        variants                 = VARIANT
       ITEMS                    = ITEM
      SUBITEMS                 =
        materialrelations        = MATERIALRELATIONS
       ITEMASSIGNMENTS          = ITEMASSIGNMENTS
      SUBITEMASSIGNMENTS       =
      TEXTS                    =
        return                   = RETURN
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
       ENDIF.
      loop at RETURN INTO wa_return.
      write:/ wa_return-type, wa_return-id, wa_return-number,
      wa_return-message.
    endloop.
    regards
    pavneet rana
    Edited by: pavneet rana on Aug 23, 2011 8:57 AM

  • BPEL Correlation and timeouts

    Hello,
    I'd like to ask question regarging BPEL correlation and timeouts.
    According to BPEL SE lifecycle schema - if BPEL SE receives message with defined correlation and value of the correlator in message doesn't match any active process instance BPEL keeps message waiting for process instance with particular correlation value
    This behaviour is undesirable in situations where no process with particular correlator ever appears.
    If the BPEL client is connected via HTTP/SOAP BC, then client timeout will just terminate HTTP connection to binding component, message exchange between BC and BPEL isn't closed.
    I cannot manage to cancel connection due to timeout from EJB (if BPEL client is EJB, so it is connected via JavaEE SE).
    Is there any possibility in BPEL SE to refuse messages correlated to non-existing process instances? Or is there any possibility to set client timeout from SOAP BC or J2EE SE on message-exchange level?
    Vladimir

    This is a feature that we would like to provide in the BPEL SE. In the immediate future we may be able to address this in part specifically the case you mentioned. The other cases that also needs to be addressed is where the incoming message's correlation ID matches with a running instance, but doesn't get consumed because the instance never took the path of consuming the message. These other use cases will be addressed as a feature later.
    thanks,
    -Kiran B

  • Global Correlation and Network Participation - what's the value of it ???

    Hi security gurus!
    Can someone please shed me more light on the value of Global Correlation and Network Participation available at IPS 7.x
    We've enabled it on the clients IPS appliances and now the only information I see is some cryptic reports seen at IDM gadgets.
    It says that the reputation filtering is 100% under Percentage of malicious packets indentified. So what ?
    How would I know exactly what those packets are and where did they come from?
    Other metrics are Global Correlation inspection and Traditional IPS Detection techniques are 0%
    What does it mean? Doesn't something work ? Why are they 0% ?
    How is this normally sold to the customer if there's no credible information about it?
    Eugene

    Hi,
    I think this link will help you http://docs.oracle.com/cd/B14117_01/network.101/b10776/listener.htm

  • Recieve Step -Use Correlation and Activate Correlation

    Hi,
    In Integration process-recieve step , Can any one Please explain what does the properties USE CORRELATION and ACTIVATE CORRELATION mean and where these should be defined?
    Many Thanks,
    Sharath

    These are if you are going to be receiving many message into the same IP.
    By default an IP is created everytime a new message is received. If you don't want this to be the case you can specify a correlation which says that if message A contains 123 and if message B contains 123 in a sepcific field then they belong in the same IP.
    you define these where you define your containers you just have to toggle between the two modes.

  • How to monitor progress of web-service calculation?  And abort it?

    Hello. We're thinking of converting an existing Java radar calculation program into a web-service, so that it can be used by various interested parties. However, calculations can take some time (several minutes) and so we would like the client to be able to both show calculation progress and allow the user to abort the calculation if necessary. It is not obvious to us how to do this with a web-service. Are there any standard approaches to this problem? What's the best way of a client asking the web-service how a calculation is progressing? What's the best way for a client to abort a calculation? Any advice most welcomed.
    Kind regards
    Paul Howland
    NATO C3 Agency
    The Hague

    You can't estimate the duration withour running the gather_database_stats. You can monitor it while it is running. (e.g. count the tables that have got updated statistics based on DBA_TABLES)
    And if you run gather_database_stats, the default behaviour might well be to exclude tables which aren't "stale" while in the imported database the expectation is to gather stats on all tables.
    (Similarly, the behaviour to gather column histograms (method_opt) may differ in an existing database from a newly imported database)
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 14, 2013 10:13 AM

  • HT1923 My itunes will not update, and i got a message saying that MSVCR80.II is missing from my computer.  Try reinstalling.  When i try, i get Sevic apple mobile device failed, verify your priveledges with ignore, retry and abort. Still wont download.

    My itunes will not update.  I get a message that is saying that MSVCR80.II Is missing from your computer,   Try reinstalling to fix this problem.  So when i tried to reinstall, it says itunes was not installed correctly.  Please reinstall error 7 (windows err 126)  Then when i tried to reinstall i get this....Service applemovile device failed to start.  Verify that you have sufficient priveledges to start service...the I see  abort, retry and ignore....when I hit retry, it sill fails and i get the same message again.  How do I fix it?  Will I lose all my music if I delete it all and reinstall itunes?  I haven't tried that yet.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • IPhoto 6 photocaste results in error and aborted action

    Each time I try to Photocaste an album or slideshow from iPhoto, the event ends in an error message saying that the action was aborted for some unnamed error.

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

Maybe you are looking for