Schedule.GetEvaluate
--------------------

Queries the expression to evaluate.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Schedule](component_Schedule.md) | [5.2](newinversion52.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "Schedule.GetEvaluate"; ScheduleRef ) 

**MBS**( **"Schedule.GetEvaluate";** /\* Queries the expression to evaluate. \*/  
**$ScheduleRef**) /\* The reference for a scheduled script call or sql query as returned by Schedule.StartScript\* functions or Schedule.ExecuteSQL\* functions.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ScheduleRef | The reference for a scheduled script call or sql query as returned by Schedule.StartScript\* functions or Schedule.ExecuteSQL\* functions. | $ref |

### Result

Returns text or error.

### Description

Queries the expression to evaluate.  
### Examples

Try it:

 Set Variable \[$ref ; Value:MBS ( "[Schedule.EvaluateAfterDelay](ScheduleEvaluateAfterDelay.md)"; 5; "1+2")\]  
Set Variable \[$r ; Value:MBS ( "Schedule.GetEvaluate"; $ref )\]   
### See also

- [Schedule.EvaluateAfterDelay](ScheduleEvaluateAfterDelay.md)
- [Schedule.GetEvaluateResult](ScheduleGetEvaluateResult.md)
- [Schedule.SetEvaluate](ScheduleSetEvaluate.md)

This function checks for a license.

Created 21st May 2015 , last changed 5th March 2017

  
[Schedule.GetEnabled](ScheduleGetEnabled.md) - [Schedule.GetEvaluateResult](ScheduleGetEvaluateResult.md)

[HTML Version](ScheduleGetEvaluate.shtml)