This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A simple vbscript if then Statement

I'm trying to find how to create a quick if then statement for my workflow such that if ClassID=10, then it will execute a task.


Dim classId : classId = oPropertyValues.SearchForProperty(ClassIndex).Value.GetLookupID()

If classID =10 Then

{execute task here}

End If

What am I missing here?  Please help.. I'm just a beginner.