IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
  • 1.  Date&time format in XPath/bpel expressions

    Posted Fri September 30, 2005 03:43 AM

    What is the correct format of dateTime in XPath expressions?

    I’m trying to set dynamically timeout of AND JOIN step in my process to absolute value specifiied in a document in global data.

    It works fine for a date but time is always being set to midnight regardless of what is specified in realizationDate string.

    I tried with several date formats but none of them worked (time is always truncated):
    2005-09-29 12:54:14 CEST
    2005-09-29 12:54:14
    2005-09-29 12:54
    2005-09-29T12:54:14
    2005-09-29T12:54:14Z
    2005-09-29T12:54:14-05:00

    Is that webMethods bug or am I using wrong time format?

    Regards,
    Piotr


    #BPM
    #webMethods-BPMS
    #webMethods


  • 2.  RE: Date&time format in XPath/bpel expressions

    Posted Sat October 01, 2005 07:28 AM

    relative join timeout value should be expressed in xs:duration format instead (i.e. PT5M for 5 minutes). I suppose the absolute join timeout should be expressed in xs:dateTime format, but the Modeler User Guide should be very clear on that point. These formats are specified on w3c.org in the XML Schema part 2 specs.


    #webMethods
    #webMethods-BPMS
    #BPM


  • 3.  RE: Date&time format in XPath/bpel expressions

    Posted Mon October 03, 2005 09:19 AM

    Last two of my examples are taken from that specification.
    Unfortunately they don’t work as well…


    #webMethods
    #BPM
    #webMethods-BPMS


  • 4.  RE: Date&time format in XPath/bpel expressions

    Posted Tue October 04, 2005 09:06 PM

    Piotr,

    Did you have a look at the sample here on Advantage titled “Specifying XPATH join timeout in model step”? Perhaps it will provide some hints for you? You can find it at:

    http://advantage.webMethods.com/article/?id=1612235885

    James…


    #webMethods
    #webMethods-BPMS
    #BPM


  • 5.  RE: Date&time format in XPath/bpel expressions

    Posted Wed October 05, 2005 07:25 AM

    I’ve seen it.

    In this example timeout is being set to relative value (i.e. 20 minutes) not to absolute calue (specific date).
    I’m using very similar solution but it works only partially…

    Piotr


    #webMethods
    #BPM
    #webMethods-BPMS


  • 6.  RE: Date&time format in XPath/bpel expressions

    Posted Thu December 20, 2007 11:09 AM

    I want absolute time out of 6PM EST everyday for my process model. Can you please help me how can I do it using XPath. Looks like the absolute timeout has date associated with it. How can I choose to be recurring?


    #BPM
    #webMethods
    #webMethods-BPMS