Is it possible to have an applied syndrome trigger an interaction when the creature dies?
For instance, something like a zombie syndrome that doesn't kill the creature, but if it dies of an unrelated condition it reanimates itself (or spawns an undead of some kind)
Judging from the wiki, I can have an interaction that another creature can trigger to cause the desired result (targeting corpses) or I can have the effect apply immediately, but I'm not sure if I'm missing something (or if there is a trick to mimic that effect).
Off the top of my head with no actual testing involved
I would think for odd work around you could have the creature you want to come back to life summon one smaller benign creature that doesn't do anything but make Resurrection checks and when when and if the creature dies it makes a resurrection check and brings it back to life if it hasn't died also
which if you wanted to keep the smaller monster from dying you could just create a monster that's literally immortal and it can't die problem solved
Word of warning though creatures that perform Resurrection checks willy-nilly are very dangerous in fortress mode
The resurrection spell effect is 3D in that it goes up and down z-levels, use care as you can resurrect thing above and below ground depending on the target range setting
Also something to note with the resurrection interaction it is an area of effect that will bring back anything anything caught in its effect radius including bad guys
And if they were an enemy before death they are an enemy after resurrection
there are odd exceptions but I'm not sure what exactly governs them