updateWorkflowTransitionRuleConfigurations method

Future<WorkflowTransitionRulesUpdateErrors> updateWorkflowTransitionRuleConfigurations({
  1. 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:

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(),
  ));
}