{
  "test_id": "ORCL.HCM.E2E.HIRE2LEARN",
  "scenario_name": "Hire-to-Learning",
  "application": "Oracle Fusion Cloud",
  "product": "HCM",
  "module": "End-to-End HCM",
  "process": "Hire-to-Learning",
  "business_flow": "Hire-to-Retire",
  "scenario_type": "End-to-End / Cross-Module",
  "priority": "High",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard Journey",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/hcm/end-to-end/hire-to-learning/",
  "objective": {
    "intro": "The objective of this test is to validate the complete Oracle Fusion Hire-to-Learning journey — hire, job/position/department/location/legal-employer-driven learning eligibility, learning assignment, enrollment, completion, assessment and certification — with emphasis on the worker's job, position, department, location and legal employer correctly driving which learning is mandatory versus optional. This page is an orchestration and journey test: it does not re-test each stage's own atomic, field-level validation already covered on the linked Hire Employee, Jobs, Positions, Departments, Locations, Course Enrollment, Learning Assignment, Learning Completion, Learning Certification and Role Security pages. Instead, it links to those live pages and adds scenarios that specifically test the hand-offs and continuity between hire and learning.",
    "confirms": [
      "hire, job/position/department/location/legal-employer, learning eligibility, assignment, enrollment, completion, assessment and certification data correctly carry forward from one stage to the next",
      "the worker's job, position, department, location and legal employer correctly drive which courses are mandatory versus optional, without assuming a single universal rule across customers",
      "ineligible learners are correctly excluded from mandatory course assignment",
      "course capacity, waitlist and prerequisite rules are correctly enforced at enrollment",
      "completion status correctly reflects due-date timing, and a passed assessment correctly informs certification generation",
      "Oracle correctly enforces validation when data errors, configuration errors, security restrictions or missing upstream documents are introduced at any stage of the journey (DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION)"
    ],
    "scope_note": "This scenario orchestrates and links to the individually tested Core HR Workforce Structures and Learning family pages listed on this page; it does not re-test each stage's own field-level validation, which remains covered on those pages. It covers the standard Hire-to-Learning journey in Oracle Fusion Cloud HCM TEST/UAT environments and does not cover ad hoc, self-requested or non-catalog learning outside the standard assignment-driven eligibility model, which is covered by separate Learning scenarios outside this journey."
  },
  "preconditions": [
    "A worker ${WORKER} and manager ${MANAGER} are active in the target Oracle Fusion environment, with ${WORKER} assigned to job ${JOB}, position ${POSITION}, department ${DEPARTMENT} and location ${LOCATION} within legal employer ${LEGAL_EMPLOYER}.",
    "Learning is configured with course catalog entries, including course ${COURSE}, capacity, prerequisites, assessments and certification rules.",
    "Learning eligibility profiles are configured to map job, position, department, location and legal employer attributes to mandatory and optional course assignment.",
    "Role-based security is configured for worker, manager and learning administrator access to learning records.",
    "This scenario assumes each linked family page's own preconditions are separately satisfied — it does not re-verify field-level setup already covered on those pages."
  ],
  "test_data": [
    {
      "field": "Worker",
      "example": "${WORKER}"
    },
    {
      "field": "Job",
      "example": "${JOB}"
    },
    {
      "field": "Position",
      "example": "${POSITION}"
    },
    {
      "field": "Department",
      "example": "${DEPARTMENT}"
    },
    {
      "field": "Course",
      "example": "${COURSE}"
    },
    {
      "field": "Due Date",
      "example": "${DUE_DATE}"
    },
    {
      "field": "Certification",
      "example": "${CERTIFICATION}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Hire the Worker",
      "action": "Hire ${WORKER} into job ${JOB}, position ${POSITION} and department ${DEPARTMENT} within legal employer ${LEGAL_EMPLOYER}, using the linked Hire Employee scenario.",
      "test_data": "${WORKER} / ${JOB}",
      "expected_result": "The worker is correctly hired with the assignment attributes established as the basis for learning eligibility.",
      "validation_type": "action",
      "note": "This step orchestrates the Hire Employee family page rather than repeating its individual field-level test coverage."
    },
    {
      "step_number": 2,
      "step_name": "Determine Learning Eligibility from Job, Position and Department",
      "action": "Evaluate ${WORKER}'s job ${JOB}, position ${POSITION}, department ${DEPARTMENT} and location ${LOCATION} against configured learning eligibility profiles, using the linked Jobs, Positions, Departments and Locations scenarios.",
      "test_data": "${JOB} / ${POSITION} / ${DEPARTMENT}",
      "expected_result": "Oracle correctly determines which courses are mandatory and which are optional for ${WORKER}'s assignment.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Assign Mandatory and Optional Courses",
      "action": "Assign course ${COURSE} to ${WORKER} based on the determined eligibility, using the linked Learning Assignment scenario.",
      "test_data": "${COURSE}",
      "expected_result": "Mandatory and optional courses are correctly assigned to ${WORKER} with due date ${DUE_DATE}.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enroll the Worker",
      "action": "Enroll ${WORKER} in course ${COURSE}, using the linked Course Enrollment scenario, confirming capacity and prerequisite rules are correctly enforced.",
      "test_data": "${COURSE}",
      "expected_result": "The enrollment is correctly recorded, or ${WORKER} is correctly placed on a waitlist where capacity is unavailable.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Complete the Course",
      "action": "${WORKER} completes course ${COURSE} relative to due date ${DUE_DATE}, using the linked Learning Completion scenario.",
      "test_data": "${DUE_DATE}",
      "expected_result": "The completion status correctly reflects on-time or late completion.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Take the Assessment",
      "action": "${WORKER} takes the assessment for course ${COURSE}, scoring ${ASSESSMENT_SCORE}, using the linked Learning Certification scenario's assessment step.",
      "test_data": "${ASSESSMENT_SCORE}",
      "expected_result": "The assessment result is correctly recorded as passed or failed against the configured passing threshold.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Verify Certification Generation and Manager Visibility",
      "action": "Trace passed assessment ${ASSESSMENT_SCORE} for ${WORKER} on course ${COURSE} to confirm certification ${CERTIFICATION} is correctly generated and correctly visible to manager ${MANAGER}, using the linked Learning Certification and Role Security scenarios.",
      "test_data": "",
      "expected_result": "Certification ${CERTIFICATION} is correctly generated and the full hire-to-learning chain is correctly linked end-to-end, with manager visibility correctly governed by role security.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — a correctly linked, eligibility-driven course assignment resulting in a generated certification is the expected pass condition, not merely a successful enrollment."
    }
  ],
  "expected_results": [
    "The worker's job, position, department, location and legal employer correctly drive mandatory and optional course assignment.",
    "Learning assignment, enrollment, completion, assessment and certification data are correctly linked end-to-end for the worker.",
    "Ineligible learners are correctly excluded from mandatory course assignment.",
    "Course capacity and waitlist rules, and prerequisite requirements, are correctly enforced at enrollment.",
    "Completion status correctly reflects due-date timing, and a passed assessment correctly generates certification.",
    "A job or position change correctly triggers reassessment of mandatory learning, and unauthorized access to another worker's learning record is correctly blocked."
  ],
  "validation_checkpoints": [
    "The worker's job, position and department correctly drive mandatory course assignment.",
    "Course capacity and waitlist rules are correctly enforced.",
    "Prerequisites are correctly validated before enrollment.",
    "Completion status correctly reflects due-date timing.",
    "A passed assessment correctly generates certification.",
    "A job change correctly triggers reassessment of mandatory learning."
  ]
}
