Expressions can be used on Workflow steps and transitions to provide additional filtering of content or assets in the HCMS (Headless Content Management System).
Using Expressions
- You will use JavaScript in the Expressions field
- The expression you use in this field must be true in order to make that status transition
- Here’s an example where this expression must be true for Publishers or Developers to move it from Draft to Published:
- Here’s an example where a user is prevented from making any changes to an item if the field is set to be approved:
- The use case here is that this item is "locked" to prevent any user except an owner from updating it once it has been published and approved (such as the Boolean "Approved" field has been moved to true)
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.