0

I'm creating an approval process and I have the following issue. Once the opportunity gets rejected for example at step 3, it goes to status rejected. Fine.

But once the user wants to submit again, the email alert that is sent + the field update are the ones of step 1 instead of going back to step 3.

Can someone give me some support on this ?

Thank you for your support,

1
  • Hi Victor, welcome to SFSE! Please take the time to visit the Help center and read How do I ask a good question. If you edit your post to include what steps you've tried or created so far and where you're stuck, I'm confident you'll find plenty of people willing to assist you.
    – crmprogdev
    May 19, 2016 at 15:33

1 Answer 1

1

In order to have different assignment emails, you need to create two different approval processes with different entrance criteria.

The first process has criteria status != rejected and starts at step 1. The second process has status = rejected, and starts at step 3.

Another option would be to instead try to use skip criteria on approval step 1 & 2, which should be feasible, but you would get the same assignment email.

I imagine you could use a visualforce email template that could render differently based on status, but have not tried this on an approval process before.

It's likely going to be easier to maintain just one approval process, so might be worth testing the second solution first. I'm pretty sure it would work but haven't done exactly that before.

One note, if you want to go back to the exact step it was rejected at, you should be able to use a field update on rejection to log the step it was at. Then use skip logic to determine which step to start at. It wouldn't be practical to create a separate approval process for each possible step. If you elaborate on your needs I can think over it further.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .