Any help would be appreciated. I'm trying to use a prepopluate rule to change the access status to not accessible to the public. I can get this rule to prepopulate other fields, just not access and I'm not sure what I'm doing wrong. I've also tried template= 0 and template= internal_only
status_rule = {
# what types of records does this rule apply to?
table = ca_objects,
restrictToTypes = [audio_event],
# mode determines handling of existing values in target element
# can be overwrite, or addIfEmpty
# See the 'target' setting below and http://docs.collectiveaccess.org/wiki/Prepopulate
mode = overwrite,
# What's the prepopulate target?
# This can be an intrinsic field, labels or an attribute.
#
# Note that if you want to target a List attribute, you have to
# provide a valid list item idno or id for that list as value!
#
# See http://docs.collectiveaccess.org/wiki/Prepopulate
target = ca_objects.access,
# skip this rule if expression returns true
# available variable names are bundle names
skipIfExpression = ^ca_objects.workflow_status !~ /pending/,
# content to prepopulate
# (this is a display template evaluated against the current record)
template = 56,
},