Users
When using the user
parameter in a JSON trigger, It is only possible to include the userID
, not the UserName.
Example:
"triggers:" [ {"event": "on-change-state", "conditions": [ {"state": "Draft"} ], "actions": [ {"action": "remove-restrictions", "view": {"user": ["8876348538457834"]}} ]} ]
Groups
When using the group
parameter in a JSON trigger, you can include either the groupName
and/or the groupID
.
Example:
"triggers:" [ {"event": "on-change-state", "conditions": [ {"state": "Draft"} ], "actions": [ {"action": "remove-restrictions", "view": {"group": ["thisIsMyGroupName", "87128762348792347839284"]}} ]} ]
user
also accepts valid user type workflow parameters and group
also
accepts valid group type
workflow parameters.