We have several custom code blocks in Erp.BO.Quote Method Directives and have been seeing inconsistent compilation behavior between environments since the move to Linux app servers (not certain it’s related, but that’s when we first noticed it).
What’s happening
When we add an “Execute Custom Code” block to the BPM canvas (even with only a comment or a single line of trivial code), we get compilation errors like this:
The same directives compile and run correctly in Production.
Environment behavior
- Pilot – would not compile until yesterday afternoon, then suddenly began compiling again with no changes made by us
- Third – would not compile yesterday at all
- Third – compiling this morning
- Pilot – after refreshing Pilot from Production (preparing for upgrade to 2025.2.12), compile failures returned
So we are seeing:
- Inconsistent behavior across environments
- Same code compiling in one environment but not another
- Failures occurring even when the custom code block contains only a comment
Observations
- This started after the move to Linux app servers.
- No code changes were made between “not compiling” and “compiling again.”
- A DB refresh from Production reintroduced the compile failures in Pilot.
- The errors appear immediately when adding a Custom Code block, regardless of contents.
Has anyone else seen intermittent BPM compile failures on Quote BO in Linux environments?
Edit: I tried it again in Third just to make sure it still compiles the code, but now it’s NOT compiling in there either. ![]()


