[CDE-168] Added addAssignmentWithOr function to support subdashboards

@pamval please review.