Skip to main content
QUERY
lifecycle(lifecycleId: UUID!): Lifecycle

Arguments

lifecycleId
required

Id of the lifecycle (Lifecycle.lifecycleId), not the global id.

Returns

activeRevision

Number of the active revision. Null before the first activation.

cardDefinition

Card definition whose entries the lifecycle assesses.

cardDefinitionId
String!

Raw id of the card definition whose entries the lifecycle assesses (e.g. products), not the global CardDefinition.id.

createdAt

When the lifecycle was created (UTC).

etag

Version of the lifecycle. Pass it in etag to update, delete or activate the lifecycle.

id
ID!

Global id of the lifecycle, for refetching it with node.

lifecycleId

Raw id of the lifecycle (a UUID), used in lifecycle mutations and filters.

pendingDefinition

Saved changes not activated yet. Null when there are none.

An immutable activated definition, or null if that revision does not exist.

Arguments
number
required

Revision number, from 1.

Whether the lifecycle is a draft, initializing or ready. See LifecycleState.

updatedAt

When the lifecycle last changed (UTC).

updatedBy

Id of the user or application that last changed the lifecycle.

Query
Variables
Response