BatchRecent Property

General info

Label

Recently Completed

Description

JSON document for the most recent completed batch.

Data type

String

Type

Regular

Code

5229

Symbolic name

MODEL_PROP_BATCHRECENT

Lua access code

syslib.model.properties.BatchRecent

Available since

1.48

Parent properties

BatchTrackingDocuments

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image.
PROP_PERSISTABLE The value is persisted and searchable via SQL Catalog.

Examples

Read from or write to the BatchRecent property.

  • Lua

  • C#

-- Read from the BatchRecent
syslib.getvalue("<OBJECT FULL PATH>.BatchTrackingDocuments.BatchRecent")

-- Write to the BatchRecent
syslib.setvalue("<OBJECT FULL PATH>.BatchTrackingDocuments.BatchRecent", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the BatchRecent
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.BatchTrackingDocuments.BatchRecent"));
// Write to the BatchRecent
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.BatchTrackingDocuments.BatchRecent"));