Why do you get this error ? This error comes when you are assigning some value to a tw.local variable in CSHS(Client Side Human Service) ,but that variable in not yet created or type is mismatch with the value being assigned. Solution:- Whenever you get this error, then follow these steps: Step 1:In CSHS recognise the line flow in which this error is coming. Step 2:Starting from first line ,implement : Check both options. Save execution context for task implementation: Update shared business objects when saving the execution context: Step 3: Run the flow ,if error comes again then buggy code is in Javascript written just before the line.Otherwise continue the same to next line. Step 4:Remove Save execution context after bug fixing as per your requirements.