Workflow Definition
Select
Customer Managed
This operation returns the workflow definition, such as the inputs, activities, and transitions.
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
- 200
OK
- text/plain
- Example 1
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><Workflow_WorkflowDefinition apiMode="0" config="<configuration />" description="" executeOnWeb="0" inputs="<inputs />" interactive="0" isHtmlDescription="0" name="Test" outputs="<outputs />" revision="$Revision: $" tags="" uniqueGuid="6a0cbd9a-ce2c-4c24-9619-3f634abdd6a4" variables="<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="<inputs />"/><transition activity="Login_1" commented="0" originalStyle="" status="0" style="defaultEdge" transitionIndex="0" x="0" y="0"><condition script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/></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="<inputs><commCellName class="java.lang.String" _list_="false"></commCellName><commCellClientName class="java.lang.String" _list_="false"></commCellClientName><userName class="java.lang.String" _list_="false"></userName><password class="workflow.types.EncryptedString" _list_="false"></password><tokenFile class="java.lang.String" _list_="false"></tokenFile></inputs>"/><transition activity="Logout_1" commented="0" originalStyle="" status="0" style="defaultEdge" transitionIndex="0" x="0" y="0"><condition script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/></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="<inputs><sessionOptions class="workflow.types.cmd.SessionOptions" _list_="false"><useImpersonatedAccount class="java.lang.Boolean" _list_="false">true</useImpersonatedAccount><tokenFile class="java.lang.String" _list_="false"></tokenFile><token class="java.lang.String" _list_="false"></token></sessionOptions></inputs>"/></Activity></Workflow_WorkflowDefinition>
Loading...