Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Re: Standard Approval Process got auto rejected .
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Standard Approval Process got auto rejected .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-05-2013 04:44 AM
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,
Re: Standard Approval Process got auto rejected .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-05-2013 05:50 AM
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
Re: Standard Approval Process got auto rejected .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-05-2013 07:30 AM
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

