Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Schedule.EvaluateAtTimeStamp

Evaluates an expression at a given point in time.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.EvaluateAtTimeStamp"; TimeStamp; Expression { ; ScriptFileName; ScriptName; RepeatDelay } )   More

Parameters

Parameter Description Example Flags
TimeStamp The timestamp at which to call the script. Plugin checks regularly if time stamp is reaches and calls as soon as current time is greater or equal the given timestamp. So calls can be delayed if FileMaker is busy! Get(CurrentTimeStamp)+60
Expression The expression to evaluate. "Get(CurrentTimeStamp)"
ScriptFileName The name of the file that contains the script to be run. Get(Filename) Optional
ScriptName The exact name of the script to run "TestScript" Optional
RepeatDelay The number of seconds after which to repeat the script call. 30 Optional

Result

Returns reference number or error.

Description

Evaluates an expression at a given point in time.
Optional, we can start a script with the result of the query.
Please use Schedule.Release later to remove schedule from list. Non repeating scheduled items are free automatically for you.
You define the timestamp at which to call the script. Plugin checks regularly if time stamp is reaches and calls as soon as current time is greater or equal the given timestamp. So calls can be delayed if FileMaker is busy!
Our plugin does not provide persistence. You need to schedule things in your scripts if you need them. When FileMaker quits, the plugin forgets the list of schedules.

See also

This function checks for a license.

Created 21st May 2015, last changed 12nd July 2015


Schedule.EvaluateAtTime - Schedule.EvaluateOnIdle