Summarizing the issue:
A workflow has Manual activity followed by an Auto activity and then by thrid activity
The java class for the auto activity should send the control back to the Manual activity based on some if()..else()
Below is the approach tried:
set workitem.return_value = 1 in the java
Set transition tab condition: if dmi_workitem.return_value = 0 then goto the thrid activity
else goto the manual activity
But it did not work
In both the case if().... and else().... control is sent back to the third activity
Any alternate ideas, would be helpful