Loading TOC...

MarkLogic Server 11.0 Product Documentation
info:flow-id

info:flow-id(
   $flow-name as xs:string
) as xs:string?

Summary

[DEPRECATED] This function returns the id of the flow with the specified name. If no flow exists with this name, an empty sequence is returned.

Parameters
flow-name The name 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-id("myFlow")

  (: Returns the id of the flow, "myFlow." :)
     

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