query Lifecycle($lifecycleId: UUID!) {
lifecycle(lifecycleId: $lifecycleId) {
activeRevision
cardDefinition {
activationStatus {
status
steps {
__typename
}
}
activePropertySet {
key
properties {
__typename
}
propertyIds
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
cardDefinitionId
createdAt
etag
id
}
}{
"lifecycleId": "value"
}{
"data": {
"lifecycle": {
"activeRevision": "value",
"cardDefinition": {
"activationStatus": {
"status": "RUNNING",
"steps": [
{
"__typename": "KeyValuePairOfStringAndWorkflowStep"
}
]
},
"activePropertySet": {
"key": "string",
"properties": [
{
"__typename": "CardPropertyDefinition"
}
],
"propertyIds": [
"string"
]
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
},
"cardDefinitionId": "string",
"createdAt": "value",
"etag": "value",
"id": "id"
}
}
}lifecycle
A lifecycle belonging to the current tenant, or null if it no longer exists.
lifecycle(lifecycleId: UUID!): LifecycleArguments
Id of the lifecycle (Lifecycle.lifecycleId), not the global id.
Returns
Number of the active revision. Null before the first activation.
Card definition whose entries the lifecycle assesses.
Raw id of the card definition whose entries the lifecycle assesses (e.g. products), not the global CardDefinition.id.
When the lifecycle was created (UTC).
Version of the lifecycle. Pass it in etag to update, delete or activate the lifecycle.
Global id of the lifecycle, for refetching it with node.
Raw id of the lifecycle (a UUID), used in lifecycle mutations and filters.
Saved changes not activated yet. Null when there are none.
An immutable activated definition, or null if that revision does not exist.
Revision number, from 1.
Whether the lifecycle is a draft, initializing or ready. See LifecycleState.
When the lifecycle last changed (UTC).
Id of the user or application that last changed the lifecycle.
query Lifecycle($lifecycleId: UUID!) {
lifecycle(lifecycleId: $lifecycleId) {
activeRevision
cardDefinition {
activationStatus {
status
steps {
__typename
}
}
activePropertySet {
key
properties {
__typename
}
propertyIds
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
cardDefinitionId
createdAt
etag
id
}
}{
"lifecycleId": "value"
}{
"data": {
"lifecycle": {
"activeRevision": "value",
"cardDefinition": {
"activationStatus": {
"status": "RUNNING",
"steps": [
{
"__typename": "KeyValuePairOfStringAndWorkflowStep"
}
]
},
"activePropertySet": {
"key": "string",
"properties": [
{
"__typename": "CardPropertyDefinition"
}
],
"propertyIds": [
"string"
]
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
},
"cardDefinitionId": "string",
"createdAt": "value",
"etag": "value",
"id": "id"
}
}
}Was this page helpful?