activity_definition is allowed to be empty; empty value not allowed for activityid