In java based service task, I am running infinite loop in java method. I want stop it when I receive a activiti boundary signal. How do I do it. I am new to activiti.
Implement infinite loop in the BPMN subprocess (with the wait state). (Infinite loop consumes resources only. Try to solve your problem in another way).