Triggering workflow upon page deactivation
Dear All,
I have a requirement where I need to trigger a custom workflow upon page deactivation. Author is expected only to deactivate page and I should internally trigger my workflow. Can someone please suggest with some sample code.
I tried with EventHandler but FramworkUtil is not having a method - getBundle to get the bundle context. I am using osgi coe version 4.3.0
Please provide some code example whcih I can use or refer.
Thanks,
Ravi