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.

Parents Reply Children
No Data