0

So i created a approval process in which if the approval criteria is not matched it is auto rejected.

To that i updates the case status to Approved whenever it gets auto rejected in before update trigger of Case using ProcessInstance object but the status in approval history is still shown as rejected.

I know we can't update ProcessInstance status. So how can we change status status in approval history?or how can we create another row in approval histroy with status as approved?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.