Setting the sequence of asset listeners

Hi All,
We have about 10 asset listeners and would like to have them execute in a specific sequence. I have contacted Fatwire Support and I got the standard answer:
"There is no documented way to specify ordering of asset listeners. If order of asset listeners is a concern, you could put all the asset listener code into one asset listener"
Obviously, putting all the listener code into a single listener is less than ideal. I'd like to know if any of you have been able to find a way of reliably setting the sequence in which the asset listeners are executed.
We tried the obvious approaches of ordering the listeners in our AssetListener_reg table using ID, insert order, etc but they have not proved reliable.
One option we are considering is to write a single listener that is responsible for invoking the existing listeners rather than rely on Fatwire to do this.
So, if we don't have to write custom code to do the obvious, I'd like to know what has worked for others.
Thanks,
--Adi.

Hi,
Sadly the queries that retrieve listeners from the listener tables don't specify an ordering, e.g.:
select id from AssetListener_reg where listener = ...
select listener from AssetListener_reg where blocking = ...
In Oracle DB there is no way to reliably predict or influence the ordering that comes back from a query, except by using an explicit ORDER BY. See http://stackoverflow.com/questions/899514/default-row-ordering-for-select-query-in-oracle for more description on that.
It does seem like it could be useful to determine the order so I have logged enhancement request 16998818 "ALLOW FOR ORDERING OF ASSET LISTENER EXECUTION" for this.
Regards,
Phil

