Creates a new task.
All fields in the task
object are optional. If you don't pass any fields in the task
object, the function returns a task with the following core properties:
_id
_createdDate
_updatedDate
status
source
revision
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Task to create.