Invalid symbol found (comma)

Certified Associate Developer

Hello Appian community,

after searching and not finding an answer I decided to be the change I wanted to be and post this question,

here is the function that is causing me trouble

value: {
a!richTextIcon(
icon: if(find(local!systemName,if(rule!APN_isEmpty(var1),"",var1))
"check-square-o",
"square-o"
),
link: a!dynamicLink(
saveInto: if(find(local!systemName,var1)>0,
a!save(var1,substitute(var1,local!systemName,"")),
a!save(var1,concat(var1,local!systemName))
)
),
linkStyle: "STANDALONE",
color: "ACCENT"
),
" "&local!systemName&" GFIM"
}

this originally created by an appian dev but was breaking due to a null value so I added in a null check the APN_is_Empty()

now it is giving me the above error

and help would be greatly appreciated,

thanks, 

Kevin

  Discussion posts and replies are publicly visible