Search code examples
oracle-databasebpel

create a task in BPEL using java code


I am creating a BPEL process, in which my requirement is I need to create a task based on some inputs and assign it to partucular user, and then come out from that flow.

earlier I had impression that i will use Human task Activity. but when I am using that Task will be created in the itself process and instance will stucked out over there untill human intervention(the BPEL process is waiting on result.).

is there any way I can use Java embed activity and create task from java code, "I know how to assign a job to particular user". please tell me. Abhishek


Solution

  • You can open the Human Task Flow as well by clicking the + sign. It is a normal scope, just with a different icon. In there you should see an Invoke and Receive. Just drop the Receive to ignore it, if this is what you want.