The model element was saved with unparsable source code and cannot be used. Please edit the element in Visual Studio to fix the errors in d365
Sol:
For this error, you can delete this object and recreate the object.
#Task
FormRun formRun; // Get an instance of the calling form. formRun = element.args().caller(); // If the caller is a form, refresh that form. if(formRun) { formRun.task(#taskF5); }
After completion of your code you can write this code.
Thanks....!