How you manage to get an Object as outcome with a User task

0 0
Read Time:1 Minute, 43 Second

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.

About Post Author

Jaime Conejo Verheijden

Jaime Conejo Verheijden, Sr. Business Consultant with 10 years ICT experience. Specialised in BPM and BPMN with Oracle tools.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Next Post

FatWire integrated into WebCenter as WebCenter Sites for Web Experience Management

The recently announced acquisition of FatWire by Oracle is leading to interesting new options for customers looking for dynamic, interactive, multi-channel & device end user facing web sites – ideally with integration with enterprise systems. FatWire does most of the former and the WebCenter platform along with other FWM products […]
%d bloggers like this: