MyChat Scripts: funtion mKanbanGetStageIDByTaskID — get the Kanban project stage ID by task ID
"For developers", "Server scripts", "Functions description", "Kanban project management", "mKanbanGetStageIDByTaskID".
Get the Kanban project stage ID by task number.
Syntax
function mKanbanGetStageIDByTaskID(const iTaskID: integer): integer;
Parameters and return values
Parameter |
Type |
Value |
iTaskID |
integer |
task ID, number. |
Function result
>0 |
an ID of the founf stage; |
-1 |
incorrect or non-existent task ID on Kanban board. |