Open a custom form after an add transaction

function FORM_OnAfterTransaction(data)
{
    // was transaction successful?
    if (formState.agsError)
    {
        return;
    }

    const sMsg = lawForm.getMessage();
    if (sMsg === "Add Complete - Continue")
    {
        lawForm.pushFormWindow("HR11.1", strPDL, "", "COLLAB_HR_EMPLOYEE");
    }
}