#1588 assign workflow task issue in exe

Updated the code to fix the assign workflow task issue in EXE.