To configure process archiving:
Create an archive database business end point.
Set the process execution engine to archive processes.