LOAD_INSTANCE
Load an instance from a persistence store. If no persistence provider is configured, or if no instance with the given ID is present in the persistence store, no instance is created.
Usage
LOAD_INSTANCE(modelName, twinId)
Parameters
modelName |
String |
Name of the model to create an instance for. |
twinId |
String |
The instance identifier of the twin to create. |
Returns
Action
Examples
LOAD_INSTANCE(‘MyModel’, ‘12345’) |
Creates a new instance of the model ‘MyModel’ with the identifier ‘12345’. |
Remarks
This method is only available in simulation rules.