{
  "test_id": "ORCL.HCM.COREHR.WORKER.TERMINATE",
  "scenario_name": "Terminate Worker",
  "application": "Oracle Fusion Cloud HCM",
  "product": "Human Capital Management",
  "module": "Core HR",
  "process": "Hire-to-Retire",
  "business_flow": "Employee Lifecycle",
  "scenario_type": "Positive / Functional",
  "priority": "High",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/hcm/core-hr/hire-to-retire/terminate-worker/",
  "objective": {
    "intro": "This test validates that Oracle Fusion HCM can terminate an eligible active worker using a valid termination date, termination action, termination reason and notification date, and that the worker's status, assignment and work relationship correctly reflect the termination.",
    "confirms": [
      "the worker selected for termination is active and eligible for the termination event",
      "the termination date, action and reason are captured accurately",
      "the last working date and notification date, where entered, are recorded correctly",
      "the worker's assignment and work relationship are end-dated in line with the termination",
      "the worker's status updates to reflect the termination",
      "the termination is retained in the worker's employment history for later inquiry"
    ],
    "scope_note": "This scenario validates the Terminate Worker event itself — the final stage of the Hire-to-Retire lifecycle covered in this cluster. Any downstream payroll or benefits closure activity depends on the customer's specific Oracle Fusion configuration and integrations, and is not assumed to be automatically completed or validated by this scenario unless explicitly included in the tested scope."
  },
  "preconditions": [
    "The worker is active and eligible for termination.",
    "The termination date falls within a valid, open period.",
    "The applicable termination action and reason are configured.",
    "The test user has the appropriate HR role and access to terminate the worker.",
    "Any required notification period is considered per customer policy."
  ],
  "test_data": [
    {
      "field": "Worker",
      "example": "${WORKER}"
    },
    {
      "field": "Legal Employer",
      "example": "${LEGAL_EMPLOYER}"
    },
    {
      "field": "Country",
      "example": "${COUNTRY}"
    },
    {
      "field": "Worker Type",
      "example": "${WORKER_TYPE}"
    },
    {
      "field": "Termination Date",
      "example": "${TERMINATION_DATE}"
    },
    {
      "field": "Termination Action",
      "example": "${TERMINATION_ACTION}"
    },
    {
      "field": "Termination Reason",
      "example": "${TERMINATION_REASON}"
    },
    {
      "field": "Last Working Date",
      "example": "${LAST_WORKING_DATE}"
    },
    {
      "field": "Notification Date",
      "example": "${NOTIFICATION_DATE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Search for the Active Worker",
      "action": "Search for and open the active worker eligible for termination.",
      "test_data": "${WORKER}",
      "expected_result": "The correct worker is located and confirmed eligible for termination.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering the worker reference, clicking Search and selecting the result."
    },
    {
      "step_number": 2,
      "step_name": "Open Employment Information",
      "action": "Open the worker's employment information to begin the termination.",
      "test_data": "",
      "expected_result": "The employment information page opens successfully for the selected worker.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Termination",
      "action": "Initiate the Terminate action for the worker.",
      "test_data": "",
      "expected_result": "The Termination page opens, pre-referencing the selected worker.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Termination Date",
      "action": "Enter the termination date for the worker.",
      "test_data": "${TERMINATION_DATE}",
      "expected_result": "The termination date is accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Select Termination Action and Reason",
      "action": "Select the applicable termination action and termination reason.",
      "test_data": "${TERMINATION_ACTION} / ${TERMINATION_REASON}",
      "expected_result": "The selected action and reason are accepted as valid for the worker's legal employer.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Review Assignment and Payroll Impact",
      "action": "Review the projected impact of the termination on the worker's assignment and, where included in the tested scope, any related payroll information presented on the transaction.",
      "test_data": "${LAST_WORKING_DATE}",
      "expected_result": "The review reflects the termination date, action and reason; any payroll-related fields shown are reviewed but not assumed to be closed automatically by this test.",
      "validation_type": "action",
      "note": "Downstream payroll or benefits closure is only claimed to be validated where explicitly included in the tested scope; otherwise it should be verified through separate downstream testing."
    },
    {
      "step_number": 7,
      "step_name": "Review Termination Details",
      "action": "Review the entered termination date, action, reason, last working date and notification date before submission.",
      "test_data": "${NOTIFICATION_DATE}",
      "expected_result": "The review page correctly reflects all entered values.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Submit",
      "action": "Submit the termination for processing.",
      "test_data": "",
      "expected_result": "Oracle Fusion HCM processes the termination and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Verify Worker Status and Termination Details",
      "action": "Retrieve the terminated worker and confirm the updated status, end-dated assignment and termination details.",
      "test_data": "",
      "expected_result": "The worker status reflects the termination, the assignment/work relationship is end-dated appropriately, and the termination date, action and reason match the entered values.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the submit action succeeded; the worker record must reflect the termination correctly."
    }
  ],
  "expected_results": [
    "An eligible active worker is terminated successfully using a valid termination date, action, reason and notification information.",
    "The termination date, action and reason match the entered values.",
    "The last working date and notification date, where entered, are retained correctly.",
    "The worker's assignment and work relationship are end-dated in line with the termination.",
    "The worker's status updates to reflect the termination.",
    "The termination is retrievable for later inquiry, reflecting the final stage of the worker's Hire-to-Retire lifecycle covered in this cluster."
  ],
  "validation_checkpoints": [
    "Termination recorded.",
    "Worker status updated.",
    "Termination date correct.",
    "Termination reason correct.",
    "Assignment/work relationship end-dated appropriately.",
    "Future eligibility/access behavior follows configuration.",
    "Termination history retained."
  ]
}
