It takes a BPMNProcess and an optional data object, and returns an Activity
The BPMNProcess object that contains the activity.
Optional
A new Activity object
It takes a BPMNProcess and an optional data object, and returns an Activity