MarkLogic Server 11.0 Product Documentation
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  :)
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy