PDM standard: running macro at transition

Is it possible to trigger a macro when users use transition to change state?

SolidworksSolidworks Pdm/enterprise Pdm