I have a Case Management project where I would like to have an array of people on the case as case data. My thought is, that the way to do it is to model a Business Object "People" which has a list of "Person" Business Objects. Then I can add the "People" object as case data.
But what happens if I have two different case activities (or two instances of the same activity) which adds a person to the "People" object and saves as case data? I'm not sure what best practice is in this scenario. Should I make a sevice call in the BPM process where a service executes some custom java code to interact with the Case Management API and manipulate the data?