I have two processes.
Both processes work perfectly if run from the menu in testing mode.
If they are triggered by a rule in the "Rules (when object is deleted)" section of a BO, the whole rule keeps getting re-evaluated as true until I restart everything.
I'm sure the second process is the culprit - if I remove it or change it the retriggering doesn't happen.
It does this :
CREATE TempVars WITH TempVars.TempNumber=1 // A non-persistent BO
FIND ALL CallerNumber IN BATCHES OF 1
CallerNumber.Sequence=TempVars.TempNumber
INCREASE TempVars.TempNumber BY 1
It is resetting a sequence variable to be contiguous after a deletion (so I can randomly select from it elsewhere).
My delete rule currently just calls the processes in order with no IF clauses, as I thought it might only trigger the once.
Do I need an IF clause? If so, what? Nothing strikes me as obvious, and I can find nothing obvious in the manuals about what to look out for when creating delete rules to stop retriggering. Or am I barking completely up the wrong tree?
Been at this all day - any help gratefully received.