Hereâ€™s a short update for those who, just as I did, searched for hours to the solution of getting an outcome object instead of the standard outcome string of a Human Task. You need to know this one detail if you want to get the object as an outcome. And at the end it makes sense, as almost everything does if you know what to do ;-).
Here it goes…
Below youâ€™ll see a partial BPMN proces where we have not instantiated the user task:
I have created with the BPM Project Navigator in the business Catalog a ContactType object to record the contact data of event visitors.
Through the Structure pane I have realised a Process Data Object from the type â€œcontactobjectâ€ in order to use it as an (empty)input object for our human task. `We want to instantiate the user task with the â€œcontactObjectâ€ in a way we can fill it at the beginning and then send it to the next activity within our process.
If we implement the user taks via the properties we can add parameters through the â€œCreate human taskâ€ area. I will first go in to the situation in wich you cannot find the ContactObject in the outcame section, but the standard outcome. Click on add parameters and drag and drop the ProcessContactObject into the empty area under the parameter section.
After we accepted the further settings we can look at the associations and find out that there is no object in the outcome section:
In order to get the ContactObject in the outcome section we must tell JDeveloper that when the ContactObject leaves the user task it must not be editable, we can do that in the â€œCreate human taskâ€ section
If we now look at the data association section again we find ourselves the ContactObject in the outcome section:
This is the way we can go further with our process while using the filled objects.
Hope I can help those of you who searched for hours to solve this issue.