{
  "test_id": "ORCL.HCM.COREHR.STRUCTURE.JOB",
  "scenario_name": "Job Management",
  "application": "Oracle Fusion Cloud",
  "product": "HCM",
  "module": "Core HR",
  "process": "Workforce Structures",
  "business_flow": "Workforce Configuration",
  "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/workforce-structures/jobs/",
  "objective": {
    "intro": "The objective of this test is to validate that a job can be created, updated, effective-dated and inactivated in Oracle Fusion HCM Workforce Structures, and that the resulting job is available for use on worker assignments when active.",
    "confirms": [
      "the job is created or updated with the correct job code, job name and job family",
      "job attributes such as job function and management level are captured correctly where configured",
      "effective start and end dates on the job are correct",
      "the job's status is correctly reflected as active or inactive",
      "an active job is available for selection on a worker assignment, and an inactive job is unavailable for new selection where expected",
      "Oracle correctly enforces validation when data errors, configuration errors or security restrictions are introduced (DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION)"
    ],
    "scope_note": "This scenario covers creation, update, effective dating and inactivation of a job as a Workforce Structure in Oracle Fusion HCM TEST/UAT environments. It does not cover Position or Grade setup, which are covered by the separate Positions and Grades scenarios in the same Workforce Structures cluster, nor does it cover assigning a worker to a job, which is covered by the Hire Employee scenario."
  },
  "preconditions": [
    "The target Oracle Fusion HCM environment has Workforce Structures configured.",
    "The test user has appropriate access to create and update jobs.",
    "Where a job family is associated, the job family is active in the target environment.",
    "Where a grade is associated, the grade is active and valid for the job, depending on customer configuration.",
    "An effective date consistent with the target environment's business rules is available for testing."
  ],
  "test_data": [
    {
      "field": "Job Code",
      "example": "${JOB_CODE}"
    },
    {
      "field": "Job Name",
      "example": "${JOB_NAME}"
    },
    {
      "field": "Job Family",
      "example": "${JOB_FAMILY}"
    },
    {
      "field": "Effective Start Date",
      "example": "${EFFECTIVE_START_DATE}"
    },
    {
      "field": "Effective End Date",
      "example": "${EFFECTIVE_END_DATE}"
    },
    {
      "field": "Status",
      "example": "${STATUS}"
    },
    {
      "field": "Grade",
      "example": "${GRADE}"
    },
    {
      "field": "Job Function",
      "example": "${JOB_FUNCTION}"
    },
    {
      "field": "Management Level",
      "example": "${MANAGEMENT_LEVEL}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Workforce Structures",
      "action": "Sign in to Oracle Fusion using an authorized HR test user and navigate to the Workforce Structures work area.",
      "test_data": "",
      "expected_result": "The Workforce Structures work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Jobs",
      "action": "Open the Jobs page within Workforce Structures to create a new job or select an existing job to update.",
      "test_data": "",
      "expected_result": "The job create or edit page opens correctly.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Create or Update Job",
      "action": "Initiate creation of a new job, or open an existing job for update.",
      "test_data": "${JOB_CODE}",
      "expected_result": "A new, unsaved job record is opened, or the correct existing job is opened for edit.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening the create page and confirming the correct job record."
    },
    {
      "step_number": 4,
      "step_name": "Enter Job Code, Name and Family",
      "action": "Enter the job code and job name, and associate a job family where applicable.",
      "test_data": "${JOB_CODE} / ${JOB_NAME} / ${JOB_FAMILY}",
      "expected_result": "Job code, job name and job family are accepted without unexpected validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Set Effective Dates, Status and Additional Attributes",
      "action": "Enter the effective start date and, where applicable, effective end date and status. Associate grade, job function and management level where configured.",
      "test_data": "${EFFECTIVE_START_DATE} / ${EFFECTIVE_END_DATE} / ${STATUS} / ${GRADE} / ${JOB_FUNCTION} / ${MANAGEMENT_LEVEL}",
      "expected_result": "Effective dates, status and additional job attributes are accepted without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Review Job",
      "action": "Review the job record as calculated by Oracle Fusion before saving.",
      "test_data": "",
      "expected_result": "The reviewed job reflects the entered job code, name, job family, effective dates and status.",
      "validation_type": "action",
      "note": "Reviewing the job before saving lets the tester catch an incorrect field entry before the job is created or updated."
    },
    {
      "step_number": 7,
      "step_name": "Submit and Verify Job Available for Assignment",
      "action": "Save the job and confirm that an active job is available for selection on a worker assignment.",
      "test_data": "",
      "expected_result": "The job is created or updated correctly, the status is correct, and an active job is available for selection on a worker assignment.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — a correctly created or updated job that is available for assignment when active is the expected pass condition, not merely a successful save."
    }
  ],
  "expected_results": [
    "The job is created or updated with the correct job code, job name and job family.",
    "Effective start and end dates on the job are correct.",
    "Job status is correctly reflected as active or inactive.",
    "Grade, job function and management level are correct where configured.",
    "An active job is available for selection on a worker assignment.",
    "An inactive job is unavailable for new assignment selection where expected.",
    "The job is visible and traceable within Workforce Structures."
  ],
  "validation_checkpoints": [
    "Job created/updated correctly.",
    "Code/name correct.",
    "Effective dates correct.",
    "Status correct.",
    "Job available for assignment when active.",
    "Job unavailable for assignment when inactive where expected."
  ]
}
