Skip to main content

What it does

Opens a task for further operations on it. All tasks which are not opened by another user at the moment are available. The task gets locked (i.e. other users cannot open it).
You must open a task before performing any operations on it.

Definition

bool OpenTask( int sessionId, int taskId );

Parameters

NameTypeDescription
sessionIdintThe ID of the connection to the Application Server
taskIdintThe ID of the task to be opened

Returned value

TypeDescription
boolA flag that shows whether the operation was successful or not