Context

These evaluators have access to everything that is currently being observed within the user interface.

context-application

If an Application is currently being observed (or not, see Boolean evaluators above). If condition is not supplied, it is assumed to be true.

{
    "evaluator": "context-application"
}

Or

{
    "evaluator": "context-application",
    "condition": false
}

context-application-has-warehouse

If an Application is currently being observed and it has a warehouse associated to it.

{
    "evaluator": "context-application-has-warehouse"
}

context-archive

If an Archive is currently being observed.

{
    "evaluator": "context-archive"
}

context-conflict

If a Merge Conflict is currently being observed.

{
    "evaluator": "context-conflict"
}

context-datalist

If a Data List is currently being observed.

{
    "evaluator": "context-datalist"
}

context-dataview

If a Data View (also known as a Report) is currently being observed.

{
    "evaluator": "context-dataview"
}

context-definition

If a Definition is currently being observed.

{
    "evaluator": "context-definition"
}

context-deployment

If an Application Deployment is currently being observed.

{
    "evaluator": "context-deployment"
}

context-document

If a Document (i.e. a content Node) is currently being observed.

{
    "evaluator": "context-document"
}

context-document-has-feature

If a Document is currently being observed and has a specific feature.

{
    "evaluator": "context-document-has-feature",
    "condition": "{featureId}"
}

Example:

{
    "evaluator": "context-document-has-feature",
    "condition": "f:audit"
}

context-document-has-property-value

If a Document is currently being observed and has a specific property value.

{
    "evaluator": "context-document-has-property-value",
    "condition": {
        "key": "{key}",
        "value": {value}
    }
}

Example:

{
    "evaluator": "context-document-has-property-value",
    "condition": {
        "key": "category",
        "value": "athletics"
    }
}

context-document-has-qname

If a Document is currently being observed and has a specific QName.

{
    "evaluator": "context-document-has-qname",
    "condition": "{qname}"
}

Example:

{
    "evaluator": "context-document-has-qname",
    "condition": "o:abcdef123456"
}

context-document-has-type

If a Document is currently being observed and has a specific Type.

{
    "evaluator": "context-document-has-type",
    "condition": "{type}"
}

Example:

{
    "evaluator": "context-document-has-type",
    "condition": "my:article"
}

context-document-is-association

If a Document is currently being observed and is an Association.

{
    "evaluator": "context-document-is-association"
}

context-document-is-container

If a Document is currently being observed and is a container (such as a folder).

{
    "evaluator": "context-document-is-container"
}

context-document-is-datalist

If a Document is currently being observed and is a Data List.

{
    "evaluator": "context-document-is-datalist"
}

context-document-is-multilingual

If a Document is currently being observed and is multilingual (meaning that it has the f:multilingual feature applied to it).

{
    "evaluator": "context-document-is-multilingual"
}

context-document-is-node

If a Document is currently being observed and is a node (not an association).

{
    "evaluator": "context-document-is-node"
}

context-document-is-tag

If a Document is currently being observed and is a tag.

{
    "evaluator": "context-document-is-tag"
}

context-form

If a form is currently being observed.

{
    "evaluator": "context-form"
}

context-group

If a Group principal (either a Platform member or a Project member) is currently being observed.

{
    "evaluator": "context-group"
}

context-platform

If the Platform or things within a Platform are being observed (as opposed to a Project or things within a Project).

{
    "evaluator": "context-platform"
}

context-principal

If a principal (either a User or a Group) is being observed.

{
    "evaluator": "context-principal"
}

context-project

If the project or things within a project are being observed (as opposed to a platform or things within a platform).

{
    "evaluator": "context-project"
}

context-project-application

If an Application is being observed within a Project.

{
    "evaluator": "context-project-application"
}

context-project-warehouse

If an Warehouse is being observed within a Project.

{
    "evaluator": "context-project-warehouse"
}

context-release

If a Release is being observed.

{
    "evaluator": "context-release"
}

context-role

If a Role is being observed.

{
    "evaluator": "context-role"
}

context-team

If a Team is being observed.

{
    "evaluator": "context-team"
}

context-user

If a User principal (either a Platform member or a Project member) is currently being observed.

{
    "evaluator": "context-user"
}

context-vault

If a Vault is being observed.

{
    "evaluator": "context-vault"
}

context-workflow

If a Workflow is being observed.

{
    "evaluator": "context-workflow"
}

context-workflow-model

If a Workflow Model is being observed.

{
    "evaluator": "context-workflow-model"
}

context-workflow-task

If a Workflow Task is being observed.

{
    "evaluator": "context-workflow-task"
}