When Start Process and immediately not getting People Activity Task Id(PA Task Id) through Task Management service

6 views
Skip to first unread message

Mahesh Babu paluru

unread,
Oct 23, 2009, 12:02:11 PM10/23/09
to tempo-dev
Hi,
I am using the tempo SOA Task Management service to start prorcess
and retrieve People Activities from j2EE application. I am able to
start the process and retrieve the task created.

But the problem here i found is when i start the process, immediately
i want to retrieve the task in the same transaction, it is not getting
the task id.

used the following apis to start the process and get the task id

init - to start the process
getAvailableTasks - to get the task list

After some time, if i call getAvailableTasks, it is retreving the task
id.

Please help me to get task id immediately after the start process.

Is it possible to return taskId from init api itself. Actually init
api is returning document. what is the use of that document
returned ? I debug that. But it does not return any value.

Nicolas Modrzyk

unread,
Nov 24, 2009, 9:57:07 PM11/24/09
to temp...@googlegroups.com
Hi Manesh,

Looks like this email got skipped from my inbox somehow.

Basically it's not possible to retrieve the task coming to your inbox, because this is completely asynchronous and non-systematic.
You could have an init task that spawns a process, but does not create any user task there after but a process that just calls a set of services.
Also you would not even know who that task could be assigned to.

Regards,

Nicolas,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "tempo-dev" group.
To post to this group, send email to temp...@googlegroups.com
To unsubscribe from this group, send email to tempo-dev+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/tempo-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Reply all
Reply to author
Forward
0 new messages