createTask( )


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
Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Tasks
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
taskTaskRequired

Task to create.

Returns
Return Type:Promise<Task>
Was this helpful?
Yes
No