On a workflow model I have an activity task that execute an object's method in background processing. The method returns data which are used by the next step ( a condition step ). But the values obtained by the task (method) are null and the condition step take incorrect decision.
How can I be sure that the task in background processing are finished? Then I could to take the corrects values in condition step.