I have a simple process with a a receive task. ( I am ok with any other task type).
I want the receive task to move forward only if an event is received with event type CUSTOM and message="Move Forward"
How do I create a listener for this scenario and how do I throw event using Java API along with message variable.