Back to index
Summary
Modifies an existing transition definition.projectNameStringrequiredThe name for the project that must be unique among all projects. workflowDefinitionNameStringrequiredThe name of the workflow definition. stateDefinitionNameStringrequiredThe name used for the state definition. transitionDefinitionNameStringrequiredThe name used for the transition. actualParametersArray<ActualParameter>optionalThe actual parameters to the transition's target state. clearActualParametersBooleanoptionalTrue if the transition should remove all actual parameters to the target state. conditionStringoptionalA fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. targetStateStringoptionalTarget state for the transition definition. triggerStringoptionalSpecifies the type of trigger for this transaction. Possible values: "manual" , "onCompletion" , "onEnter" , "onStart" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyTransitionDefinition( projectName: "test-projectName", workflowDefinitionName: "test-workflowDefinitionName", stateDefinitionName: "test-stateDefinitionName", transitionDefinitionName: "test-transitionDefinitionName" /* optional arguments */ )