Skip to content
Pyck docs

workflows

Since pyck v0.27.0

Served by: workflow

Name Type Default Description
after Cursor Returns the elements in the list that come after the specified cursor.
first Int Returns the first n elements from the list.
before Cursor Returns the elements in the list that come before the specified cursor.
last Int Returns the last n elements from the list.
orderBy WorkflowOrder Ordering options for Workflows returned from the connection.
where WorkflowWhereInput Filtering options for Workflows returned from the connection.

WorkflowConnection!

Lists registered workflow definitions with pagination and ordering.

query GetWorkflows($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: WorkflowOrder, $where: WorkflowWhereInput) {
workflows(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
name
taskQueue
tenantID
updatedAt
updatedBy
}
}
}
}

Variables

{
"first": 10,
"orderBy": {
"direction": "ASC",
"field": "CREATED_AT"
}
}