As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Activiti assumes a boundry-event is always attached (attachedToRef) to an activity-instance. So using the process-id as value for "attachedToRef" won't work. I'm afraid the only workaround is to contain all of your activities (except of start and end-events) in a subprocess…