Reason: This issue comes when you are trying to start a process using rest API but that snapshot is not activated. Mostly this issue comes in development environment. Solution(When Process Designer is available):- Step 1 :- Go to process designer. Step 2 :- Click on your process App name. Step 3 :- Click on the down "Arrow" symbol which is placed just right side of the snapshot name. Step 4:- Select "Activate" option. Solution (When Process Designer is not available):- Step 1:- Open process Admin with proper authorization. Step 2:- Select the installed process app. Step 3:- Activate the process App.
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.