companyTasks
Returns tasks attached directly to companies across the system.
Business Rules
- Returns only tasks whose taskable entity is a company.
- Tasks are ordered by creation date, newest first, unless ascending order is requested.
- Archived tasks are excluded unless the archive status filter includes them.
Error Scenarios
- The request is rejected when the current user is not a system or support administrator.
Permissions Required
- System administrator or support administrator access.
companyTasks(
after: String
before: String
filters: CompanyTaskFilterInput
first: Int
last: Int
): TaskConnection!
Arguments
companyTasks.after ● String scalar common
Returns the elements in the list that come after the specified cursor.
companyTasks.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
companyTasks.filters ● CompanyTaskFilterInput input common
Filters to apply to the company task feed.
companyTasks.first ● Int scalar common
Returns the first _n_ elements from the list.
companyTasks.last ● Int scalar common
Returns the last _n_ elements from the list.
Type
TaskConnection object common
The connection type for Task.