Hello, I am trying to compose a piece of text that changes depending on the input value.
My flow can return one of 7 different inputs and I would then like to output a different piece of text depending on which of the 7 inputs have been generated.
I have created an expression that works in excel:
=IF(A3=13571,"Projects",IF(A3=13570,"Reliability",IF(A3=13569,"Cost Down",IF(A3=13568,"Certification",IF(A3=14657,"EOL",IF(A3=16656,"Support",IF(A3=13737,"Supplier Change")))))))
But when I try transfer it into an expression in automate, it will not accept it:
IF(outputs('Compose_-_Inititive')=13571,"Projects",IF(outputs('Compose_-_Inititive')=13570,"Reliability",IF(outputs('Compose_-_Inititive')=13569,"Cost Down",IF(outputs('Compose_-_Inititive')=13568,"Certification",IF(outputs('Compose_-_Inititive')=14657,"EOL",IF(outputs('Compose_-_Inititive')=16656,"Support",IF(outputs('Compose_-_Inititive')=13737,"Supplier Change")))))))
I have found a work around, which is to string a load of true / false controls together but I cant help but feel that there should be more elegant way of doing this.
Any help would be much appreciated.