JBPM-4052: implemented ordered compensation