getOrCreateEntityState | R Documentation |
Gets a state by stateKind if it exists, or creates a new one if not
getOrCreateEntityState(entity, entityKind, stateType, stateKind, recordedBy,
lsTransaction,
lsServerURL = racas::applicationSettings$client.service.persistence.fullpath)
entity |
an entity object, such as an experiment or analysis group |
entityKind |
the kind of entity, such as "experiment" or "analysisgroup", see acasEntityHierarchy |
stateType |
lsType of the state |
stateKind |
lsKind of the state |
recordedBy |
the current username |
lsTransaction |
the id of the transaction |
lsServerURL |
the url for the roo server |
This will fail if the entity has more than one non-ignored state of entered stateKind, as it would be unclear which to update.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.