Why will Pega not recommend writing Java code in activities?


Staff member
If engine API upgrades then the custom Java might not work,

Maintenance will become difficult

If application upgrades we need to convert the Java code into Pega feature available in new version

If we have a Java code, we need to test all the scenarios to make sure that all of them are working as expected.