void |
IPlanAPI.transitionWorkflowTaskStateByName(IExecutionContext context,
java.lang.String projectCode,
java.lang.String taskName,
TaskStateEnum taskStateEnum)
Deprecated. use @see
Finds the workflow task that has the specified project code and task name and
transitions its state to the new state.
Convenience API; identical to making the following API calls:
- findProjectByAttribute() using the code attribute name and
the code parameter value
- findWorkflowTaskByAttribute() using the project handle above
with a name attribute equal to the name parameter above
- updateAttributes() for the task returned above, using the
state parameter as the uapStateEnum attribute value.
|