    

 ## On this page

  

 

 # getValue

 Last update: 30.07.2026 

public [getValue](get-value.md)(index: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)

gets the value

#### Return

Object

#### Parameters

indexthe name of the variable to fetch the value ofrunthe run of the run to fetch (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [getValue](get-value.md)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)

gets the value

#### Return

Object

#### Parameters

indexthe index of the variable to fetch the value of (0-based index)runthe run of the run to fetch (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)