Extensibility and tooling Tip #18

Your status filter on a plug-in step does not mean the status changed

A filtering attribute fires when the column is in the update request, not when its value changes, so an update that carries the same status still runs the step.

You filter an Update step on statuscode, expecting the plug-in to run only when the status moves. Dataverse does not compare values. It checks whether the column is in the update message at all, so an update that carries statuscode with the value it already had still triggers the step.

Microsoft’s own documentation says both things. The property’s entity reference says the step executes if at least one of the filtering attributes is modified. The registration page says the step fires regardless of whether the value changed, and adds the caller-side rule that you send only columns whose values changed. Presence is the trigger; proving a change is your own job.

The filter still earns its place, because it keeps the step out of updates that never mention the column. To know the value actually moved, register a pre-image on the step, which Microsoft describes as a comparison point for the record as it flows through the pipeline. Then read the record in Target and the copy in the pre-image inside the plug-in, and return before doing any work when the status they carry agrees.