Skip to main content

Workflow Definition

Select

Customer Managed

This operation returns the workflow definition, such as the inputs, activities, and transitions.

More Details

Path Parameters
  • WorkflowId string required
Query Parameters
  • export string

    With this parameter set to true, the workflow id will always return 0 and the workflow xml can be used to import the workflow in another commcell

Responses

OK


<?xml version="1.0" encoding="UTF-8" standalone="no" ?><Workflow_WorkflowDefinition apiMode="0" config="&lt;configuration />" description="" executeOnWeb="0" inputs="&lt;inputs />" interactive="0" isHtmlDescription="0" name="Test" outputs="&lt;outputs />" revision="$Revision:  $" tags="" uniqueGuid="6a0cbd9a-ce2c-4c24-9619-3f634abdd6a4" variables="&lt;variables />" webHidden="0" workflowId="0"><schema><inputs className="" name="inputs" type=""/><variables className="" name="variables" type=""/><outputs className="" name="outputs" type=""/><config className="" name="configuration" type=""/></schema><Start commented="0" continueOnFailure="0" created="0" description="" displayName="Start" height="36" interactive="0" jobMode="0" name="Start" originalStyle="" skipAttempt="0" style="image;image=/images/jgraphx/house.png" uniqueName="Start_1" waitSetting="0" width="55" x="45" y="41"><inputs val="&lt;inputs />"/><transition activity="Login_1" commented="0" originalStyle="" status="0" style="defaultEdge" transitionIndex="0" x="0" y="0"><condition script="/*&#xA;The expression should return a boolean. Use the variable name &quot;activity&quot; to refer to the previous activity object. Example:&#xA;activity.exitCode==0;&#xA;*/&#xA;"/></transition></Start><Activity commented="0" continueOnFailure="0" created="1548134526196" description="" displayName="Login" height="34" interactive="0" jobMode="0" name="Login" namespaceUri="commvault.cte.workflow.activities.cmd" originalStyle="" skipAttempt="0" style="label;image=commvault.cte.workflow.activities.cmd.Login" uniqueName="Login_1" waitSetting="0" width="100" x="160" y="40"><inputs val="&lt;inputs>&lt;commCellName class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/commCellName>&lt;commCellClientName class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/commCellClientName>&lt;userName class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/userName>&lt;password class=&quot;workflow.types.EncryptedString&quot; _list_=&quot;false&quot;>&lt;/password>&lt;tokenFile class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/tokenFile>&lt;/inputs>"/><transition activity="Logout_1" commented="0" originalStyle="" status="0" style="defaultEdge" transitionIndex="0" x="0" y="0"><condition script="/*&#xA;The expression should return a boolean. Use the variable name &quot;activity&quot; to refer to the previous activity object. Example:&#xA;activity.exitCode==0;&#xA;*/&#xA;"/></transition></Activity><Activity commented="0" continueOnFailure="0" created="1548134530006" description="" displayName="Logout" height="34" interactive="0" jobMode="0" name="Logout" namespaceUri="commvault.cte.workflow.activities.cmd" originalStyle="" skipAttempt="0" style="label;image=commvault.cte.workflow.activities.cmd.Logout" uniqueName="Logout_1" waitSetting="0" width="100" x="340" y="41"><inputs val="&lt;inputs>&lt;sessionOptions class=&quot;workflow.types.cmd.SessionOptions&quot; _list_=&quot;false&quot;>&lt;useImpersonatedAccount class=&quot;java.lang.Boolean&quot; _list_=&quot;false&quot;>true&lt;/useImpersonatedAccount>&lt;tokenFile class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/tokenFile>&lt;token class=&quot;java.lang.String&quot; _list_=&quot;false&quot;>&lt;/token>&lt;/sessionOptions>&lt;/inputs>"/></Activity></Workflow_WorkflowDefinition>
Loading...