updateWorkflowTransitionRuleConfigurations method
Future<WorkflowTransitionRulesUpdateErrors>
updateWorkflowTransitionRuleConfigurations({
- required WorkflowTransitionRulesUpdate body,
Updates configuration of workflow transition rules. The following rule types are supported:
post functions * conditions * validators
Only rules created by the calling Connect or Forge app can be updated.
To assist with app migration, this operation can be used to:
- Disable a rule.
- Add a
tag
. Use this to filter rules in the Get workflow transition rule configurations.
Rules are enabled if the disabled
parameter is not provided.
Permissions required: Only Connect or Forge apps can use this operation.
Implementation
Future<WorkflowTransitionRulesUpdateErrors>
updateWorkflowTransitionRuleConfigurations(
{required WorkflowTransitionRulesUpdate body}) async {
return WorkflowTransitionRulesUpdateErrors.fromJson(await _client.send(
'put',
'rest/api/3/workflow/rule/config',
body: body.toJson(),
));
}