I am currently working on a script that will scan through the DMS for an entity name, I would like to store this information in memory to prevent a DMS lookup every time. Is it possible to keep an object in memory in SLAutomation similar to an instance QAction in SLScripting?
Hi Aldrick,
There is no similar memory retention like QActions. There is a feature called memory files though: script memory files. I have not used them myself, so only have the documentation to go on for now.
I believe that once an automation script becomes too complex and/or needs to retain a lot of information, people opt for a driver instead, which could be provided data by a parameter set from an automation script.
I hope this helps?
In Automation module, memory files can be used to store persistent data :Script variables | DataMiner Docs