Field::addValue($param)

Version 2025.1

Add new todo

Return value

Object Page

Arguments

$param
string: Todo text
array: Todo values

Example

$Customer->tehtavat->addValue('New todo to customer');

Full documentation

Add new todo

$Customer->tehtavat->addValue('New todo to customer');

New todo: Assign to user. Duedate, reminder and notification

$Customer->tehtavat->addValue(Array(
    'text' => 'New todo to customer',
    'assigned_to' => '1001',
    'due_date' => '2025-05-12',
    'reminder' => 'email',
    'reminder_day' => 1,
    'reminder_time' => '12:15',
    'completion_notification' => 'email'
));

Todo fields

Name Type Description
text String Todo text
assigned_to String User id
due_date Date Duedate
completion_notification String Send notification to owner: notification, email, sms
reminder String Send reminder: notification, email, sms
reminder_day Number Days before
reminder_time Time Time to send reminder