Documentation Index

Fetch the complete documentation index at: https://www.civicplus.help/llms.txt

Use this file to discover all available pages before exploring further.

Expressions

Prev Next

Expressions can be used on Workflow steps and transitions to provide additional filtering of content or assets in the HCMS.

Using Expressions

  • You will use JavaScript in the Expressions field

  • The expression you use in this field must be true 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: Workflow status indicators for document management: Draft, Archived, Published, Submitted, Declined.

  • Here’s an example where a user is prevented from making any changes to an item if the field is set to be approved: Code snippet showing condition for preventing updates based on approval status.

    • 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)