We have offline approval / rejection process in place for shopping carts. Currently we are getting a mail notification whenever Shopping cart if suppose to be approved. The body of mail is customized using a smartform. Now we are looking for one more addition in that. Now if approver rejects the shopping cart then one mail is suppose to go to requestor of shopping cart notifying him that his shopping cart is rejected. This we want to do in same smartform.
Now main question is as we will be distinguishing different windows of smartform by the flag of approval or rejection. When shopping cart is approved this text is suppose to be displayed and when it is rejected then another windows of smartform is suppose to be displayed. So now I need to know that what will be that distinguishing factor which can help me using the same smartform giving two different outputs?