mass_update

This value allows you to execute a constraint only when the mass update is in process, that is, the same validation file can be used for record edit and mass update.

The RecordAction filter can be used for mass update as shown in the following example:

<constraint>
	<name>Check-int</name>
	<description>Check-int</description>
	<usefor>
		<var>TEST_INT</var>
	</usefor>
	<condition>
		<eq>
			<var>RECORD_ACTION</var>
			<const type="string">MASS_UPDATE</const>
		</eq>
	</condition>
	<action>
		<check>
			<explanation>TEST_INT should only be 1</explanation>
			<and>
				<defined>
					<var>TEST_INT</var>
				</defined>
				<eq>
					<var/>
					<const type="number">1</const>
				</eq>
			</and>
		</check>
	</action>
</constraint>