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
Admin Method
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Tasks
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
taskTaskRequired
Task to create.
Returns
Return Type:Promise<Task>
Was this helpful?
Yes
No