Sample call assembly code. SQLSelectQuery is supported in production environments only when unaltered.
GlobalCapture passes system properties in the Dictionary object that might be of use. Those properties are:
0 : Batch ID
-1 : File path of the merged file, when the Merge documents option is checked
-2 : Active Template
-3 : Validation User
-4 : Original File Name
-5 : Scan User
-6 : Released File Path, presuming the file has been release prior to the Call Assembly node