This would have to be done with a Business Rule, which can be triggered from a Data Management job.
The relevant call is BRApi.Workflow.Status.SetWorkflowStatus, here's an (untested) example snippet to get started:
' yourProfileName will be like "ParentProfileName.ChildWorkflowName", e.g. Clubs.Import
Dim wfToUpdate As WorkflowUnitClusterPk = BRApi.Workflow.General.GetWorkflowUnitClusterPk(si, yourProfileName, yourScenarioName, yourPeriodName)
BRApi.Workflow.Status.SetWorkflowStatus(si, wfToUpdate, StepClassificationTypes.Workspace, WorkflowStatusTypes.Completed, "Auto completing Workspace", "Error autocompleting Workspace", "Auto completing", Nothing)