We recently are seeing an issue where none of us can compile BPMs (Check Syntax) on our work machines. Both new BPMs and existing BPMs fail. However, I can open a client on my personal laptop and all is well.
The error is probably a .Net issue, something possibly got clobbered in a Windows update?
If I create a simple BPM with an Execute Custom Code with 1 line of code (int i=0;) I get an error - Predefined type System.Int32’ is not defined or imported
.Net 6 Runtime is installed per the hardware guide
That’s from as simple example as I could provide to recreate the error - one line of code for an integer declaration. Other “real” BPMs have lots of errors.
Oh yeah she’s for sure mad about .NET hmm… Are you using the .net 6 runtime or SDK? I believe you need the SDK if you are only using runtime on your client.
You need SDK to compile code. Runtime only lets you run it. When syntax check happens your client is actually compiling. The install guide specifically says SDK.
Install guide says 6.0.1 at time of writing but to install the latest version available so 6.0.8 shouldn’t matter.
Cool, but if he gets to the point of submitting a ticket, at the bare minimum he should have what the guide has asked @steve_j install .NET6.0 SDK on your client, restart, and try Epicor BPM custom code again. If that doesn’t work contact support for further direction.