Similar Messages

  • Dynamically set the sequence of an Item

    Hi,
    I have three record types and am trying to dynamically set where it appears on the form.
    The 3 record types are MEETING REGISTER, MARKET PROBLEM AND BROADCAST CHANGE.
    If the user creates a record with a type of MEETING REGISTER then I want a field called 'duration' to have a sequence of 57, if it is either of the other 2 types then I want it to appear further down the form with a sequence of 241.
    I have tried creating a dummy text item called 'P2_DURATION_SEQ' at the top of the form with a default function of:
    declare
    v_dur_seq NUMBER;
    BEGIN
    IF :P2_RECORD_TYPE IN ('MEETING REGISTER')
    THEN v_dur_seq := 57;
    ELSE v_dur_seq := 241;
    END IF;
    RETURN v_dur_seq;
    END;
    and tried putting &P2_DURATION_SEQ. in the sequence field of the duration field properties with no success.
    Any advice would be great.
    Thanks
    Chris

    Hello Chris,
    If you have just the one field, or just a couple, that needs to dynamically change sequence (I wouldn't suggest the following if you have many because it could become quite a maintenance headache), you can try this:
    1) Define three "duration" fields, say P1_DURATION_MR, P1_DURATION_MP and P1_DURATION_BC. Define their sequence to display wherever each needs to be, respectively.
    2) Map all three to the same database column.
    3) Make each conditional on the record type being "MEETING REGISTER", "MARKET PROBLEM" or "BROADCAST CHANGE" respectively.
    Then, if the record type is "MEETING REGISTER", P1_DURATION will render where it needs to and the other two will not render, etc.
    Hope this helps,
    John

  • Setting the order of event listeners

    I have a JEditorPane with html formatted text. When the user clicks on a link, I want to determine if it is a right click before sending the hyperlink event. I tried adding a mouse listener before I added the hyperlink listener, but it still calls the hyperlink 1st. How can I get the mouselistener to be called 1st?
    Thanks!

    Thanks, this is what I am doing. I combined my two
    listeners into one class that implemented both
    listeners. I am using boolean flags to check to see
    if both have been called or not. I was just wishing
    there was a better way. I think you actually only need one flag, for the HyperlinkListener. The way I did it was, you combine them in one class like you said, and capture the URL from the Hyperlink event. Store it in a class URL variable, set the hyperlinkSet flag and then on the mouseClicked method check if it was a right mouseClick (to popup some menu etc) or a left click, where you can just set the page to the URL you have stored.

  • How can I set the TestStand Engine tracing options to be on or off through automatically within my sequence file?

    Hello,
    I am looking for a way, where I do not have to set the Station Options manually. I want to make sure that whenever someone is running my sequence, the sequence should make sure that the "Tracing Enabled" options gets disabled somehow. I know the tracing option is actually a setting of the TestStand engine, but I want to implement it within my sequence.
    Please let me know if this is doable. If yes, what will be the best approach?
    Thanks and Regards,
    Niraj
    Solved!
    Go to Solution.

    Depends on why you want to disable tracing. One of these might work for you:
    1) Lock the file as not viewable.
    2) Set RunState.Tracing to false as the first step in your sequence (still get the first trace message for the sequence though)
    3) On sequence calls to the sequence set the sequence call trace setting to disabled. (not enforced though).
    Hope this helps,
    -Doug

  • Is there a way to permanently set the mailbox order?

    Is there a way to permanently set the sequence in which mailboxes are displayed in the left-most panel of Mail? I can drag and drop the mailboxes into the order I want, and they seem to stick around - at least until I update any of the accounts. The moment I update an accounts prefernces in Preferences, Accounts, the display order is set to the same order that appears on the preferences display. 
    I have a fairly large number of email accounts, and often have to tweak settings, so it's a bit of a pain to have to reset the order every time I make a change.
    This is occurring on both my MBP and my iMac.

    Same question.
    I recently left Snow Leopard to Mountain Lion.
    Previously, in the side bar of Mail, (the one you make visible using "Show" in a previous post here), I was able to drag and drop any of the Reception mailboxes to the place I wanted to select, to put them in the order I wished, and this order remained until I decide to change it.
    This seems not possible any more, or... just for the current session. If I close Mail and reopen, Reception boxes are re-ordered in alphabetic way.
    Any way to make my choice permanent as before ???
    To make it more clear, ordering my way is possible by drag and dropping for private mailboxes, but not for reception mailboxes associated to different mail accounts, the order is lost once Mail is closed.

  • How to set the number of sockets for batch processing at runtime?

    Hello all,
    I need to change the execution model at runtime. I have achieved this by setting the 'ModelPath' property of the sequence file at runtime. When I set the sequence file model as batchmodel, i need to set the number of test sockets also dynamically. How can this be done? Once i set the number of sockets, i would also have to set the UUT serial number for each socket. Please help me out in solving this.
    Thanks and Regards
    Madhu Srinivasan.

    Hi Madhu,
        You can do this by inserting a sequence file callback into your main sequence and choose the ModelOptions callback. You can then use the expression step to set the "Parameters.ModelOptions.NumTestSockets" value to whatever you want. If you then use the Test UUTs execution entry point you will be prompted for serial numbers automatically. You could also use this same procedure but alter the ModelOptions callback in the process model directly, either way works just as well but I think that using a sequence file callback gives a bit more flexibility in the system.
    Hope this helps,
       Nick

  • What is setting for the depreciation calculate on the basis of assets value date

    Hi ,
    My client requirement to calculate the assets depreciation on the basis of assets value date,
    every assets transaction will have take base assets value date
    Acquision   1  Assets value date 1.4.2014
    transfer Assets value date 15.3.2014
    Wbs settlement  Assets value date 20 .3.2014
    second acquisition Assets value date 28.03.2014
    if anybody know about the setting ,Please provide me important setting ,

    Any setting related to assets posting variant ? to calculate if anybody know the setting please inform.

  • How do I set the Alpha when opening an Image Sequence?

    I'm trying to imported a tiff image sequence w/embeded alpha into Final Cut Pro. Since Final Cut Pro has no feature for importing image sequences, I assume that Quicktime Pro is my only choice.
    Here's what I've done so far:
    1. Opened Image sequence in Quicktime Pro
    2. Went to "show movie properties"
    3. Selected "Video "Track" which is only track to select
    4. Went to "Visual Settings" tab, "transparency"
    5. Selected "straight alpha"
    It turns the alpha or matte area into a solid white. I've tried the other transparency options but they always give me the white.
    6. Import saved quicktime into FCP, edit into timeline, select different alpha settings, always white background.
    Am I doing something wrong, or is my graphics guy giving me image sequences with improperly embeded alphas?
    Avid will import the image sequence and read the alpha with no problem.

    In Final Cut (prefs) set the duration for still's
    Import the still folder. Or make a bin folder in the bowser window...
    Drop the still folder on the time line ....done
    I just did a test and it works.........

  • Sending image sequence job to compressor in command line : how to set the framerate?

    Hello,
    In Compressor, when you import a image sequence, it's possible to set the framerate and add an audio file before choosing a preset and lauching the encoding task.
    I want to dlo the same thing with command line. I know how to send a compressor job with command line, but no how to add theses settings.
    In the compressor command line help, we've got this :
    Job Info: Used when submitting individual source files. Following parameters are repeated to enter multiple job targets in a batch
              -jobpath <url> -- url to source file.
                                               -- In case of Image Sequence, URL should be a file URL pointing to directory with image sequence.
                                               -- Additional parameters may be specified to set frameRate (e.g. frameRate=29.97) and audio file (e.g. audio=/usr/me/myaudiofile.mov).
    So there are also framerate and audio parameters in command line but i've no idea how to write the command line with theses parameters
    Here is an example of command line for Compressor (by Apple) :
    ./Compressor ‑clusterid tcp://127.0.0.1:51737 ‑batchname myBatch ‑jobpath /Volumes/Source/ShortClips/NTSC24p.mov ‑settingpath /Users/stomper10/Library/Application\ Support/Compressor/PhotoJPEG.setting ‑destinationpath /Users/machinename/Movies/myDestinationFilename.mov.
    Thank you for your help!

    You can see in the command sh running-config command
    show running-config : Displays the current access point operating configuration
    Use the guest-mode SSID configuration mode command to configure the radio interface (for the specified SSID) to support guest mode. Use the no form of the command to disable the guest mode.
    [no] guest-mode .
    Here is the guideline for usage
    The access point can have one guest-mode SSID or none at all. The guest-mode SSID is used in beacon frames and response frames to probe requests that specify the empty or wildcard SSID. If no guest-mode SSID exists, the beacon contains no SSID and probe requests with the wildcard SSID are ignored. Disabling the guest mode makes the networks slightly more secure. Enabling the guest mode helps clients that passively scan (do not transmit) associate with the access point. It also allows clients configured without a SSID to associate.
    Examples
    This example shows how to set the wireless LAN for the specified SSID into guest mode:
    AP(config-if-ssid)# guest-mode
    This example shows how to reset the guest-mode parameter to default values:
    AP(config-if-ssid)# no guest-mode

  • Setting the Administrator password on a MDT Server Task Sequence

    I've created a SCCM 2012 R2 CU3 MDT 2013 task sequence using the Server Task Sequence template to deploy Windows Server 2012 R2. I'm not doing a capture but just using the .wim file from the source DVD. The problem I'm having is setting the local admin
    password in Apply Windows Settings. It's not taking the password that I've assigned it. I'm not sure how many others have created a Server Task Sequence or not but I'd be interested to know how to get around this problem.

    Sorry, in Apply Windows Settings I've selected "Enable the account and specify the local administrator password" and entered the local password there. When the system is imaged and I try to log in locally it gives the the error "The user name
    or password is incorrect. Try again." error.
    I have checked that the local administrator account is enabled so I know it's not that and I've tried multiple times. I even took one of our client task sequences that I know works, made a copy of it, and added the Server 2012 R2 install to it and get the
    same result.

  • In/out markers being set in the sequence instead of source clip

    Here's what's happening:
    1) I open a clip in the source monitor
    2) I set the in/out points of a subclip and drag it to the timeline, no problem
    3) I scroll around in the source monitor, finding a new clip
    4) I hit in/out and try to drag the clip from the source monitor
    5) The original clip is dragged over and I notice that the in/out points were set on my sequence instead of my source monitor.
    The issue seems to be that focus doesn't follow the mouse intuitively? The focused/highlighted window remains the sequence even if I'm actively scrolling around in the source monitor and even if I hit in/out keys while the cursor is in the source monitor window -- the only way I can get the source monitor to be the focus is if I explicitly click on it.
    I've only recently upgraded after some time over in FCP-land, but I feel as though this didn't seem to happen to me in previous versions of Premiere. Is there a preference or anything I can do to enable this to work? Many thanks in advance if anyone has ideas.
    I'm on OS X Mountain Lion.

    the only way I can get the source monitor to be the focus is if I explicitly click on it.
    That's normal.  If you want to keep focus on the Source Monitor, use the Insert or Overlay Edit commands instead of dragging.

  • What do I need to set in order for each instance of the step type in the sequence to act individually?

    I'm not able to change parameters on one step without it changing the parameters on another instance of the step within the same sequence.  Is there something in the step type properties that I need to set to change this?
    For instance, I have created a custom step called "Battery PWR" that the user can insert into a sequence, hit the "edit" button, set a control in a GUI to 12V and hit an "Okay" button so that the post-step condition causes the power supply voltage to change.  Then, later in the sequence I want the user to be able to insert the same custom step, hit the edit button, set the control to 0V and hit an "Okay" button so that the post-step conditition causes the power supply to go to 0V.  The problem is, when the user edits one of the steps, it causes the other step to change to the same value.
    I know that this has a simple fix, just can't seem to find it.

    I answered my own question.  I was reading and writing to a file global instead of the step parameters, so I was basically overwriting my variables each time I edited the step.  I'm obviously a novice TestStand user.

  • How would I set the LabVIEW Execution Display.vi to automatically run a sequence from a desktop icon or the Start Menu Launcher.vi

    LabVIEW does not support command line arguments. Are there some modifications to the Execution Display.vi that would enable this behavior?

    Hi,
    This mods is to the LabVIEW OI supplied with TS2.0.1 and labVIEW 6.1
    In the TestStand - Runtime Operator Interface.vi, the cmdline is obtained and the full path to the sequence file is stored in a global variable. When the Sequence Display is launched and the case First Time is executed. The cmd line global is checked for an empty string, if its not then the string is concatated with the string 'Open Sequence File - No Prompt|' and put on the message queue. This will result in the sequence file being opened.
    The cmd line parsing is pretty basic. the argument is nothing or the full pathname to the sequence file.
    If this is what you are after then send your email to [email protected]
    I tried to attach the vi's but I am having some problems with thi
    s. Probably a size restriction.
    Hope this helps.
    Ray Farmer
    Regards
    Ray Farmer

  • How do you set the frame size?

    Trying to set a frame size for 1920px X 1080px but can't see where to set this in a new project?

    Frame dimensions are a property of the sequence, not the project. A project can contain multiple sequences with different properties.
    File>New>Sequence opens a dialog where you can choose a preset or configure custom settings. Several of the preset groups have 1920x1080 options.
    Asssuming you have footage of those dimensions that you'll be using in the sequence, then you can simply create a sequence from an asset. Either drag it to the New Item button in the Project panel's lower right corner, or right-click it and select New Sequence from Clip.

  • How to set  the  table I_ORG in 'BBP_EXTREQ_INBOUND'?

    dear all,
      Now I am using BAPI 'BBP_EXTREQ_INBOUND' to create a shopping card and have successed.
      but  in the table I_ORG,   whatever I set the value of  organization ID and group ID, it will not be changed in the SRM.
    how can I set them?
       t hank you!

    hi ,
    you can use BADI --> BBP_PGRP_ASSIGN_BADI in your SRM system and make changes according to your own requirements.
    if you make changes using the above BADI --> then changes should be updated in the newly created shopping cart.
    this is because , the above BADI is called ---> in the
    BAPI 'BBP_EXTREQ_INBOUND' .
    check out the following sequence --->
    BBP_EXTREQ_INBOUND ---> calls
    FM BAPI_SCEC_CREATE ---> calls
    {BAdI - BBP_PGRP_ASSIGN_BADI -
      PERFORM sc_pgrp_assign_badi TABLES lt_i_items             "XMZSP02AO
                                         lt_i_account           "XMZSP02AO
                                         lt_i_partner           "XMZSP02AO
                                   USING ls_i_header            "XMZSP02AO
                                CHANGING lt_i_orgdata[]         "XMZSP02AO
                                         return[].              "XMZSP02AO

Maybe you are looking for

  • Moving music from pc to mac using ipod

    I recently bought a ipod and macbook.....all my music is on my old pc which is running xp,.....I want to move all my music from the pc to the mac using the ipod but the apple care told me the ipod is only one way.....computer to ipod.....not ipod to

  • VMware Fusion+BootCamp= disaster?

    Hi to all, it seems that Boot Camp doesn't work under Leopard 10.5.2 on my MBP 2.2ghz(2008) after installing VMware Fusion and a virtual machine. Today i'm trying to make a small partition with Boot Camp , needed to run my backtrack3 linux flavor dir

  • How to check itab1 with copy of itab by line wise?

    Hi Friends, I have two internal tables itab and jtab. jtab is a copy of itab with rows 10 and column wise 12. Both have same records since jtab is a copy of itab. My requirement is (at the end of the program if i update new reocrd to itab) I want to

  • Form filling in Adobe Reader X

    To all, I just downloaded ARx & am having difficulty filling in a PDF form I downloaded. I remember doing this before & the form, I think, had a sort of purple/blue outline indicating, to me anyway, one could fill in the fields & print but not save,

  • Oracle Database Express Edition 10g Download Issue

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex, I get the message that my Internet