You need to sign in to do that
Don't have an account?
Standard Approval Process got auto rejected .
Hi,
I am using standard approval process with several steps(each approval process having total 8 steps) based on user country criteria.Those approval process are getting called through trigger .
Like if the record gets updated trigger getting fired and based on criteria crossponding approval process gets called.
First approval is called and after some field update again the next approval is called through trigger,the entire functionality is working like that.
But some time(1 out of 50-60 times) after the field update of the first approval next approval is auto rejected. But if i am again working with the same record i am not able to replicate it again.
i have not added such criteria that if the criteria will not match for approval it should rejected or approved .
Any suggestion will be much appreciated.
Thanks,
Hi Pravin,
One possible scenario maybe, at one of the approval step you might have give , if condtion satisfies then enter this step else reject (instead of else next step) there is where it is getting auto rejected.
Check whether the same is happening
Thanks for your reply
but i have checked all steps for the approval process there is no such condition given for any step.
And not only that this scenario is not getting repeated if i am working with same record after getting rejected with same value without changing any releavant value the approval process getting enable for the releavant user to either approve or reject.
The entire scenario is like that i am submitting the record for approval all relevant user approval required for that record one by one. Some time i am getting the error that for next approval the record getting rejected automatically. this entire functionality is controled using trigger and class.
Thanks