Script Path

The Script_Path__c object type represents a bunch of conditions that may let the Script Execution Engine to identify which is the next Script Fragment. In other words, if a Script Fragment is a “step”, a Script Path is a definition of “direction for the next step”, or simply a “path”.

Access Rules

Since this is a Definition Object, it follows the Access Rules described below:

Permission Set

Details

Users do not have access by default.

Jarvis Script User

Allows users to have Read-Only access, so they’re able to retrieve Script Definitions on runtime.

Jarvis Script Administration

Allows users to have Read-Write access, so they’re able to manage Script Definitions.

Fields

Label

Field Name

Details

Active

Active__c

Type
Checkbox

Properties
Create, Filter, Nillable, Update

Description
Describes when a Script Path is active (or not) on the Script Fragment it belongs to.

Effective End Date

Effective_End_Date__c

Type
Date

Properties
Create, Filter, Nillable, Sort, Update

Description
Defines the end of a range of Date for Script Path effectiveness. Blank value means “end of time”.

Effective Start Date

Effective_Start_Date__c

Type
Date

Properties
Create, Filter, Nillable, Sort, Update

Description
Defines the start of a range of Date for Script Path effectiveness. Blank value means “beginning of time”.

Expression

Expression__c

Type
Text(255)

Properties
Create, Filter, Group, Nillable, Sort, Update

Description
For future use. A custom expression that defines how Path Conditions should be evaluated (instead of “AND” logic).

Is Active

IsActive__c

Type
Formula (Checkbox)

Properties
None

Description
Describes when a Script Path is active (or not) on the Script Fragment it belongs to.

Name

Name

Type
Auto Number
| Display Format | SP-{000000000}

Properties
Create, Filter, Sort

Description
Script Path sequential number (not the unique, system-generated ID assigned during creation).

Next Fragment

Next_Fragment__c

Type
Lookup(Script Fragment)

Properties
Create, Filter, Group, Sort, Update

Description
A reference of the Script Fragment that will be shown if this Path evaluates to TRUE.

Script Fragment

Script_Fragment__c

Type
Master-Detail(Script Fragment)

Properties
Create, Filter, Group, Sort

Description
ID of the Script Fragment it belongs to.

Sequence

Sequence__c

Type
Number(18, 0)

Properties
Create, Filter, Group, Nillable, Sort, Update

Description
Sequence number (configured by Administrators) that defines the order of Script Paths evaluation.

Title

Title__c

Type
Text(255) (NOT NULL)

Properties
Create, Filter, Sort, Update

Description
Script Path Title/Name (Unique Identifier).

Usage

Use this object to query and manage accounts in your org. Client applications can create, update, delete, or query Attachment records associated with an account via the API.

Client applications can also create or update account objects by converting a Lead via the convertLead() call.

If the values in the IsPersonAccount Fields are not null, you can’t change IsPersonAccount to false, or an error occurs.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

AccountHistory (API version 11.0) History is available for tracked fields of the object.