How to get timestamp in OEG filter ?

Hi, may I have another question(sorry for pretty much of questions):
In OEG, how could I get a timestamp(can OEG generate timestamp?) within OEG and assign its value into my SOAP message.
Thank....
Cliff

You can use the Utility > Scripting filter
importPackage(Packages.java.util);
importPackage(Packages.com.vordel.common.util);
var UTC_DATE_FORMAT_WITH_MS = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
function invoke(msg) {           
var timestamp = SimpleDateFormatPool.formatGMT(UTC_DATE_FORMAT_WITH_MS , msg.get("message.reception_time"));
msg.put("timestamp", timestamp);
return true;
}

Similar Messages

  • How to get Timestamp from NI-XNET hardware?

    Hy All,
    How can I get Timestamp directly from the hardware (NI-XNET) with the format of the timestamp at the 'Raw Frame Format'?
    Thanks for advance,
    Aviad

    OK! I got it: nxReadState.
    Sorry, it's so clear from the documentation...

  • Dvt:pivotFilterBar - how to get selected values from filter

    Hi all,
    I have a question: how to programmatically get selected values from pivot table's filter bar?
    I have tried to use
    pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);but for page edge dimensions it returns BAD DATA, it seems that it returns some cached values.
    Environment: JDev 11.1.1.3.0 without any patches.
    thanks,
    Miroslaw

    Hi,
    You can retrieve the selected value in the PivotFilterBar through the model of PivotFilterBar, instead of dataaccess:
    // get the model from the pivot filter bar instance
    QueryDescriptior queryDescriptor = (QueryDescriptor)pivotFilterBar.getValue();
    // retrieve a list of criterion, each one is used to populate each lov within the pivot filter bar
    ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion();
    List<Criterion> criterionList = conjunctionCriterion.getCriterionList();
    for (int i=0; i<_criterionList.size(); i++) {
    AttributeCriterion criterion = (AttributeCriterion)criterionList.get(i);
    // _selected is the currently selected value
    Object selected = criterion.getValues().get(0);
    System.out.println(_selected);
    Hope that helps,
    Chadwick

  • How to get timestamp to start at zero hours?

    Hi.
    I'm building a software that logs values to excel.
    The user can enter how long the test should run for, and the time elapsed should be set as a string in [hh:mm:ss]
    The only problem is that the TimeStamp starts at 01:00:00 (beacuase of the 1904-issue i guess). How can I get the counter to start at 00:00:00, or maybe subtract the one hour in the begining so it starts at zero.
    If you run the VI you'll understand what I mean.
    Thanks!
    Is my avatar the dog from the fraggle rock?
    Solved!
    Go to Solution.
    Attachments:
    forum_program1.vi ‏26 KB

    Hi auto,
    you have to use relative time instead of absolute time - see attachment...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    forum_program1.vi ‏27 KB

  • How to get the current IR filter in form pagination?

    Hi,
    In the 'Get Next or Previous Primary Key Value' process (form pagination) of a page there is an option to set an 'Optional WHERE clause'.
    Is there an easy way to get and set the current interactive report filter in the form pagination optional where clause?
    Tia,
    Marco

    Hi Marco
    Have a look at the following views:
    APEX_APPLICATION_PAGE_IR
    APEX_APPLICATION_PAGE_IR_CAT
    APEX_APPLICATION_PAGE_IR_CGRPS
    APEX_APPLICATION_PAGE_IR_COL
    APEX_APPLICATION_PAGE_IR_COND
    APEX_APPLICATION_PAGE_IR_RPT
    The APEX_APPLICATION_PAGE_IR_COND will give you the information you need but you would probably have to do a bit of PLSQL to get a usable WHERE clause from it.
    Andy

  • In OBIEE 11G, how to get the special parameter created by JAVA?

    Hi Experts,
    In OBIEE 11G, how to get the special parameter created by JAVA?
    For example:
    In JAVA , it has set one parameter named 'test'.
    So how to get the parameter in filter area in OBIEE?

    Hi Kobe,
    No P2 holds the parameter name like PresentationTable.ColumnName, in your form you may go for complete name or just column name and before submitting the form you can define the Action url.
    I would suggest to read section 6.3.2.1.
    ex:
    <SCRIPT LANGUAGE="JavaScript">
    changeAction(url) {
    var TestVar = form.inputbox.value;
    document.this_form.action="saw.dll?Go&Path=/Shared/Test/SB2&Action=Navigate&P0=1&P1=like&P2=Customers.Region&P3="+TestVar;
    </SCRIPT>
    </HEAD>
    <BODY>
    <FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR>
    <INPUT TYPE="text" NAME="inputbox" VALUE=""><P>
    <INPUT TYPE="button" NAME="button" Value="Click" onClick="changeAction(this.value)">
    </FORM>
    If helps pls mark.
    Edited by: veeravalli on Oct 24, 2012 10:25 AM

  • How to get the last received notification timestamp when app in background

    Hi All,
    We are developing the app in windows phone Silverlight 8.1.
    We need to show the last received notification time stamp even when the app is in background.
    When the app in foreground, I can get the timestamp.
    Since we cant write the background task for the Silverlight phone 8.1 app, I don't know how to get the time stamp of the last
    notification(toast/livetile/badge) in the app for display.
    Can anyone help on this.
    Thanks,
    Meena

    Yes, continuous background execution is not supported but you can use background tasks. 
    (Continuous background execution in this context refers to the special run state permitted for GPS Navigation apps.)
    For information regarding Background Tasks see: Supporting your app with background tasks -
    http://msdn.microsoft.com/library/windows/apps/hh977046.aspx
    Additional information is available in these topics:
    Guidelines for background tasks
    PushNotificationTrigger
    How to receive raw notifications
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • How to get the full path or name of the Layer to which Filter is applied?

    Hi All,
              I have created a layer using some background image as source. How to get the name or ful path of the background image?
    I checked the documentation and found GetPathNameProc(SPPlatformFileSpecification*) function, but I couldn't get the parameter SPPlatformFileSpecification*.
    Is there any other way to get the file path of background layer in my custom filter?
    Thanks,
    Dheeraj

    If this is a client side application then I'd say look into drag-n-drop tutorials.
    i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
    If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
    i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
    If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
    Good luck, hope that helps!

  • How to get modification timestamp of user in GAL

    Hi,
    Sorry for bothering you but I have one more question.
    In general I have performance issue. I am downloading users from GAL with all details and it takes about 3h. GAL has about 17000 users. I didn't found any solution to make it faster.
    But in next sync I would like to get data only for modified users but I don't know how to do it efficiently.
    Now I will describe more details.
    <pseudocode>
    Foreach( var addressEntry in Application.Session.AddressLists[…].AddressEntries)
    Var eu = addressEntry.GetExchangeUser()
    Var props = addressEntry.PropertyAccessor.GetProperties(…)
    LocalDb.SaveContact(addressentry, eu, props)
    The most time expensive part is :
    addressEntry.PropertyAccessor.GetProperties(…)
    ,it takes 2,5h. I would like in next “Download Process” download only modified entires but I don’t know how to get the timestamp efficiently. The timestamp is available using this:
    addressEntry.PropertyAccessor.GetProperty(“http://schemas.microsoft.com/mapi/proptag/0x30080040“)
    , but this is as slow as
    addressEntry.PropertyAccessor.GetProperties(…)
    , so there is no sense to check the timestamp and if it is old ask for properties.
    Can I get the timestamp information in other way, more efficiently?

    Mots address book providers (GAL included) are not very good with restrictions.
    GAL address book provider does not really do anything that you cannot do through the Active Directory interfaces. You should be able to run AD queries that use the "last modified  time" attribute.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • How to get ArrayCollection's total data after filter

    after i use filterFunction to filter data of some
    ArrayCollection. so how to get the total original data of this
    ArrayCollection?
    NOT use filterFunction = null, because i use the filter data
    to show at the same time!
    thank you!

    You can get the underlying array by accessing the
    ArrayCollection's "source".

  • How to get the table with no. of records after filter in webdynpro

    Dear Gurus,
    How to get the table with no. of records after filter in webdynpro?
    Thanks in advance.
    Sankar

    Hello Sankar,
    Please explain your requirement clearly so that we can help you easily.
    To get the table records from your context node use method get_static_attributes_table()
    data lo_nd_mynode       type ref to if_wd_context_node. 
    data lt_atrributes_table  type wd_this->elements_mynode. 
    lo_nd_mynode = wd_context->get_child_node( name = wd_this->wdctx_mynode ). 
    lo_nd_mynode->get_static_attributes_table( importing table = lt_atrributes_table ). 
    Note: You should have already defined your context node as a Dictionary Structure.
    BR,
    RAM

  • How to get a Timestamp that is 2 weeks ago?

    Hi,
    How to get a Timestamp that is 2 weeks before the current timestamp?
    Using either Timestamp or java.sql.Date.
    Thanks.

    You don't use either of those to do calendar arithmetic. You use java.util.Calendar and GregorianCalendar instead. Here's a fragment that should get you started:Calendar c = new GregorianCalendar();
    c.add(Calendar.DATE, -14);
    Timestamp = new Timestamp(c.getTime().getTime());

  • How to get command history with timestamp ?

    how to get command history with timestamp ?

    If you are using bash:
    HISTTIMEFORMAT If this variable is set and not null, its value is used as a format string for strftime(3) to print the time stamp associated with each history entry displayed by the history builtin. If this variable is set, time stamps are written to the history file so they may be preserved across shell sessions.
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Aug/08 - 19:07:52 chmod a+rwx /root
        2  Aug/08 - 19:07:52 ll /
        3  Aug/08 - 19:07:52 tail -f /root/mylog.log
        4  Aug/08 - 19:07:52 vi /usr/dt/bin/Xsession
        5  Aug/08 - 19:07:52 cat /root/mylog.log
        6  Aug/08 - 19:07:52 ls /export/home/p661210/.dt
        7  Aug/08 - 19:07:52 ls -la  /export/home/p661210/.dt
        8  Aug/08 - 19:07:52 cat  /export/home/p661210/.dt/errorlog
        9  Aug/08 - 19:07:52 vi /usr/dt/config/C/sys.dtwmrc
       10  Aug/08 - 19:07:52 ls
       11  Aug/08 - 19:07:52 cat Xresources.jds
       12  Aug/08 - 19:07:52 vi /usr/dt
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    [SunOS 5.8/bash] root@wgls03:/root
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Jul/07 - 09:02:21 vi /etc/vfstab
        2  Jul/07 - 09:02:21 mount /store
        3  Jul/07 - 09:02:21 cd /store/bnz
        4  Jul/07 - 09:02:21 ls
        5  Jul/07 - 09:02:21 ./BNZ_installBaseSoftware
        6  Jul/07 - 09:02:21 find /usr -name gunzipCheers,
    Andreas

  • How to get a list of values used in the WHERE filter of stored procedures and functions in SQL Server

    How can I get a list of values (one or more) used in the WHERE filter of stored procedures and functions in SQL Server?
    How can get a list of values as shown (highlighted) in the sample stored procedure below?
    ALTER PROC [dbo].[sp_LoanInfo_Data_Extract] AS
    SELECT   [LOAN_ACCT].PROD_DT,
                  [LOAN_ACCT].ACCT_NBR, 
                  [LOAN_NOTE2].OFCR_CD, 
                  [LOAN_NOTE1].CURR_PRIN_BAL_AMT, 
                  [LOAN_NOTE2].BR_NBR,
    INTO #Table1
    FROM
                    dbo.[LOAN_NOTE1],
                    dbo.[LOAN_NOTE2],
                    dbo.[LOAN_ACCT]
    WHERE
                    [LOAN_ACCT].PROD_DT = [LOAN_NOTE1].PROD_DT
                    and
                    [LOAN_ACCT].ACCT_NBR = [LOAN_NOTE1].ACCT_NBR
                    and
                    [LOAN_NOTE1].PROD_DT = [LOAN_NOTE2].PROD_DT
                    and
                    [LOAN_NOTE1].MSTR_ACCT_NBR = [LOAN_NOTE2].MSTR_ACCT_NBR
                    and
                    [LOAN_ACCT].PROD_DT = '2015-03-10'
                    and
                    [LOAN_ACCT].ACCT_STAT_CD IN
    ('A','D')
                    and
                    [LOAN_NOTE2].LOAN_STAT_CD IN
    ('J','Z')
    Lenfinkel

    Hi LenFinkel,
    May I know what is purpose of this requirement, as olaf said,you may parse the T-SQL code (or the execution plan), which is not that easy.
    I have noticed that the condition values in your Stored Procedure(SP) are hard coded and among them there is a date values, I believe some day you may have to alter the SP when the date expires. So why not declare 3 parameters of the SP instead hard coding?
    For multiple values paramter you can use a
    table-valued parameter. Then there's no problem getting the values.
    If you could elaborate your purpose, we may help to find better workaround.
    Eric Zhang
    TechNet Community Support

  • How to get rid of filter componet when inserting analysis grid

    Hi expert,
              I try to inster a analysis grid in say bex analyzer, but when I display this table, there is anoter component named 'Filter' together with analysis grid. why this filter component comes? and how to get rid of it?
    Many Thanks,

    Hi,
    this behavior sounds unusual. Normaly you insert each component individual.
    Did you just insert a table or die you "open query"?
    If you opened a query, your query is inserted into the standard workbook and if this one includes the filter then you will get it ...
    If you switch on the design mode, you will see each component and you can delete the ones you don´t want to use - just make roght mouse click on the component and select "delete".
    regards
    Cornelia

Maybe you are looking for

  • Audiobooks no longer play in itunes 10.5

    Downloaded itunes 10.5  and installed. Now my audiobooks will not play, the progress bar moves, but no audio. I have de-autherized and re-autherized audible. Even books that are not from audible won't play. Other media: songs, podcasts, video, plays

  • Bridge Keywords Dupliacte Problem.

    What are the Italicized duplicate keywords in Bridge and How do I get rid of them permanently? I'm using Design Premium CS5 with all the updates on windows 7 64bit. In the keyword panel, I have the same keyword in several places in the hierarchy. The

  • HFM 11.1.2 Installation

    Hi All, Do i need to download Foundation Services 1-4 parts for HFM Installation ? The other required files that i'm going to download are Oracle Hyperion Financial Reporting, Fusion Edition Release 11.1.2.0.0 V20798-01 61M, Oracle Hyperion Enterpris

  • When will I get the recovery DVD?

    I have ordered a " Item TR-IM00103870 - hdd image for PSAJ4E-00S00RTE " via " https://backupmedia.toshiba.eu/ " and I got an e-mail which says that I would be informed before the DVD is shipped. I ordered it on 26.09.2009 and its 01.10.2009 today. St

  • Org.w3c.dom - Parsing?

    Hi everyone, I'm making a very small library for accessing resources. I want to be able to access them through XML, amongst others. I figured W3C DOM is the best approach. But! Is there any standard for parsing the documents? I would like a org.w3c.P