Loading TOC...

MarkLogic 10 Product Documentation
info:flow-tickets

info:flow-tickets(
   $flow-id as xs:string,
   [$include-inactive as xs:boolean?]
) as xs:string*

Summary

[DEPRECATED] This function returns a sequence of IDs for all of the tickets started by this flow. If the flow does not exist, an exception is thrown.

Parameters
flow-id The ID of the flow.
include-inactive Determines whether to return inactive tickets. By default, only the active tickets are returned. Set to fn:true() to return both active and inactive tickets.

Example

  xquery version "1.0-ml"; 

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

  info:flow-tickets("6184479677280143786") 

  (: Returns all active tickets associated with the flow.  :)
     

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