Loading TOC...

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.  :)
     

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.