Publié Wed, 11 Dec 2019 17:45:51 GMT par Craig Heintz SE
In v6.12 Workflow, I had a Variable (GV_data) that was filled with a result of a DB lookup that looked for duplicates and returned one of the duplicate dwdocid numbers (as text) and filled the variable.  So for each invoice triggered this variable would end up as either a dwdocid or no data at all (empty).

Then in the following conditional step I would evaluate for GV_data = "" 
if it matched then it would not be a duplicate and if it did not match (because a dwdocid was returned in the variable) it would mark it as a duplicate.

Now that being said, I upgraded the customer to v7.2 and all of their workflows operated correctly except for this one.  It would just hang and never give an error output or anything.

So my question:  Is there a new syntax in v7.2 to do a conditional task for an empty vairable data? 
Publié Mon, 16 Dec 2019 16:30:48 GMT par David Barlet Technical Manager
Hello,

Yes you can use that
CStr(GV_report) = "" or CStr(GV_report) = " " or CStr(GV_report) = "0"
Best regards,
David

You must be signed in to post in this forum.