Multiple events triggered by one modification

Hello,
I'm trying to trigger multiple events with the modification of a single user field. In Lookup.USR_PROCESS_TRIGGERS, I've defined the same field twice and associated them with two different events. My lookup looks something like :
Code Key
Decode
USR_FIRST_NAME
Change First Name
USR_FIRST_NAME
Change Full Name
This works perfectly, but it seems that the duplicate Code Key randomly disappear after some time leaving me with a single entry for USR_FIRST_NAME. Is this normal? Is there another way to make a single field trigger 2 events?
Thanks,
--jtellier

You're doing it wrong.  You should not have duplicate code keys.  Here is what you can do though.
Code Key = USR_FIRST_NAME Decode = Change First Name
Now on your process definition, as long as the task starts with "Change First Name" you can add as many instances as you want.  You can create the following tasks and they will all trigger:
Change First Name
Change First Name - Full Name
Change First Name - Display Name
Change First Name - Email Address
Just the first part matters.
-Kevin

Similar Messages

  • Multiple event structures in one VI

    I have two event structures in a single VI, one that handles events that freeze the user interface and one for events that don't. The latter group are all triggered acquisition tasks, where you arm the  data acquisition, but possibly might want to abort it (or do other things, while waiting for the data to come. Obviously you need a stop button to be active and responsive. In retrospect, using two loops was possibly a poor choice, but one I made because it never occured to me that these things would only fire once and have to be put in a while loop to be kept active. No other language does that as far as I know. Anyway, the question is how do I keep both active? Do I enclose both in a single while loop? Do I give each there own while loop. Do I give up and merge the two event structures into one. For clarity I would like to keep them seperate, but that is not essential. I'ld like to know what my options are.
    Solved!
    Go to Solution.

    rossu wrote:
    If they are in sperate while loops will they both run. If they are in one loop will the loop recycle if one structue is still waiting for an event to occur?
    The answer to this is fundamental to how LabVIEW works. A loop will not proceed to the next cycle until everything inside it completes. If you have two event structures in the same loop, both of them need to process an event (or a timeout) before the loop will iterate.
    You can have multiple event structures in the same VI.
    By "freeze the UI," do you mean the "Lock front panel..." checkbox in the event dialog? There is no problem with having some events that do lock the front panel and some that do not in the same event structure. I'm not sure that this is what you mean by "freezing" the UI, though.
    EDIT: and one more comment. Generally you should not put long-running tasks (like data acquisition) inside an event structure. Instead, the event case should pass those tasks off to a separate loop (for example using a queue) so that the event structure can quickly go back to listening for other events.

  • Multiple event structures in one program

    I know it's not good practice to have one event structure inside another event structure (I don't know exactly why). But if another event structure is in the subvi, is it safe? Please comment.

    guangdew1 wrote:
    I know it's not good practice to have one event structure inside another event structure (I don't know exactly why).
    This is because of dataflow and the way event structures work. If you have an event structure inside an event structure, both event structures will accumulate events whenever one occurs, but it is unlikely that they can be handled in the order they occur or at all. By default, event structure are set to lock the front panel until the event completes, meaning that if an inner event gets triggered first, the code will lock up, because it will no longer be possible to trigger one of the outer events. If the outer event occurs first, it cannot complete, because it requires a later firing of one of the inner events before it is ready to handle the next event that occurs in the UI. Even if it marginally works if the panels don't get locked, you are requiring the user to trigger events in a certain order. How is he supposed to know what's allowed or not?
    If this is not exactly clear to you, you need to start with a few tutorial and learn about dataflow, Then start using a single event structure and see how things work by programming scenarios and see what happens.
    guangdew1 wrote:
    But if another event structure is in the subvi, is it safe? Please comment.
    Event structures are only useful inside interactive subVIs that show their front panel. even then I strongly advise against calling anything interactive, or anything that takes excessively long, inside a main event structure. You end up with code that can become unpredictable, can deadlock, is hard to debug and flies in the face of all good programming guidelines.
    Obviously, you have some specific application in mind where you think something like that is useful, I can guarantee you that there is a much better solution is you think about this a bit longer. If you need help, please describe exactly what the program should do and how it should react to user interactions at the various stages.
    A program should always be approached from the code and UI needs. Don't start with a harebrained code construct (events inside events) and then look for a use. It does not exist! 
    Event structure only belong in toplevel loops. They should never be hidden insde squences or case structures (or other event structures as already mentioned above). If you have multiple toplevel loops that run in parallel, it is safe to place up to one event structure inside each. Each event structure can have an unlimited number of event cases. This should be sufficient to handle any programming need you might have.
    LabVIEW Champion . Do more with less code and in less time .

  • Multiple events triggered in BUS1001006

    Hey Workflow guru's,
    I have a scenario where once the basic views are created for a material in MM01, two work-items are sent to create the Classification and Sales views for that material.
    I have delegated a Z business object from BUS1001006 and using the method CREATE to maintain the views.
    Now my problem is that once the basic views are created multiple workitems are being sent to the inbox i.e. instead of two work-items (one for Classification and one for Sales, there are two for Classification and two for Sales - identical)
    I have checked in SWEL and it displays identical line items with the object key in receiver data differing by 1.
    Appreciate any help!!!
    Thanks

    Hi Kedar,
    In SWEL under the Event Data tab the object key is the Material number ... which is identical in the two events raised. But, under the Receiver data tab the object key is the work item ID. This is the one which differs by one.
    For ex: when i created a material number 10000336, it created two events. In both the events under the Event Data tab, the object id is the material number which is the same. But, under the Receiver data tab, the object id in the first event is 7647 and in the Receiver data tab the object id for the second event is 7648. This i believe is the work-item ID and this is the one that differs.

  • Multiple Events & Triggering of Workflow

    Dear All,
    I have a requirement in which -
    1) A workflow should trigger on two events i.e. 2 different tcodes, it is possible for a single workflow triggering from 2 events ?? if yes, kindly explain.
    2) The workflow should trigger on a particular date given in the tcode, like order completion date i.e. i should program the workflow for advance. How ??
    3) There is a requirement of sending mails to the respective persons in the organisation, these email-ids are stored in a z-table, how to achieve this ?
    Any assistance provided to clarify the above issues will be really grateful.
    Thanks,
    Saurabh Chauhan.

    Hello,
    1.You can trigger a workflow from two different events. In the triggering events tab of the workflow template, just specify the other triggering event as a new entry in the second line. Take care of the binding. If the events are from two different business objects, then you need to create two different workflow containers and bind them accordingly in the Event - > Workflow binding.
    2.In workflow you have conept called the start condition. If the condition is satisfied, then only the workflow will advance. What you have to do is in the business object that you use in designing the workflow, create an attribute which retrieves the date. In the screen of workflow builder, go to the basic data(ctrl+F8)...instance independent and the tab ....start events....select the event for which the condition is to be designed...click on the box beside the binding. it will show you the condition creator...compare the attribute that you have created with the required value.
    3.You can get the values in two ways...one to create an attribute and get the values from the ZTABLE, then use the same in the SENDMAIL step of the workflow. The second one would be create a mehod in which the coding to get the users from the table is executed and the list of users are exported from the method to the workflow template. You have the facility to create an element fo multiline. Use it.
    Hope this will help.
    Regards,
    Sam

  • Multiple event handlers for one button

    I'm trying to create a button with 2 event handlers, such
    that when you roll-over the button, a submenu pops up, and when you
    click the button, you go to a certain frame. I feel like this
    shouldn't be hard at all, but it's not working. Below is the
    actionscript I have tried. Both event handlers work as I want them
    to if alone, but the on(release) functionality does not work when I
    try to put them together.(I have Flash 8). Thanks for your help!
    on (release) {
    _root.gotoAndStop("one1");
    tellTarget (_root.navigation) {
    gotoAndStop (1);
    on (rollOver) {
    this.gotoAndPlay("links");
    tellTarget (_root.navigation.introduction) {
    gotoAndStop (1);
    tellTarget (_root.navigation.overview) {
    gotoAndStop (16);
    tellTarget (_root.navigation.coronary) {
    gotoAndStop (1);

    this code is ok, it seems that when u rollover on the button,
    the event is fired and it keeps on running the time u r on it. i
    think just add
    delete this.onRollOver inside rollOver event.

  • Multiple Event Calendars on One Page

    I have several event calendars  on a webpage that are broken down by categories (IE: {module_calendar,48,c,94584} ). When I do this only the first calendar on the page will change dates. The other calendars won't change the date.
    Is there a way to fix this? Is this intended behavior or a bug?
    Note: I would provide the page but it is within a secure zone that charges a membership thus I cannot post access to it publicly.

    I have several event calendars  on a webpage that are broken down by categories (IE: {module_calendar,48,c,94584} ). When I do this only the first calendar on the page will change dates. The other calendars won't change the date.
    Is there a way to fix this? Is this intended behavior or a bug?
    Note: I would provide the page but it is within a secure zone that charges a membership thus I cannot post access to it publicly.

  • Invite attendees to multiple events?

    Is there any way in iCal to invite people to multiple events through one invitation. I am in the process of setting up iCal for work where we want to send invites to staff for their shifts, the main reason being that by doing this if we change a shift they will get a notification of the change.  Our concern however is that if we add people to individual events they will end up with hundreds of emails/notifications in one go. Is there anyway to invite them to multiple events with just one invite?

    Greetings,
    Try: http://www.ehow.com/how_7318053_send-meeting-invite-via-iphone.html
    (If you haven't already, setup iCloud: http://www.apple.com/icloud/setup/)
    Cheers.

  • How to use Mulitple DAQs with a single triggered event on only one of the DAQs

    I have three PXI6115 and would like to tie all these to a single triggered event on one of the DAQs. I've scaned the examples and any assistance would be greatly appreciated....

    TCjr,
    Please refer to your other post:
    How to use Multiple DAQs with a single triggered event on only one of the DAQs

  • How do I split a single event with many clips into multiples events, one event per date?

    I archived the video from my AVCHD camera into a Final Cut video archive. Later I imported this into iMovie. All the clips from this archive (spanning several months) are dumped into a single event. If I recall, older versions of iMovie would import video into separate events for each day. Then I would go through and give each event a meaningful name (e.g., "Mary's Birthday").
    This is what I would like. Is there a way to split this very long event into multiple events, one for each day that is present in the event?

    Not automatically but with imovie 10 you can create new events with any name you like then move clips into them from other events  (Just like FCP 10.1).   See:
    http://help.apple.com/imovie/mac/10.0/#mov1d890f00b
    You can also choose to display clips in an event grouped by date.
    Geoff

  • Move multiple events into one album

    Hi,
    I am trying to tidy up our photos on iPhoto.
    Is there a fast, easy way to move multiple 'Events' into one 'Folder'
    For example:
    We have all of our photos from our honeymoon in Europe saved as seperate 'Events' According to the location. It was a 3 month trip so there are a lot of 'Events' or locations. Is there a way i can select all of them and put them into the Honeymoon 'folder' without them all merging into one big album?
    I want to keep them as separate events within the folder so we can remember where they were taken.
    I have been trying to drag the 'Event' over to the Honeymoon 'Folder' but instead of just going straight in there it creates a new unnamed folder on the left panel, and then i have to drag the event up to the honeymoon folder and delete the unnamed folder. It is proving rather time consuming and i have over 12000 photos to sort.
    Any help would be great. Simple terms please!!
    Thanks

    lf you drag an event onto a folder in the left hand pane the photos in that Event will be added to a new album in that folder with the same name as the Event. .
    OT

  • Multiple events per date with only one photo each - Unwanted

    I have the eyefi wireless sd card in my camera and it is setup to transmit my photos into iphoto automatically, which it does. However, the problem arises in that iphoto creates multiple events for the same date each containing only one photo. I would prefer that iphoto create individual events per date and have the multiples of that date's photos within. I thought I had the settings configured to do so as I have preferences set for autosplit events one per day but I still see events such as - July 3, 2008 - July 3, 2008 - July 3, 2008 - each with only one photo inside.
    I am wondering if it is something in iphoto's settings or the way in which eyefi transmits the photos into iphoto.
    Any thoughts?

    I do not have a WiFi connection to my camera so can not test but am just guessing
    I can think of two possibilities
    - 1 - if you are taking the photos with the WiFi connected then each time you snap a photo it may be being sent which would be looked at as a new import and therefore create a new event - to stop this I believe you would have to not have a full time WiFi connection to your camera or somehow set the camera to send batched - not each one - iPhoto will take each batch into and follow the rules for making events for that batch even if you camera is sending many batches of One photo
    - 2 - You have the preference for making batches set to one every two hours and there is a long time between photos - I'm guessing that #1 is more likely
    LN

  • Event structure triggered by multiple events

    I have an events structure where one case needs to handle a button
    press from any of three controls from the front panel.  When i
    press any of the three buttons, the program is going into the correct
    event case.  However, once i am in the correct case, i need to
    know which button was pressed so that i can perform slightly different
    tasks?  Any ideas?
    Kind Regards,
    Bryan

    There are many possibilities. Attached is one simple example (LabVIEW 7.0) that does not use control references.
    (If only one of the buttons can be active at any time. you could also use a single radio button as a control)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ComboEvent.vi ‏35 KB

  • Multiple event receivers with a list

    Hi All,
    If there are two item event receivers attached with a list and event is cancelled by event receiver that trigger first, will second event receiver be invoked? As per my understanding that second event receiver will not be invoked.
    I have a requirement where in case first event receiver cancel the event, second event recever should still be invoked.
    do anyone has any idea aroound it?
    Regards Amit

    Hi, Amit KM.
    http://msdn.microsoft.com/en-us/library/gg749858.aspx
    Notice the following details:
    Synchronous event receivers are called in sequential order based on the sequence number specified during event binding. This applies to both Before and After synchronous events.
    Asynchronous After event receiver threads are initiated in sequential order based on the sequence number. However, there is no guarantee that they will finish in that same order.
    An asynchronous After event can start at any time after its associated user action is performed. It may start before, at the same time as, or after the Web request is completed.
    After a user initiates an action in the SharePoint user interface, and before SharePoint Foundation executes the user action, the synchronous Before events are raised. If there are multiple synchronous Before events, they are raised in the order specified
    by their sequence number. Similarly, synchronous After events are raised after SharePoint Foundation executes the user action. These, too, are raised in the order specified by sequence number. As you can see, all synchronous events are processed in the same
    thread as that in which the user action occurs.
    Asynchronous After events, however, are processed on secondary threads.
    So you're completely right that if the first event receiver has cancelled the operation, the second event receiver will never been executed.
    In your case if you want second event receiver(B) to be invoked regardless of the first event receivers'
    (A) result you can easily swap the sequence numbers for those event receivers.
    Event Receiver Sequence          
    The event receiver sequence specifies the order in which an event receiver is executed in cases where an event triggers multiple event receivers. For example, if you have two
    ItemAdded event receivers bound to the same list (one from Assembly "1" and the other from Assembly "2"), the event receiver that is bound with a lower sequence number is executed first. A practical example is adding an event receiver to a
    system list that already has a system event receiver bound to it. In that case, you assign the new event receiver a higher sequence number.
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Receivers ListUrl="Lists/Tasks">
    <Receiver>
    <Assembly>MyReceiverAssembly, Version=1.0.0.0, Culture=Neutral,
    PublicKeyToken=12e5e5525fb3d28a</Assembly>
    <Class>MyReceiverAssembly.MyReceiverClass</Class>
    <Type>ItemAdded</Type>
    <Name>My ItemAdded Event Receiver</Name>
    <Synchronization>Synchronous</Synchronization>
    <SequenceNumber>1000</SequenceNumber>
    </Receiver>
    </Receivers>
    </Elements>
    LinkedIn Profile
    SharePoint Advanced Visibility Options project
    SharePoint Managed Metadata Claims Provider project

  • Multiple Google calendars on one account no longer sync with Palm Pre

    Since the WebOS update in early Sept., the multiple Google Calendars that I own and which appeared on my Pre have disappeared.  I'm left only with the default account calendar.  The calendars which had appeared on the phone are still there in the pull-down menu on the upper right, so if I CREATE an event in a calendar on the phone, it's pushed to Google and then to my desktop calendar (iCal).  However, events which I create in different Google calendars are NOT pushed to my Pre.  This makes the Pre more than useless.  The best feature was Synergy and now it's broken.
    I can work around by copying each event (I teach college and each subject's course calendar is listed publicly so that students can subscribe, and I can keep track of multiple subject due dates) to my default account.  That means that I have duplicate events listed in different calendars on Google, but only one event gets pushed to the Pre.  The other workaround is to use the browser to check my Google calendar, but it's not as convenient as using the calendar function of the phone.  And, where's the Synergy???
    I really need a solution.  Before the update, the multiple Google calendar events all appeared on my phone and desktop and Google and I was very happy.  I hate this new situation.
    Post relates to: Pre p100eww (Sprint)

    Hello Sdswmr and welcome to the Palm forums.
    I'm not seeing this issue on my Pre with webOS 1.4.5 installed.  If I create a calendar event, and select one of my other Google Calendars, that event is pushed to the correct calendar and I see it in Apple's iCal.  Similarly, if I create a new event in iCal, it shows up correctly on my Pre.
    Have you tried removing all of your Google accounts and readding them?  What other troubleshooting have you done?
    Alan G

Maybe you are looking for