MarkLogic 10 Product Documentation
info:flow-cancel

info:flow-cancel(
   $flow-id as xs:string
) as empty-sequence()

Summary

[DEPRECATED] [DEPRECATED] This function cancels all active tickets associated with a flow. If the flow does not exist, an exception is thrown.

Parameters
flow-id The ID of the flow.

Example

  xquery version "1.0-ml"; 

  import module namespace info = "http://marklogic.com/appservices/infostudio"  
      at "/MarkLogic/appservices/infostudio/info.xqy";

  info:flow-cancel("6184479677280143786")

  (: Cancels all active tickets for the flow.  :)
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy