BPMS-1092: Reverted previous commit and sending proper error msg to designer