Programmaticaly set record state to 'approved'

In Forms 13.1.1 we have a workflow which determines if the record can get the status ‘approved’. Inside the workflow we change the state using

context.Record.State = FormState.Approved;

afterwards we just return WorkflowExecutionStatus.Completed;

In Forms 13.1.1 the workflow setup with the approved state then automatically kicks off. However since upgrading to Forms 13.6.0 this workflow doesn’t kickoff anymore, however the status of the record is still updated to ‘Approved’. Is there something i need to do to ensure the approved flow is started?