What I'm trying to do is really simple and there is probably a functoid or a combinaison of them to use, but I didn't find so fare.
My input schema has a field (let's call it Number) which can have the value 1,2 or 3. My output schema has 3 fields (result1,result2,result3).
The logic is if Number equal 1, then result1=1,result2=0,result3=0. If Number equal 2, then result1=0,result2=1,result3=0. Etc.
I have tried to use the script functoids but I didn't find the way to have multiple outputs with it. It seams that you can have multiple inputs on the script functoid but you can only have one output (the return statement). Did someone know what could be the most effective way to accomplish that without creating a custom functoid. Thanks.