Hi all,
I'm trying to create an incrementing Purchase Order ID column using a Sharepoint List ID column, but with a dynamic reference based on the contents of another field. I have the basics working, I am just struggling with it thrown an invalid expression error when I try to combine fixed text with dynamic content in the true/false sections. The trigger expression works fine and I can insert just text, or just dynamic content, but not the combination of the 2. Here's my Expression that works:
if(contains(body('Get_response_details')?['r73b853f618344ce0aea8f1b84896c719'], 'Credit Card/ One Off Payment'), 'IT_CC_00', 'IT_00')
if(contains(body('Get_response_details')?['r73b853f618344ce0aea8f1b84896c719'], 'Credit Card/ One Off Payment'), 'IT_CC_00' & body('Create_item')?['ID'], 'IT_00' & body('Create_item')?['ID'])
I'm missing something significant around the & symbol in there and I don't know the syntax needed to correct this.
Anyone able to point out my flaw?

Report
All responses (
Answers (