Event will get trigger ?

hi gurus
we r in ecc6.0 & EP7.0 . employee will raise the travel request through ess in portal , then the workflow should start , so event should trigger , how to identify the event triggering at the end of the process. in backend i can't find the any events get raising in SWEL. In the document its given some object class is used  start the workflow automatically . (in backend system we will bind the event with workflow templete in SWETYPV , like that what is transaction to identify the binding b/t classes & workflow templete .
if application is in portal , we r going for some custom event , how to define the new event .like what we define in SWEC.

Hi Surya
If you are testing in the DEV or QA environment then first switch the event trace ON using SWELS then create the travel request and see if anything is being triggered at all.
Events have to be first defined on the Class/BOR object and then 'raised' in your custom code, search the forums to find how to trigger them.
You display workflow templates using SWDD, here you can navigate to every step and check the bindings.
Also, do some reading on SAP Help portal and on SDN Blogs/forum.
Regards
Ravi

Similar Messages

  • Which event will trigger first?

    hi, any one can explain me the execution of at selection screen events in order.
    which event will trigger first at selection-screen output or at selection-screen?

    Hi,
          The Selection screen sequence is-
    1) AT SELECTION-SCREEN OUTPUT
    2)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <FIELD>
    3)  AT SELECTION-SCREEN ON HELP REQUEST FOR <FIELD>
    4)  AT SELECTION-SCREEN ON <SEL_OPT>
    5)  AT SELECTION-SCREEN ON <PARAMETER>
    6)  AT SELECTION-SCREEN ON BLOCK <B1>
    7)  AT SELECTION-SCREEN ON RADIOBUTTON GROUP1<RAD1>
    8)  AT SELECTION-SCREEN
    9)  AT SELECTION-SCREEN ON VALUE REQUEST FOR <SEL_OPT_LOW>
    10) AT SELECTION-SCREEN ON HELP REQUEST FOR <SEL_OPT_LOW>
    11) AT SELECTION-SCREEN ON END OF SEL_OPT
    ***DO REWARD IF USEFULL
    REGARDS,
    VIJAY

  • When I try to sync my iPad and iPhone it will get within the last 3 pictures then stop giving me an APPCRASH error message. Then iTunes will shut down. No matter what I do to increase or decrease the number of pictures it always stops 3rd from the last.

    When I try to sync my iPad and iPhone it will get within the last 3 pictures then stop giving me an APPCRASH error message. Then iTunes will shut down. No matter what I do to increase or decrease the number of pictures it always stops 3rd from the last.
    Problem Event Name:             APPCRASH
    Application Name:                  iTunes.exe
    Application Version:               10.4.0.80
    Application Timestamp:          4e262cfr
    Fault Module Name:               QuickTime.qts
    Fault Module Version:             7.70.80.34
    Exception Code:                     c0000005
    Exception Offset:                    00146b30
    OS Version                                                            1033
    Locale ID:
    Additional Information 1:          0a9e
    Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
    Additional Information 3:          0a9e
    Additional Information4:          0a9e372d3b4ad19135b953a78882e789
    Any assistance I can get will be greatly appreciated.

    Thank you iTunes for fixing the problem of downloading my pictures to my iPad and iPhone with the update 10.5.0.142

  • Debugging the program that will get triggered for a particular output type

    Hi all,
             I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.
    My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.
    My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.
    So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?
    Rgds,
    Balaji

    Hi Balaji,
    If possible, try to repeat the output in the output type messages screen of VA02 and change its dipatch time to '1'(Through further data). Now put the break point in the program assigned to output tye 'ZALT'(You can see this in the TNAPR table) and run the program RSNAST00 through SE38. The program will stop at the break point.
    If its not possible to repeat the output and if you want to check it the first time the output type is processed, ask the functional consultant to change the dispatch time in the condition record that is being retrieved for proposing the output type to '1'. Now run RSNAST00. The program will stop at the breakpoint.
    Thanks,
    Vinay

  • Plugin events not getting triggered

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

  • Event not getting triggered for a few users in production

    Hi Experts!!
    We have a workflow that gets triggered on the event REQUESTCREATED of BUS2089. In production, we see that for a few users the event is getting triggered and even the workflow is. But for a few users, the workflow is not getting triggered. However, we didn't check SWEQADM yet and are waiting to get auth to check the same. But before that, I need your valuable suggestions on this.
    When I check SWEL, I cannot see any entries at all. Not even for the successfully processed ones.
    Auth objects cannot be a reason, as all the users have same auth. Please suggest me on what else can be the reasons.
    Your help is highly appreciable.

    Hello Srinivas !
                  Check in SWEQADM to know whether the event is on queue.If so, redeliver it.
                  If there is no event on queue, check the RFC queue( transaction SWU2 ) and ST22 for possible ABAP dumps.
                  Call work item list report (transaction SWI1) and check event linkages (transaction SWETYPV )of the users for whom the event is not triggered.Are you using BAdI or user- exit to trigger the workflow ? If so, check whether those are in active state.
                 Refresh the workflow buffers(transaction SWU_OBUF).Check either of the workflow versions are in active state.
    Regards,
    S.Suresh

  • What event will be triggered by check button on ALV?

    Hi,
    What event will be triggered by the standard check button on ALV? ON_DATA_CHECK is only triggered by a change in an editable field on ALV, so if no change were made, ON_DATA_CHECK wouldn't be triggered. I also tried events for before and after standard function but neither were triggered. How can I use the standard check function?
    Regards,
    ts

    Hi ts,
    The event ON_DATA_CHECK would trigger only if the content on alv is dirtly i.e. user modified something.
    If there are no changes done for the contents, whats your requirement to use check button?
    You can create a custom alv toolbar button and use event ON_FUNCTION on click of tool bar button.
    Regards,
    Rama

  • Call bapi  bapi_po_create1 will get dump message SYNTAX_ERROR

    hi
    when i call bapi will get SYNTAX_ERROR dump!
    i have check in bapi_po_create1 report i found have add support node ( get new function:ZBAPI_PO_CHANGE--> this note will active in other function) and in this function i will found one perform process_po parameter not eq the definition FORM, so will get SYNTAX_ERROR!
    in call function report  BAPI_PO_CREATE1 set command :
    SET EXTENDED CHECK OFF!
    BUT  the dump will happend again!
    how to inactive SYNTAX  check !
    thank you  very much!

    Hi thomas,
    Thanks.
    The info you wanted is as follows:
    Short text
        Exception condition "FAILURE" raised.
    What happened:
       The current ABAP/4 program encountered an unexpected
    situation.
    Error analysis :
    A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
    exception
    condition "FAILURE".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    Trigger Location of Runtime Error:
        Program Name                            CL_HANDLE_MANAGER_MM==========CP
        Include                                 CL_HANDLE_MANAGER_MM==========CM005
        Row                                     13
        Module type                             (METHOD)
        Module Name                             GET
    Line  SourceCde
        1
        2 METHOD get.
        3
        4   IF my_manager is initial.
        5     CALL METHOD get_manager.
        6   ENDIF.
        7
        8   CALL METHOD my_manager->search EXPORTING im_id = im_id
        9                                  IMPORTING ex_handle = ex_handle
       10                                  EXCEPTIONS failure  = 01.
       11
       12   IF sy-subrc ne 0.
    >>>>>     RAISE failure.
       14   ENDIF.
       15
       16 ENDMETHOD.

  • Sometimes after creating an event folder on iPhoto, all my pictures in that event will be gone the next time I open iPhoto. Why is this happening? Is there a way to retrieve the missing photos?

    Sometimes after creating an event folder on iPhoto, all my pictures in that event will be gone the next time I open iPhoto. Why is this happening? Is there a way to retrieve the missing photos?
    Most events I make on iphoto will still be there the next time I open iPhoto, while other event FOLDERS will be there, but pictures in it gone.

    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • If I delete iMovie events, will completed iDVD projects be affected?

    Three questions:
    1.) If I delete footage from iMovie, will iDVD projects that use the same footage be affected? I have burned some home videos to DVD's recently (footage went from camera to iMovie to iDVD to burned DVD... never knew this process took so many steps) and I would like to clear up some hard drive space but it would be nice to be able to go back and burn replacement copies of these DVD's in the future.
    2.) Why is the footage in iMovie MUCH larger than the exact same footage in an iDVD project?
    3.) If I delete footage from iMovie events, will iMovie projects that use that footage be affected?

    What I have is completed iDVD '08 projects. What I need to know is this: if I deleted the event and project files from iM08, would I still be able to go back to the iDVD projects and burn additional copies of the DVD in the future?
    As others have tried to say, it all depends on what you mean by "completed."
    1) If you, for instance, shared your project the the Media Browser, then imported and burned a DVD (which you no longer have), and subsequently modify the iMovie project or delete it, then the "source" file for your iDVD project will be gone.
    2) If, on the other hand, a physical file not stored in your "project" package was saved to you hard drive and used as a source for your iDVD project, then it remains available for iDVD and can be used as a basis for additional burns as long as you don't delete it or the iDVD project. In this case, deleting the iMovie '08 project and event files has no effect on future burns.
    3) A better option is to simply save the encoded iDVD output as an "image" file. Then you can get rid of the iDVD project file as well and any time you want to burn additional DVD copies, simply burn the image to as many times as needed. Of course, this means you cannot alter the iDVD project so you have to make sure you are really happy with the output before deleting it.
    4) Also be advised, that depending on the software available, you can either "copy" or "image" burn your finished DVD as often as you desire. The advantage here is that you don't have to keep any files on your hard drive for future "cloning" of your DVDs. On the other hand, this process takes a bit longer than simply burning a DVD image already stored on your hard drive.
    Basically, you have many options here. Evaluate them and decided what is best for your particular work flow.

  • Whether the table 'B' will get update

    Hi Guys,
    In forms 6i , i have code like, when hitting the save button, on-insert trigger in block 'A' should insert data into table 'A' and the same time on-insert trigger in block 'B' should update data in table 'B' . The question is whether the table 'B' will get update, if any exception occured in table 'A' through any database trigger on table 'A'. there is no rollback on block 'B' , but exception is handling in blcok 'A'.
    please help me.
    thanks
    Seban

    You Need to define seperate session by using autonomous transactions,it allows you to leave the context of the calling transaction, perform an independant transaction, and return to the calling transaction without affecting it's state.
    SQL> CREATE TABLE a (id   NUMBER(2))
      2  /
    Table created.
    SQL> CREATE TABLE b (id   NUMBER(6))
      2  /
    Table created.
    --Table a column id has 2 digit constraint
    SQL>
    SQL> CREATE OR REPLACE PROCEDURE test (p_a NUMBER)  AS
      2    PRAGMA AUTONOMOUS_TRANSACTION;
      3  BEGIN
      4    INSERT INTO b (id)  VALUES (p_a);
      5    COMMIT;
      6  END;
      7  /
    Procedure created.
    SQL> SELECT * FROM a
      2  /
    no rows selected
    SQL> SELECT * FROM b
      2  /
    no rows selected
    Here i am forcly inserting 3 digit number into table a column ,which will raise exception and the same will allow in table b which has 6 digit number.
    SQL> BEGIN
      2    INSERT INTO a VALUES (100);
      3  EXCEPTION WHEN OTHERS THEN
      4    test(100);
      5  END;
      6  .
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM a
      2  /
    no rows selected
    SQL> SELECT * FROM b
      2  /
           ID
          100
    SQL>
    -------------------------One more example---------------
    SQL> DELETE b
      2  /
    4 rows deleted.
    SQL> COMMIT;
    Commit complete.
    SQL> CREATE OR REPLACE PROCEDURE test (p_a NUMBER)  AS
      2    PRAGMA AUTONOMOUS_TRANSACTION;
      3  BEGIN
      4    INSERT INTO b (id)  VALUES (p_a);
      5    COMMIT;
      6  END;
      7  /
    Procedure created.
    SQL> BEGIN
      2    INSERT INTO a VALUES (10);
      3    INSERT INTO a VALUES (100);
      4  EXCEPTION WHEN OTHERS THEN
      5    test (100);
      6    ROLLBACK;
      7  END;
      8  .
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM a
      2  /
    no rows selected
    SQL> SELECT * FROM b
      2  /
           ID
          100
    SQL> BEGIN
      2    INSERT INTO a VALUES (10);
      3    INSERT INTO a VALUES (100);
      4  EXCEPTION WHEN OTHERS THEN
      5    test (100);
      6  END;
      7  .
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM a
      2  /
           ID
           10
    SQL> SELECT * FROM b
      2  /
           ID
          100
          100
    SQL> Khurram

  • Is the VXI bus timing on an 870 using VIC the same as I will get from my application program ?

    I have a 3rd party instrument that interferes with interrupts on modules in higher numbered slots. This instrument just passes the daisy chain along, but I suspect it is responding when it should not during an interrupt ack cycle. VIC interrupt ACK worked fine. Is the VXI bus timing fixed by the controller ? Is what I see on the bus with VIC what I will get using VISA calls?

    In VISA, you use VISA Enable Event to configure VISA with what type of event to watch for (such as interrupts). Then use VISA Wait on Event to actually wait for the interrupt to be generated and then acknowledged. Finally, you use VISA Disable Event before ending the VISA session.
    You will find tabs that correspond with these names in VISA Interactive Control. First use the Enable Event, select the event type and whether you want a queue or handler mechanism (I would suggest queue), and press Execute. Then go to the Wait on Event tab, set your timeout, and press Execute. As long as the interrupt occurs before the timeout period has elapsed, you will see the interrupt information returned. You can Execute Wait on Event numerous time
    s and it will return the next interrupt in queue. Before closing the VISA window, Execute Disable Event.

  • Event Handlers which trigger functions with multiple arguments

    I am playing two video clips back to back. I have a few
    things which I need to do in between clips, so what I am doing for
    each is adding a handler for VideoEvent.COMPLETE, at which time i
    want to call a function which takes multiple arguments, like this:
    video.addEventListener(VideoEvent.COMPLETE,
    myFunction("1","2","3"));
    private function myFunction(var1:String, var2:String,
    var3:String):void
    video.removeEventListeners(VideoEvent.COMPLETE, myFunction);
    I've already figured out that getting rid of event handlers
    that trigger anonymous functions is impossible. Please don't tell
    me that it's impossible to remove them if functions require more
    than 0 arguments...

    "muskiemania" <[email protected]> wrote in
    message
    news:gc0pk0$jfb$[email protected]..
    >I am playing two video clips back to back. I have a few
    things which I need
    >to
    > do in between clips, so what I am doing for each is
    adding a handler for
    > VideoEvent.COMPLETE, at which time i want to call a
    function which takes
    > multiple arguments, like this:
    >
    > video.addEventListener(VideoEvent.COMPLETE,
    myFunction("1","2","3"));
    >
    > private function myFunction(var1:String, var2:String,
    var3:String):void
    > {
    > video.removeEventListeners(VideoEvent.COMPLETE,
    myFunction);
    > }
    >
    > I've already figured out that getting rid of event
    handlers that trigger
    > anonymous functions is impossible. Please don't tell me
    that it's
    > impossible to
    > remove them if functions require more than 0
    arguments...
    Any function that you add via addEventListener should expect
    exactly ONE
    argument, the event. And 99.958% of the time, you can take
    that event
    object and figure out exactly what you need to know.
    HTH;
    Amy

  • SCOM 2012 R2 - Generate an alert when a specific event will not come in specific time range

    Hello SCOM people,
    I need to figure out what kind of monitor shall I choose for my monitoring of a specific event. I need to generate an alert when no specific event was generated by server.
    Our company uses FIM 2010 with scheduled tasks, after each completed task is generated an event to application log. When sync is stuck or something is wrong no event will come to application log and I need to be warned. Tasks run each 30minutes and there
    should not be an hour break between the previously created event.
    I hope it makes sense :)
    Thank you
    Liibas

    Hi Liibas,
    That sounds like a good scenario for using Orchestrator and the SCOM Integration Pack, since you can have time-triggers, etc. to check for Alerts and then trigger a Runbook to email someone if the Alert does/does not appear. 
    Please remember to click “Mark as Answer” on the post that helps you.
    AdinE MCSE, MCSA, MCITP, MCTS; (Specializing in System Center and Private Cloud)
    2015 Microsoft MVP in System Center Cloud and Datacenter Management
    LinkedIn: http://ca.linkedin.com/in/adinermie
    Website: http://micloud.azurewebsites.net

  • Use Event Structure to trigger a 1 off event

    I am trying to use an event structure to trigger a 1 off event.  I thought that I could check for the condition that I want to trigger the event and wire this the Val(signaling) property of a Boolean.  I then created a Value Change event on this control expecting the event to trigger when the value changed from false to true.  what I find is that writing to the Val Signaling property triggers the event every time not just when the value changes.
    The attachment is a simple vi to try and illustrate this point using the iteration counter to try and trigger a 1 off event on the 10th iteration.  The Boolean 'Once' changes from False to True on the 10th iteration but the event is triggered for every iteration.  Need to run in debug
    Any Help much appreciated
    Ken
    Solved!
    Go to Solution.
    Attachments:
    1 off event trigger.vi ‏12 KB

    One thing that I should have pointed out. I don't know what you are
    going to do in your "one off" event. If it is a time consuming operation
    you should not use an event but send a message to another loop and have
    that loop execute the code. Otherwise your event loop will be blocked.
    You can send messages to other loops in a
    number of ways. Variables, Queues, Notifiers, Action Engines, etc..
    Attached
    is your vi modified to use a notifier. I also modified your conditional
    logic. You said you wanted to have something happen only once but you
    were using a less than comparison. I changed that to an equals comparison so that when i = 9 a notification is sent to a slave loop.
    A message box will be displayed on the tenth iteration of the master
    loop. Notice how your numeric indicator continues to increment even with
    the dialog box displayed. That would not happen if the dialog box were to be displayed in the master loop.
    =====================
    LabVIEW 2012
    Attachments:
    1 off event trigger.vi ‏15 KB

Maybe you are looking for