RecentID Property
General info
Label |
Recent Batch ID |
Description |
The recently processed Batch ID |
Data type |
String |
Type |
Regular |
Code |
2993 |
Symbolic name |
MODEL_PROP_RECENTID |
Lua access code |
inmation.model.properties.RecentID |
Available since |
1.36.2.5196 |
- Parent properties
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 |
Examples
Read from or write to the RecentID
property.
-- Read from the RecentID
inmation.getvalue("<OBJECT FULL PATH>.BatchRecord.Diagnostics.RecentID")
-- Write to the RecentID
inmation.setvalue("<OBJECT FULL PATH>.BatchRecord.Diagnostics.RecentID", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the RecentID
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.BatchRecord.Diagnostics.RecentID"));
// Write to the RecentID
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.BatchRecord.Diagnostics.RecentID"));