In my Node API I need to create a conditional method which checks different criteria and on what criteria fulfill the scope result a specific value.
The scenario is t