About Orchestration Fulfillment Pattern Component Duration XQuery Expressions
This topic applies to the Orchestration Fulfillment Pattern editor, Orchestration Plan tab, Order Components subtab, Duration subtab, Duration Expression area, XQuery subtab.
-
Context: There is no input document for this expression.
-
Prolog: There is no prolog required for this expression.
-
Body: The XQuery body returns a duration value based on the XQuery you enter:
PyYmMdDThHmMsS
where
-
P begins the expression.
-
yY specifies the year.
-
mM specifies the month.
-
dD specifies the day.
-
T separates the parts of the expression indicating the date from the parts of the expression indicating the time.
-
hH specifies the hour.
-
mM specifies the minutes.
-
sS specifies the seconds.
-
The following example is a hard-coded duration expression for three hours:
PT3H0M0S
For more information about how OSM uses these fields to calculate order component durations, see OSM Modeling Guide.