UpdateWorkflowActionUpdateProperty
Replaces the whole configuration of an updateProperty action of a draft version
Signature
mutation {
UpdateWorkflowActionUpdateProperty(workflowActionId: ..., entityPropertyId: ..., contextType: ..., objectId: ...)
}
Retourne : WorkflowActionUpdateProperty!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
workflowActionId | ID! | ✓ | — | — |
entityPropertyId | ID! | ✓ | — | — |
contextType | FormQuestionDataStrategyDefinition! | ✓ | — | Context the property is written in, e.g. Account, PersonalInfo or Investment; must match the entity of the property |
objectId | String! | ✓ | — | Id of the Account or Investment to update, or trigger to update the object that triggered the workflow |
value | Any | — | 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
}
}