instance()

The instance() function references a specified instance of a template.

Syntax

template__t.instance(autoID)

template__t.instance(autoID).metric__m

template__t.instance(autoID).attribute__c

Argument Description
autoID

(required)

The system generated ID number assigned to the desired instance.

Where Available

Available in all places the expression or injected expression icon is visible, as well as within Filter fields on Cards, Tables and List/View sections.

Examples

Where Example(s)
Business rules: Set Value

Attribute Expression

Risk__t.instance(4)

if(Status_Color__c=”Red”, Initiative__t.instance(45), Initiative__t.instance(382))

Field Editability expression

Tab Visibility expression

Business rules: Condition

Project__t.instance(50).Status_Color__c=”Green”
Business Rules: Notification Subject

Business Rules: Notification Body

Dynamic Filter

{!Initiative__t.instance(1).Status_Message__c}
Embedded Section URL attribute

Business rules: URL Call

External View URL on List/View

{!if(Initiative__t.instance(1).Status_Color__c = ”Red",URL1__c,URL2__c)}
Metric expression Initiative__t.instance(328).OPEX__m

Initiative__t.instance(328).Budgeted_Monthly_OPEX__c

 

Updated on September 26, 2024

Related Articles