Reference is stored in memory
That's what I thought but then I don't see the point of having this field since it's not filled with a string. It's confusing because you expect it to be filled with some string data but it remains empty.
You can either leave it as it is by default, or decide to use a string variable, but the FsmString var remains empty nonetheless too.
Well, I think I got a eureka moment. That string is used to actually
give a name to the reference, so that name can be used in other actions.
Being in the result area of the action led me to think it would actually store some text generated by the action.
The description of that field is confusing:
The result of the xPathQuery stored in memory. More efficient if you want to process the result further
You then expect a result to actually be displayed in this field.
When it should be:
Name of the reference that will be used to point to the result of the xPathQuery stored in memory
It's not perfect but I find it more explicit, especially since the code does this:
DataMakerXmlUtils.XmlStoreNode(node,storeReference.Value);
And we can see that a node is stored, attached to that specific reference.
Could be reworded:
Name of the reference that corresponds to the resulting node found with the xPathQuery. This node is stored in memory and can be called with this reference in other actions
A bit more wordy but at least it clearly explains what is going on and what is to be expected.