Page 1 of 1

Condition that target field is empty?

PostPosted: Thu Feb 05, 2015 2:43 pm
by staffann
Can I have a condition that the target field is empty? I want to make a calculation that only updates activities where a field value is not already entered. Can I do that? If so, how? The target field is a numeric field.

Also, can I use an athlete custom field in the calculations? How? When I try, I get an exception about a null pointer. I have set a value for the athlete custom field for the day of the very first activity.

Re: Condition that target field is empty?

PostPosted: Fri Feb 06, 2015 2:20 pm
by staffann
Ok, checking for an empty field seems to be just comparing with null, but my second question is still outstanding. I'd appreciate any help!

Re: Condition that target field is empty?

PostPosted: Fri Feb 06, 2015 2:45 pm
by dirk66
staffann wrote:Ok, checking for an empty field seems to be just comparing with null, but my second question is still outstanding. I'd appreciate any help!

Unfortunately not. My experience is that the plugin can't accces custom datafields from equipment or athlete.