This function will continue to work, but a newer version is available at wix-crm.v2.Tasks.deleteTask().
If this function is already in your code, it will continue to work.
To stay compatible with future changes, migrate to
wix-crm.v2.Tasks.deleteTask()
.
To migrate to the new function:
Add the new import statement:
If you plan to migrate all functions that use wixCrmBackend
,
remove the original import wixCrmBackend
statement.
Look for any code that uses wixCrmBackend.tasks.removeTask()
,
and replace it with with tasks.deleteTask()
.
Update your code to work with the new deleteTask()
call and response properties.
Test your changes to make sure your code behaves as expected.
Removes an existing task.
The removeTask()
function returns a Promise that resolves to the ID of the
the removed task after it has been successfully removed.
ID of the task to remove.