Data is not archiving using stored procedures but able to archive by checking the same using cleanup submitted task which is taking long.
IM 14.2 CP5
Table schema of tasksession12_5 and archive_tasksession12_5 was different because of this reason the stored procedure was not able to execute
Requested to delete archive_tasksession12_5 table and recreate same as tasksession12_5 schema. After doing this Archival should be working