1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-23 02:06:12 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/CreateTasksDependencies.txt

21 lines
808 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 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);