You need to sign in to do that
Don't have an account?
Peter Bölke
Deployment problem with trigger/process
Hello,
i have some trouble deploying a trigger and an approval process. The Process exists in an older version in the production environment.
The changeset includes the Trigger, Testclass and new version of approval process.
When i run the test-class in production, i am getting this error:
It runs in our sandbox without any errors.
Do i need to deploy the new version of approval process seperatly in advace of deploying the trigger?
thanks
PEter
i have some trouble deploying a trigger and an approval process. The Process exists in an older version in the production environment.
The changeset includes the Trigger, Testclass and new version of approval process.
When i run the test-class in production, i am getting this error:
System.DmlException: Process failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Too many retries of batch save in the presence of Apex triggers with failures: when triggers are present partial save requires that some subset of rows save without any errors in order to avoid inconsistent side effects from those triggers. Number of retries: 2: [] Stack Trace: Class.TrgKnowledgeSendNotificationTest.test01: line 80, column 1
It runs in our sandbox without any errors.
Do i need to deploy the new version of approval process seperatly in advace of deploying the trigger?
thanks
PEter
It look like that issue is in your trigger test class, if you can share your trigger and test class code then I can look into it and help you out. Thanks.
thanks for your replayere is my testclass
thanks for any advice :)
Peter