You can't do it the way you have implemented it. There is no connection between the WDA and the function module being run as a separate task. You need to program a central process for the parallel processing which schedules the work units and maintains their status, either in memory or in database. In that central process you can for example update a cluster table which you can then query in the WDA when it is invoked by TimedTrigger or explicitly. That said the solution is non-optimal. If you need help with the parallel processing part, use the SCN search to locate documents, blogs, discussions, etc. on the topic.
↧