Alarm pipeline does not Set Property name

I’m trying to set the alarm name property inside a pipeline using the Set Property block so that the voice message is more descriptive, but it does not work.

I simply want to replace({displayPath},’/’,’ ') as the Property Value expression, so that the name property becomes the tag path without the slashes, since the voice script will text-to-voice convert the name property.