You can create a rule runner task and in the rule, write the logic to find the terminated identities and then on those terminated identities call the Leaver Workflow.
Once this Rule Runner task is ready club it with Aggregation task of your HR app in a sequential task.
IN this way, first the aggregation will run and update all the data of the user profile and after that your termination task.