Hi all,
how can I set the property spfViolation of a failure mode in a DC sheet with Individual Metrics activated? I have added the appropriate safety goal under evaluatedFor but now I do not know how to add a spfViolation. Any idea?
Cheers
Johannes
Very good!
Btw. for these kind of mistakes, it might help to use the $STRICT_MODE$ $WARNING_AS_ERROR$ directives.
See https://medini.freshdesk.com/support/discussions/topics/1000092087 for details.
Setting an unknown attribute is just ignored in JS, but not in strict mode.
Happy Scripting
Jan
PS: Please mark as answered as usual :-)
Hi Johannes,
I assume you simply have to set the "spfViolation" attribute of the same "DCFailureModeEntry" to true or false. Anything preventing you from doing so?
Okay, I finally made it. I had a simple typo in there, which was too obvious to see it:-) Sorry and thanks for your quick response...