Humantask MAKE EASY DUDE

Preview:

Citation preview

HUMAN TASK

First we have to create one project .In the project we have to crate one complex type XSD like

as shown below.

Take one BPEL with one way process and take input from xsd(LeaveInput)

Double click on BPEL. Take one human task and click on plus button.

Name it to Human task and click on plus button

Here click on source and select Leave Input payload.

After that click on browse for Leave Input element.

After that click on browse for Leave Input element.

After that click on Edit via work list. This is for editing at work list console

Click on ok

Click on ok. Then it will goes to the human task.

Here in general name it to task title and user is weblogic and names it for application content.

Go to assignments select edit participant and double click on that

he

Here click on plus button and select add user and enter the user is weblogic and click on ok

Save all .take one file adapter for writing leave approvals into the file .

Here select existing leave.xsd

Click on next and finish.

After that take invoke for routing leave approvals

Invoke with file adapter.

Take three transforms into human task switch.

Double click on the transform select source input and target and click on ok

Here auto map all fields and delete status map link and set type as text enter rejected and click on ok

and save all.

Repeat the steps for other two transforms. In these two transforms set status one for approved and

another for unknown.

Save all double click on human task and click on edit button and close that human task and save all

Deploy the project and test the output