Loading TOC...

info:flow-policy

info:flow-policy(
   $flow-id as xs:string
) as xs:string

Summary

[DEPRECATED] This function returns the name of the policy 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-policy("6184479677280143786")

  (: Returns the name of the policy associated with the flow  :)
     

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