Hi, I'm converting some scripts from adTempus 3 to 4.5 which retrieve a value from a config file to control job variables in an adTempus sequence, this script validates properly in the new adTempus, however it always returns false regardless of what I update my flag to in the config.txt so I suspect something with the regEx reading my config file is incorrect somehow, any thoughts on what is wrong or needs to be updated for the adTempus 4 API for this? At a bit of a loss due to no errors or logging and my relatively limited knowledge of vb.net unfortunately.
Imports System
Imports System.Collections.Generic
Imports System.IO
Imports System.Text.RegularExpressions
Imports System.Collections
Imports ArcanaDevelopment.adTempus.ApplicationIntegration
Public Class UserScript
Inherits ArcanaDevelopment.adTempus.ApplicationIntegration.UserScriptBase
Public Overrides Function Run() As Object
Dim fileName="E:/test/config/config.txt"
Using reader=File.OpenText(fileName)
Dim content=reader.ReadToEnd()
Dim match=RegEx.Match(content,"09=T",RegExOptions.IgnoreCase)
If Not match.Success Then
Return False
End If
End Using
Return True
End Function
End Class