How to break a canonical transform expression into multiple lines?

#1

I’m writing an transform expression like below

fieldName: ~ expression “[{name: name1},
{name: name2},
{name: name3},
{name: name4},
{name: name5}]”

I got mismatched character '\n' expecting '"' error when provisioning. Is there a way to break this expression into multiple lines?

0 Likes

#2

The following should work:

fieldName: ~ expression “[{name: name1},"
"{name: name2},"
"{name: name3},"
"{name: name4},"
"{name: name5}]”

0 Likes