Skip to main content

UpdateWorkflowActionUpdateProperty

Stable

Replaces the whole configuration of an updateProperty action of a draft version

Signature​

mutation {
UpdateWorkflowActionUpdateProperty(workflowActionId: ..., entityPropertyId: ..., contextType: ..., objectId: ...)
}

Retourne : WorkflowActionUpdateProperty!

Arguments​

NomTypeRequisDéfautDescription
workflowActionIdID!✓——
entityPropertyIdID!✓——
contextTypeFormQuestionDataStrategyDefinition!✓—Context the property is written in, e.g. Account, PersonalInfo or Investment; must match the entity of the property
objectIdString!✓—Id of the Account or Investment to update, or trigger to update the object that triggered the workflow
valueAny—Value to write, checked against the property rules when saved

Exemple​

mutation {
UpdateWorkflowActionUpdateProperty(
workflowActionId: $workflowActionId
entityPropertyId: $entityPropertyId
contextType: $contextType
objectId: $objectId
) {
id
type {}
transitions {}
entityProperty {}
contextType {}
rootType {}
objectId
value
}
}