workflow workflowRef description

Available for: Content Management Server

Task: Returns a string representation of the workflow with the specified name.

Additional information: The representation is formatted in the property list format of a dictionary (see The property list format).

Syntax:

workflow withName workflowName description

Function parameters: none

Return value if successful: the string representation of the workflow (string)

Necessary permissions: no restrictions

Example:

CM>workflow withName wf_sig_news description
{
  allowsMultipleSignatures = 1;
  editGroups = (
    editors
  );
  isEnabled = 1;
  signatureDefs = (
    (
      "sig_news",
      newsadmins
    )
  );
}