IsConflict = Evaluate("@IsAvailable($Conflict)", doc ) If IsConflict(0) = True Then 'Document is a conflict Else 'Document is not a conflict End If