You are reading the documentation for an outdated Corteza release. 2024.9 is the latest stable Corteza release.

Constraint Resources

Corteza Low Code

Resource

Description

compose:module

module

Constraint checks the value against the module handle.

module.handle

Constraint checks the value against the module handle.

module.name

Constraint checks the value against the module name.

namespace

Constraint checks the value against the namespaces slug.

namespace.slug

Constraint checks the value against the namespaces slug.

namespace.name

Constraint checks the value against the namespaces name.

compose:namespace

namespace

Constraint checks the value against the namespaces slug.

namespace.slug

Constraint checks the value against the namespaces slug.

namespace.name

Constraint checks the value against the namespaces name.

compose:page

page

Constraint checks the value against the page’s handle.

page.handle

Constraint checks the value against the page’s handle.

page.title

Constraint checks the value against the page’s title.

namespace

Constraint checks the value against the namespaces slug.

namespace.slug

Constraint checks the value against the namespaces slug.

namespace.name

Constraint checks the value against the namespaces name.

compose:record

record.updatedAt

Constraint checks the value against the record’s updatedAt attribute in RFC3339 format (example: 2006-01-02T15:04:05Z07:00)

record.createdAt

Constraint checks the value against the record’s createdAt attribute in RFC3339 format (example: 2006-01-02T15:04:05Z07:00)

record.deletedAt

Constraint checks the value against the record’s deletedAt attribute in RFC3339 format (example: 2006-01-02T15:04:05Z07:00)

record.values.*

Constraint checks the value against the record’s value. Any field defined by the record’s module can be used.

module

Constraint checks the value against the module handle.

module.handle

Constraint checks the value against the module handle.

module.name

Constraint checks the value against the module name.

namespace

Constraint checks the value against the namespaces slug.

namespace.slug

Constraint checks the value against the namespaces slug.

namespace.name

Constraint checks the value against the namespaces name.

Corteza Messaging

Resource

Description

messaging:channel-member

channel-member.type

Constraint checks the value against the membership flag. The value can be owner, member or invitee.

channel

Constraint checks the value against the channel’s name.

channel.name

Constraint checks the value against the channel’s name.

channel.topic

Constraint checks the value against the channel’s topic.

channel.type

Constraint checks the value against the channel’s type. The value can be public, private or group.

messaging:channel

channel

Constraint checks the value against the channel’s name.

channel.name

Constraint checks the value against the channel’s name.

channel.topic

Constraint checks the value against the channel’s topic.

channel.type

Constraint checks the value against the channel’s type. The value can be public, private or group.

messaging:command

command

Constraint checks the value against the command’s name. The name does not include the leading /, for example 'shrug'.

command.name

Constraint checks the value against the command’s name. The name does not include the leading /, for example 'shrug'.

channel

Constraint checks the value against the channel’s name.

channel.name

Constraint checks the value against the channel’s name.

channel.topic

Constraint checks the value against the channel’s topic.

channel.type

Constraint checks the value against the channel’s type. The value can be public, private or group.

messaging:message

message

Constraint checks the value against the message’s content.

message.type

Constraint checks the value against the message type. The value can be channelEvent, inlineImage, attachment, illeism or omitted.

channel

Constraint checks the value against the channel’s name.

channel.name

Constraint checks the value against the channel’s name.

channel.topic

Constraint checks the value against the channel’s topic.

channel.type

Constraint checks the value against the channel’s type. The value can be public, private or group.

Corteza Internal System

Resource

Description

system:application

application.name

Constraint checks the value against the application’s name.

system:auth

user

Constraint checks the value against the user’s handle.

user.handle

Constraint checks the value against the user’s handle.

user.email

Constraint checks the value against the user’s email.

system:user

user

Constraint checks the value against the user’s handle.

user.handle

Constraint checks the value against the user’s handle.

user.email

Constraint checks the value against the user’s email.

system:role

role

Constraint checks the value against the role’s handle.

role.handle

Constraint checks the value against the role’s handle.

role.name

Constraint checks the value against the role’s name.

system:role-member

user

Constraint checks the value against the user’s handle.

user.handle

Constraint checks the value against the user’s handle.

user.email

Constraint checks the value against the user’s email.

role

Constraint checks the value against the role’s handle.

role.handle

Constraint checks the value against the role’s handle.

role.name

Constraint checks the value against the role’s name.

system:sink

request.remoteAddress

Constraint checks the value against the request’s remote address.

request.method

Constraint checks the value against the request’s method. The value can be any standard HTTP request method.

request.path

Constraint checks the value against the request’s URL path. For example, www.address.tld/some/path would require /some/path.

request.username

Constraint checks the value against the request’s basic authentication username.

request.password

Constraint checks the value against the request’s basic authentication password.

request.content-type

Constraint checks the value against the request’s content type header field.

request.get.*

Constraint checks the value against the request’s get query parameters. This will be truthy if any value matches in case of multiple query parameter values.

request.post.*

Constraint checks the value against the request’s post body parameters.

request.header.*

Constraint checks the value against the request’s header parameters.

system:mail

mail.header.subject

Constraint checks the value against the email’s subject.

mail.header.from

Constraint checks the value against the email’s from. This will be truthy if any value matches.

mail.header.to

Constraint checks the value against the email’s to. This will be truthy if any value matches.

mail.header.replyTo

Constraint checks the value against the email’s reply to. This will be truthy if any value matches.

mail.header.cc

Constraint checks the value against the email’s cc. This will be truthy if any value matches.

mail.header.bcc

Constraint checks the value against the email’s bcc. This will be truthy if any value matches.