+ Start a Discussion
ministe_2003ministe_2003 

Approval History comment without submitting for approval

Hi all,

Is it possible to create an entry in the Approval History related list of an object without actually submitting it for approval?  I'm running an approval process through Apex but in some circumstances I'll know before submitting it that it doesn't require approval and so I do the Final Approval actions manaully in apex code and dont actually submit it for approval, however I'd also like to be able to create an entry in the Approval History section which states that it did not require approval.

 

Currently I'm using the Status field to display the fact it didn't reqire approval, but if possible I'd like the related list entry too.  I know you can create an approval process and immediately approve it, and that works APART from the fact that the approver receives an email asking him to approve the record, which I don't want to happen in this case.

 

Thanks

Steven