We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent affc35d commit abf4de5Copy full SHA for abf4de5
src/components/engagement/workflow/engagement-workflow.neo4j.repository.ts
@@ -65,7 +65,7 @@ export class EngagementWorkflowNeo4jRepository
65
relation('out', '', 'workflowEvent', ACTIVE),
66
node('node'),
67
relation('out', undefined, 'who'),
68
- node('who', 'User'),
+ node('who', 'Actor'),
69
])
70
.return<{ dto: UnsecuredDto<WorkflowEvent> }>(
71
merge('node', {
@@ -95,7 +95,7 @@ export class EngagementWorkflowNeo4jRepository
95
.apply(
96
createRelationships(WorkflowEvent, {
97
in: { workflowEvent: ['Engagement', engagement] },
98
- out: { who: ['User', session.userId] },
+ out: { who: ['Actor', session.userId] },
99
}),
100
)
101
.apply(this.hydrate())
@@ -120,7 +120,7 @@ export class EngagementWorkflowNeo4jRepository
120
.query()
121
.match([
122
node('node', 'Engagement', { id: engagementId }),
123
- relation('out', '', 'step', INACTIVE),
+ relation('out', '', 'status', INACTIVE),
124
node('prop'),
125
126
.where({ 'prop.value': inArray(steps) })
0 commit comments