First of all i tried to solve my problem with other threads but i had no success.
Hopefully someone may help me this the follwoing problem:
My Sharepoint columns are true/false. Only my last if statement is based on a TEXT column (colum is called "SonstigesThema/Value".
For each condition I want to send Mails to different recipient and integrate different mail text.
So i need two almost identical if-statements.
One code for the mail text:
if(triggerBody()?['Umweltauswirkung2'], 'Umweltauswirkung'),
if(triggerBody()?['Qualit_x00e4_t2'], 'Qualität'),
if(triggerBody()?['Energieeffizienz2'], 'Energieeffizienz'),
if(triggerBody()?['Wirtschaftlichkeit2'], 'Wirtschaftlichkeit'),
if(triggerBody()?['Arbeitssicherheit2'], 'Arbeitsssicherheit'), '')))
and a code for email adresse
if(triggerBody()?['Umweltauswirkung2'], 'email1'),
if(triggerBody()?['Qualit_x00e4_t2'], 'email2'),
if(triggerBody()?['Energieeffizienz2'], 'email3'),
if(triggerBody()?['Wirtschaftlichkeit2'], 'email4'),
if(triggerBody()?['Arbeitssicherheit2'], 'email5'), '')))
I dont get the right code.
I just tried to illustrate my code in the sending-mail-formular.
I know I have to put my code in a function 😉
Second question:
Unfortunatly I dont have a basic mode anymore to switch. Where is it gone?
Thank you guys for helping

