Using Session Variables
Hi,
I have 2 extractor patterns to pick different data from one scrapeable file. The 1st will pick up a single user name the 2nd will pick up a variable number of entries from a list (min is 1) all the latter complying with the same extractor pattern.
My problem is that I have designated the user name as a session variable and want to write that to file using a script that runs after the second extractor pattern is applied, so that I can end up with
user name - > data 1
user name - > data 2
user name - > data 3
However the session variable does not seem to persist beyond the extractor pattern application or it needs some special way to enter it into the VBScript that writes it to a file.
I have changed the properties of the User name variable to be a session variable. Is there something else I am missing here.
Thanks GD
Using Session Variables
OK fixed.
Used
session.getVariable
instead ofDataRecord.Get
and all is good now.Just needed to read the help files a bit more.