=ISCONTEXT
The =ISCONTEXT() function tests whether the current formula is being evaluated within a specified execution context. Contexts can include a specific User, User Group, Task, Process, Public Form, Webhook, Automated Action, or AI Employee. The function returns 1 (true) if any of the provided context IDs are active at evaluation time, otherwise 0 (false).
Syntax
Section titled “Syntax”=ISCONTEXT(ContextIDToTest; AnotherOptionalIDToTest; ...)Parameters
Section titled “Parameters”-
ContextIDToTest
- The ID of the context to evaluate (such as a Public Form, Task, User, or Process ID).
-
AnotherOptionalIDToTest; …
-
One or more additional context IDs to test.
-
Each ID must be separated by a semicolon (;).
-
How It Works
Section titled “How It Works”-
The function checks the active execution context when the formula is evaluated.
-
If any of the supplied context IDs are present, the function returns 1.
-
If none of the IDs match the current context, the function returns 0.
Example
Section titled “Example”=IF(=ISCONTEXT(123456789012345678); Atlanta; Orlando)-
In this example, the context ID represents a Public Form ID.
-
If the formula is evaluated from that specific Public Form, ISCONTEXT returns 1 (true) and the field is populated with Atlanta.
-
If evaluated from any other context, the function returns 0 (false) and the field is populated with Orlando.
Usage Notes
Section titled “Usage Notes”-
Multiple context IDs can be provided to support flexible logic.
-
The function uses OR logic - only one matching context is required.
-
Formula function names are case sensitive and must be written in ALL CAPS.
Keywords
Section titled “Keywords”ISCONTEXT, context detection, execution context, public form logic, workflow conditions, conditional formulas, process context, task context, automation rules, formula function