
p:status-transition( $status as xs:string, $description as xs:string, $on-success as xs:anyURI?, $on-failure as xs:anyURI?, $priority as xs:unsignedLong?, $default-action as element(p:action)?, $rules as element(p:execute)* ) as element(p:status-transition)
Construct a new status transition element.
xquery version "1.0-ml";
import module namespace p = "http://marklogic.com/cpf/pipelines"
at "/MarkLogic/cpf/pipelines.xqy";
p:status-transition("created",
"Document creation: Put in initial state.",
xs:anyURI("http://example.com/states/initial"), (), (),
(), () )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.