Returns defined workflows on the specified domain/library.


Visual Basic (declaration)
Public Function GetDomainFlows( _ 
ByVal AuthenticationTicket as String, _ ByVal DomainName as String) as XmlNode

C# (declaration)
public XmlNode GetDomainFlows( 
string AuthenticationTicket, string DomainName)


    string infoRouter ticket
    string An infoRouter Domain/Library Name

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the workflows defined on the domain has been returned successfully like the xml sample below.
if success attribute is "false", the error attribute indicates the encountered error.

<response success="true" error="">
    <FlowDef FlowDefID="10041" FlowName="Budget Approval" />
    <FlowDef FlowDefID="10042" FlowName="Invoice Approval" />