Added isExpanded support for sub processes