mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-23 02:06:12 +02:00
21 lines
808 B
Plaintext
21 lines
808 B
Plaintext
|
FromID = FunctionParameters["Bitrix24_HookTaskID"];
|
||
|
DestinationID = FunctionParameters["Bitrix24_TaskID"];
|
||
|
LinkType = 0;
|
||
|
|
||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||
|
|
||
|
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||
|
|
||
|
OPI_TestDataRetrieval.WriteLog(Result, "CreateTasksDependencies (wh)", "Bitrix24");
|
||
|
|
||
|
OPI_TestDataRetrieval.WriteLog(Result, "DeleteTasksDependencies (wh)", "Bitrix24");
|
||
|
|
||
|
FromID = FunctionParameters["Bitrix24_TaskID"];
|
||
|
DestinationID = FunctionParameters["Bitrix24_HookTaskID"];
|
||
|
LinkType = 2;
|
||
|
|
||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||
|
|
||
|
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType, Token);
|