Hey team
I'm trying to run this pile of code through Microsoft Flow. Access to the MS Form is fine and access to the MS Team is fine.
Long story short, if a string is more than 255 characters in length, I need to cut the string down to 255, ignoring anything cut off.
If I tell the code to always chop down to less than 255 from a string that's already less than 255, it crashes and burns.
If I tell the code to run an IF statement, as below, MS Flow refuses the expression saying that it's invalid.
The general format *appears* correct to me and when I run it through my VBA debugger, it says that it's fine - before I have the Dynamic Content part put in.
Any help would be greatly appreciated.
=IF(LEN((outputs('Get_response_details')?['body/r235f9d3840324a4d835cc30c351163bf'])>255),(LEFT((outputs('Get_response_details')?['body/r235f9d3840324a4d835cc30c351163bf']),255)),(outputs('Get_response_details')?['body/r235f9d3840324a4d835cc30c351163bf']))