Bitrix24 Community

Support » Forum » karthick S
Select date in calendarSelect date in calendar

Pages: 1
Business process: How to repeat a task weekly or monthly
Hi ,

I created one business process with task. Next step I need is getting reminding date using functions. Can someone help me on this asap. I tried the below code snippet, but i am getting error like The reminding day is not specified.

if (CModule::IncludeModule("tasks"))
   $arFields = Array(
       "TASK_ID" => 341,
       "USER_ID" => 64,
[COLOR=#ffff00][B][COLOR=#000000][/COLOR][/B][/COLOR][COLOR=#ffff00][B][COLOR=#000000] "REMIND_DATE" => "2017-06-22",[/COLOR][/B][/COLOR]
   $obTaskReminders = new CTaskReminders;
   $ID = $obTaskReminders->Add($arFields);
   $success = ($ID>0);

       echo "Ok!";
       if($e = $APPLICATION->GetException())
           echo "Error: ".$e->GetString();  


Please someone help me to check.
Pages: 1
are already using Bitrix24