This thread although a bit confusing maybe a good read as it covers a few debugging steps however this specific comment #19 has some interesting links that are worth checking out;
Im sure if you search around on the forums for logic hooks youāll find plenty others also.
The best idea would be to create the workflows and once you have your functionality try to replicate them with code.
Let me know if you have any issues and I can tag some people more knowledgeable in this area ![]()