Scenario - Is it possible to execute a function on a given scenario programmatically?

I have a function which should compare 2 scenario on a tricky to compute metric.
I would be able to execute function(scenario_1) and function(scenario_2) and then combine those in a third function: function(function(scenario_1) and function(scenario_2)).

My main question is: from an orchestration perspective, should this be triggered from Workshop or can it be triggered programmatically from within function ?
aka do I need to make 3 functions calls from Workshop or 1 would work ?

Generalizing: Is there a way to execute a function on N scenarios, to have a single output ?

1 Like