---
schema_version: "1"
id: f332cc6c8961dfbe986237cb64ecce69d9f696bb04df9630c786b0b321c791cb
title: CalculationProcedureVersion
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_calculationprocedureversion.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_calculationprocedureversion.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b31fc0de777558d19d5273264d7a1451571512b09e642c4077d8b2a324642ebd
description: Defines a version of an Expression Set. The label for this object is Expression Set Version. This object is available in API version 53.0 and later.
---
# CalculationProcedureVersion

Defines a version of an Expression Set. The label for this object is Expression Set Version. This object is available in API version 53.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

This object has been deprecated as of API version 55.0. In API version 55.0 and later, use the new Expression Set objects in Business Rules Engine instead.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

Access to Expression Sets requires OmniStudio licenses.

## Fields

| Field | Details |
| --- | --- |
| CalculationProcedureId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the Expression Set to which this version belongs.

This is a relationship field.

Relationship Name

CalculationProcedure

Relationship Type

Lookup

Refers To

CalculationProcedure



 |
| Constants | 

Type

textarea

Properties

Create, Nillable, Update

Description

A serialized JSON object containing information about each constant. This information includes the name, data type, alias, and precision.



 |
| Description | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A text description of the Expression Set Version.



 |
| EndDateTime | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The last date on which this Expression Set Version is active.



 |
| IsEnabled | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Specifies whether this Expression Set Version is active.

The default value is false.



 |
| IsLoopingEnabled | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Specifies whether looping is enabled in this Expression Set Version.

The default value is false.



 |
| LastSimulatedVariablesInput | 

Type

textarea

Properties

Create, Nillable, Update

Description

The input variables and results of the most recent simulation.



 |
| LoopEnd | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The name of the end variable for looping.



 |
| LoopIncrement | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The name of the interval variable for looping.



 |
| LoopStart | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The name of the start variable for looping.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The version name.



 |
| Rank | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

When more than one enabled version matches an Expression Set call, and the StartDateTime to EndDateTime spans overlap, the version with the highest Rank is chosen.



 |
| StartDateTime | 

Type

dateTime

Properties

Create, Defaulted on create, Filter, Nillable, Sort, Update

Description

The first date on which this Expression Set Version is active.



 |
| VersionNumber | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The version number.



 |