XPath Duration Constants Specification
If you would like to specify a constant value for an XPath Duration (used in a wait activity or an escalation) you can follow the format specified by the w3 consortium for durations.
The lexical representation for duration is the [ISO 8601] extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, ‘T’ is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision.
Weirdly enough, the duration needs to start with a ‘P’.
Also, if you are in the WebSphere Integration Developer editors, ensure that your constant is contained within single quotes.
'PT2M'
as opposed to
PT2M
The latter will cause the runtime to look for a child element named PT2M.
Related Posts
- WebSphere Transformation Extender – “One or More Inputs was Invalid”
- Variable Substitution in WSAdmin: Variables in braces are treated as constants
- Versioning business processes and human tasks in WebSphere Process Server
- Business Object Maps and ‘Required’ Attributes
- Interop between BOXMLSerializer and JMSDataBindingImplXML
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply