Hello
I am trying to create a workflow that has a loop in it using Automatic Triggers. At the moment I have the object in State A with an Automatic Trigger from A to B. I would like to have an Automatic Trigger from B back to A. I know this idea is risky and causes an error message from M-Files: The automatic state transitions of this workflow can lead to an infinite automatic loop.
Would the easiest way around this be to use an Event Handler to move the object to the required workflow state (B)?
And if so, would the AfterSetProperties be the handler to use? The Automatic Trigger is carried out by the server so I'm guessing the object isn't checked out and so the AfterCheckInChanges handler wouldn't fire?
Does anyone have any advice on how to do something like this?