Just looking to be pointed in the right direction regarding nested if statements/functions for a flow i will be creating.
The flow (triggered on power app form submission) could have the possibility of 40 different options (instructions) that need to populate an email.
My thinking initially was to use a switch connector but the number of options will be greater than 25 and it also means having multiple email templates.
So now i am thinking having one email template based on 40 compose connectors - each compose would have the instruction text and part of this text would have a date calculation based on date values chosen in the app. And then populating a single email template with a function based on a nested if
ie if instruction = value 1 then use Compose1
instruction = value 2 then use Compose2
etc all the way up to compose 40.
are there any better, more efficient ways to do this?
thanks