In this blog I will describe how to set the composite title with a BPM component. I will also describe where this approach matches and where it differs from setting the title with a BPEL or Mediator component.
Lets first start with an overall important match: you need the setCompositeInstanceTitle function. This function sets the composite instance title and returns it. The return value brings us to the biggest difference: the assignment of the return value. In BPMN and BPEL you must assign the return value to a variable. In Mediator you must assign it to a property.
This post shows the BPM approach. In parallel posts I show the BPEL and Mediator approach.