Hi Johan,
That can be achieved by using a Process procedure on the Execute (table) task. You'll need some process variables and map those to the Output parameters of the Execute task process action. Once mapped, the process variables will obtain the values from the Execute task process action.
At the process action itself, go to the Performance tab and check the 'Use process procedure' checkbox.
Then in Control procedures, create a new one of the type Processes. Assign this one to the Process action named above.
From here on it's a bit of coding and using the @task_parmtr to decide which arrow to follow by setting it to the value 1.
Hope this helps!