demostrate how to get activities from processDefinition