Skip to main content

WorkflowLog

@gca_object_type

No description

1
@gca_object_type(
2
id: "76766c85-6bcb-3f49-b34f-faa1a9fbf8a7"
3
embedded: false
4
abstract: false
5
internalName: "com.psddev.cms.db.WorkflowLog"
6
)
1
type WorkflowLog implements Record, Recordable, RevisionInterface {
2
_id: ID
3
_label: String
4
_globals: Globals!
5
_raw(
6
path: String
7
): Json
8
_state(
9
path: String
10
): Json @deprecated
11
objectId: UUID
12
workflowId: UUID
13
objectTypeId: UUID
14
mainObjectId: UUID
15
date: Date
16
transition: String
17
oldWorkflowState: String
18
newWorkflowState: String
19
userId: String
20
comment: RichText
21
objectLabel: String
22
mainObjectLabel: String
23
siteId: UUID
24
isDraftWorkflowItem: Boolean!
25
RevisionInterfaceMod: RevisionInterfaceMod!
26
}

Directives​

gca_object_type​

1
@gca_object_type(
2
id: "76766c85-6bcb-3f49-b34f-faa1a9fbf8a7"
3
embedded: false
4
abstract: false
5
internalName: "com.psddev.cms.db.WorkflowLog"
6
)

Fields​

_id ● ID scalar common​

The unique ID of the Record. Corresponds to the Java method Record#getId and State#getId.

_label ● String scalar common​

The display name of the Record instance. Corresponds to the Java methods Record#getLabel and State#getLabel.

_globals ● Globals! non-null object common​

Contains global Modification fields for this Record instance.

_raw ● Json scalar common​

Contains raw State JSON for this Record instance. The same as invoking getState().getSimpleValues();

path ● String scalar common​

Restricts the returned JSON to the specified path within the record’s state.

objectId ● UUID scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: true
4
internalName: "objectId"
5
)

workflowId ● UUID scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "workflowId"
5
)

objectTypeId ● UUID scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "objectTypeId"
5
)

mainObjectId ● UUID scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "mainObjectId"
5
)

date ● Date scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: true
4
internalName: "date"
5
)

transition ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "transition"
5
)

oldWorkflowState ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "oldWorkflowState"
5
)

newWorkflowState ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "newWorkflowState"
5
)

userId ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "userId"
5
)

comment ● RichText object common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "comment"
5
)

objectLabel ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "objectLabel"
5
)

mainObjectLabel ● String scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "mainObjectLabel"
5
)

siteId ● UUID scalar common @gca_getter @gca_object_field​

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: false
4
internalName: "siteId"
5
)

isDraftWorkflowItem ● Boolean! non-null scalar common @gca_getter @gca_object_field​

true if the revision is related to Drafts.

Applied directive:

1
@gca_getter

Applied directive:

1
@gca_object_field(
2
embedded: false
3
indexed: true
4
internalName: "isDraftWorkflowItem"
5
)

RevisionInterfaceMod ● RevisionInterfaceMod! non-null object common​

Hide deprecated

_state ● Json deprecated scalar common​

DEPRECATED

Use [_raw] instead. For removal in 5.0!

Contains raw State JSON for this Record instance. The same as invoking getState().getSimpleValues();

path ● String scalar common​

Restricts the returned JSON to the specified path within the record’s state.

Interfaces​

Record interface common​

Recordable interface common​

The super interface for all types backed by data models, e.g. Java classes that implement Recordable. This interface declares a single _id field containing the UUID of the record. A corresponding _type field is intentionally omitted as it can be derived programmatically from the built-in GraphQL __typename field. Each GraphQL type that implements this interface will be annotated with the @gca_object_type directive which contains the backing data model's type ID.

RevisionInterface interface common @gca_object_type​

An interface indicating the type is capable of producing a revision that can be surfaced in the CMS RevisionsWidget.

1
@gca_object_type(
2
id: "829b0448-680d-391e-ab6f-3478c42f34e7"
3
embedded: false
4
abstract: true
5
internalName: "com.psddev.cms.db.Revision"
6
)

Member Of​

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.