Return a list from “add job to queue” java action - Mendix Forum

Return a list from “add job to queue” java action

0

Hello,

In a microflow I am using  “add job to queue” java action, for that java action am giving another microflow (which will return a list of objects) as input.

But “add job to queue” is returning Boolean. If I want to return a list which is returned by the input microflow, Do I need to change the java code of  “add job to queue” ? 

asked
1 answers
5

I don’t think that this is possible. If you add the job to the queue, it will run in another context. Your current microflow will finish and the job will start whenever ressources are available. If you need return values, you can not just use the queue.

answered