James,

If I’m reading it right, it looks like you’re using a comma between the )}  and 
the ${currentAttribute} ?

Thanks
-Mark



On May 6, 2022, at 12:47 PM, James McMahon 
<[email protected]<mailto:[email protected]>> wrote:

UpdateAttribute is flagging the final } in my expression. How can I make the 
final value an attribute reference?

I need to set attribute currentAttribute to itself if neither ifElse case 
matches

${this.set:equals('ABCD'):and(${filename:find('.*daily.*)}):ifElse(
    ${this.set:equals('ABCD'):ifElse(
          'val_if_second', 'val_if_first'
     )}
    ${currentAttribute}
)}

I have used this syntax before, but with a value in that last position. How can 
I do this?

I would be happy to just leave it out, but I am given to understand it the 
ifElse / ifElse pair required it.

Reply via email to