I wrote some actions to parse JSON documents. I want to have the actions behave in a maner similar to XML and FileSet variables, in that the variable gets defined and then subsequent actions manipulate the variable. The solution that I used (and I would guess isn't quite right) is to create a hidden Option Property.
I tried using JavaScript variables, but scripts don't seem to persist.
Should I have used Context.SetVariable()? Is there a specific format or convention to prevent interference with project / user variables?
Would using Context.SetVariable in the OnValidate script work (since OnLoaded comments seem to indicate it shouldn't be used)?
Thanks