Activiti diagram main_loop added