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

  • Field Editability expression
  • Tab Visibility expression
  • Dynamic Filter
  • Rename Section
  • Form Field Label
  • Embedded Section URL attribute
  • Business rules: Condition
  • Business rules: Assign Role
  • Business rules: Create Work Item
  • Business rules: Notification Subject
  • Business rules: Notification Body
  • Business rules: Set Value
  • Business rules: URL Call
  • Metric expression
  • Attribute expression

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

{!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 April 23, 2021

Related Articles