Set default values if a photo has been taken or not
Summary:
To mitigate the fact that form history and form submitted are removed (actually hidden) if activity is moved to another date or resource, thus removing the green checkmark on the workflow for a completed form, we have decieded to create "FormCompleted" properties. These are to be used with the workflow manager to set the condition for "Step completed". However we have an issue in default values not being able to check if a photo has been taken or not.
Content (please ensure you mask any confidential information):
The FormCompleted-properties are enumeration radiobuttons with Yes=1 and No=2. Now, we set a set of value visibility rules on these so that only yes or only no is visible, indicating if the form is complete or not. However we also want to fill the button via default value. This is no problem, as long as the default value doen't contain any conditions if a photo has been taken or not like "if(NOT empty(activity.photoprop),'1','2').