/
SetCurrentNodeByNodeName Method
SetCurrentNodeByNodeName Method
Sets the current node of a process to a new node by name.
public void SetCurrentNodeByNodeName(string name);
Classes: Process
Parameters
string name
Name of the node.
Example
The following example demonstrates setting the current node of a spawned process to a node named "Target Node".
var newProcess = CreateProcess(@"C:\Documents\test.pdf"); newProcess.SetCurrentNodeByNodeName("Target Node"); Database.InsertProcess(newProcess);
Remarks
Throws an exception if no node exists by the specified name.
This method alters the process object in memory, and is primarily intended to be used on processes returned from the Database class or spawned from the CreateProcess method.
If you are intending to change the pathway of an executing process, use the SetNextNodeByLinkName or SetNextNodeByNodeName methods instead.
, multiple selections available,
Related content
CreateProcess Method
CreateProcess Method
More like this
CreateProcessByWorkflowName Method
CreateProcessByWorkflowName Method
More like this
UpdateProcess Method
UpdateProcess Method
More like this
SaveProcessDynamic Method
SaveProcessDynamic Method
More like this
InsertProcess Method
InsertProcess Method
More like this
CaptureProcess Class
CaptureProcess Class
More like this