p:execute( $condition as element(p:condition)?, $action as element(p:action)?, $description as xs:string? ) as element(p:execute)
Construct a execute element.
xquery version "1.0-ml"; import module namespace p = "http://marklogic.com/cpf/pipelines" at "/MarkLogic/cpf/pipelines.xqy"; let $options := <options xmlns="/app/test-root.xqy"> <root>workitem</root> </options> return p:execute( p:condition("/app/test-root.xqy", (), $options ), (), "Execute default action on workitems." )