Syntax looks wrong. Normally you have an embedded parameter in a feature, like if you save a measurement as a feature. So, you need BOTH the parameter (i.e. LENGTH) AND the FID. Also, the ' symbol looks out of place. Maybe for programming you need them, but in relations I've never seen them. I'm not an expert in programming in Creo though.