Hi,
In workflow 9.0 I am having an issue with a script that compares values between to documents.
I query the two documents from the workflow using the get field values activity.
In the script I compare the values and then return some text and the token value but when I retreive the token values from the script I only get the text.
In the script editor when I run the script I get the variables but in the workflow when I just get the text
" Client Number does not match " when I try to place the token in a sticky note.
Any one any idea why?
This is only a fraction of the code as I am comparing multiple values.
Dim CClientNumber as String = gettokenvalue("RetrieveFieldValuesFromCopy_Client Number")
dim OClientNumber as String = GetTokenValue("RetrieveFieldValuesFromOriginal_Client Number")
Dim Index as Integer = 0
Dim Results(2) as String
if CClientNumber <> OClientNumber Then
results(index) = CClientNumber.tostring & " Client Number does not match " & OClientNumber.ToString
index = index + 1
end If
end If
for a as Integer = 0 to 2
msgbox(results(a))
Next
settokenvalue("Compare_all",results)