Hello,
I've run into an issue with my automation script. I am creating a Haivision Feed with my script. When it is created, a unique ID is assigned to this particular Feed.
When I try to retrieve this ID within the same script, I get the table index, but the new feed index is missing.
After I stop and restart the same script with the same parameters—except that the feed already exists—it has no problem retrieving the ID of the created feed.
Is there a way to tell my script that it needs to reload everything so it can access the newly created Feed ID?
Can you tell my what the issue is?
Thank you for your help.
Hi David,
Could you test if adding the following to the beginning of your script helps you?
engine.SetFlag(RunTimeFlags.NoKeyCaching);
For efficiency reasons, DataMiner will cache the results of your first time fetching certain pieces of data but the call above should allow it to always try and fetch the latest data.
Docs Reference: