PublicAPI.Processes.WorkflowTaskBase.WorkflowTask.RenameWorkflowTask ELMA API Documentation
Rename task
 
 
Syntax

public void RenameWorkflowTask(
	TaskBase task,
	string name
)

Parameters

task
Type: TaskBase
Task to rename. Object. Access path: PublicAPI.Processes.WorkflowTaskBase
name
Type: System String
New task name
Examples

//load the process task by ID 
var task = PublicAPI.Processes.WorkflowTaskBase.WorkflowTask.Load(3);
//new task name 
var name = "New task name";

//rename the process task
PublicAPI.Processes.WorkflowTaskBase.WorkflowTask.RenameWorkflowTask(task, name);
See Also