webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

how to display the datetime value

  • 1.  how to display the datetime value

    Posted Thu January 16, 2014 11:35 PM

    Hi,

    Im trying to display datatime which I receive from flowservice as java.util.data.
    In Message bean, WSC, I tried passing the output value as attached in the screen shot…

    1. First time, I just modified the Stdt from java.util.Calendar to java.util.Date in the stub java service (so the icon changed from ‘*’ to ‘clock’ icon ) and drag and dropped in view port let. While executing I see no reply.

    2. 2nd time, I used the explicit function to call the WSC refresh and mapped the output to “Data-picker Input” widget. This time I got ZONE_OFFSET error.

    “1/22/2014 10:00:00 EST” is the output of flow service Stdt.

    Please tell me what setting I need to set to get the date time displayed.

    Else do i need to write java script? Your inputs.

    Thanks.
    datedisplayIssue.docx (81.1 KB)


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 2.  RE: how to display the datetime value

    Posted Thu January 23, 2014 04:04 PM

    Hi,

    We need to select Control >> Input >> Date (instead Primitive >> Date) and I used value pattern

    yyyy-MM-dd HH:mm:ss.

    Now it’s displaying correctly. Issue fixed.

    • Thanks.

    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS