Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateful API

Using the MES Stateful API

The Stateful API provide forms, dialogs, publishes events and other UI functions in the MES. Using Stateful API scripts in System Platform follows the same rules and conventions as required when creating objects in System Platform.

You can perform the following tasks in an Application object and System Platform symbol using the Stateful API scripts:

  • To script a MES user login
  • To monitor job execution
  • To process raw data and submit updates using script.

The topics in this section explain how to use several pre-built API scripts. These scripts illustrate the basic coding required to use the full range of API functions.

The example code illustrates common programming techniques related to using the API.

Task

Sample Script

Create and log into a session.

Init

Log on to an entity.

LogonEnt

Get information about an entity.

ShowEntityData

Get information about the current user.

GetCurrentUserInfo

Get information when the user logon changes.

UserChanged

Monitor events.

MonitorEvents

Log off an entity.

LogOffEnt

Close and log off from a session.

Term

TitleResults for “How to create a CRG?”Also Available in