{
  "test_id": "ORCL.HCM.COREHR.PERSON.NATIONAL_ID",
  "scenario_name": "Manage National Identifiers",
  "application": "Oracle Fusion Cloud",
  "product": "HCM",
  "module": "Core HR",
  "process": "Person Management",
  "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/person-management/manage-national-identifiers/",
  "objective": {
    "intro": "This test validates that Oracle Fusion HCM correctly creates, updates and validates permitted worker national identifiers, in line with country-specific legislative rules and the restricted security profile that governs this sensitive data type.",
    "confirms": [
      "the correct identifier type is available for the worker's country/legislation",
      "a permitted national identifier is created and associated with the correct worker record",
      "format and legislative validation rules are correctly applied to the identifier value",
      "duplicate identifier values are correctly detected and rejected",
      "only users with the appropriate security profile can view or edit national identifiers",
      "sensitive identifier values are never exposed in plain form in test evidence, reports or screenshots"
    ],
    "scope_note": "This scenario validates the Manage National Identifiers event within Person Management, alongside Manage Contact Information, Manage Emergency Contacts and Manage Address. Because national identifiers are the most sensitive data type in this cluster, this scenario places particular emphasis on security-profile enforcement and on how sensitive values are handled in test evidence."
  },
  "preconditions": [
    "The worker record is active.",
    "The applicable national identifier type is configured for the worker's country/legislation.",
    "The test user has the appropriate security profile and data-access privileges to view or edit national identifiers, a restricted data type in Oracle Fusion.",
    "Reference data for country/legislation and identifier type is available and current.",
    "Where masked or de-identified test values are required, they are sourced through Syntra DataVault rather than entered manually."
  ],
  "test_data": [
    {
      "field": "Person Number",
      "example": "${PERSON_NUMBER}"
    },
    {
      "field": "Country/Legislation",
      "example": "${COUNTRY_LEGISLATION}"
    },
    {
      "field": "Identifier Type",
      "example": "${IDENTIFIER_TYPE}"
    },
    {
      "field": "National Identifier Value",
      "example": "${NATIONAL_IDENTIFIER}"
    },
    {
      "field": "Issue Date",
      "example": "${ISSUE_DATE}"
    },
    {
      "field": "Expiration Date",
      "example": "${EXPIRATION_DATE}"
    },
    {
      "field": "Primary Indicator",
      "example": "${PRIMARY_INDICATOR}"
    },
    {
      "field": "Effective Date",
      "example": "${EFFECTIVE_DATE}"
    },
    {
      "field": "User Role",
      "example": "${USER_ROLE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion HCM",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has the appropriate Person Management and national identifier security profile.",
      "test_data": "${USER_ROLE}",
      "expected_result": "The Oracle Fusion Cloud home page loads successfully for the authenticated user.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Person Management",
      "action": "Navigate to My Client Groups, or the equivalent workforce area, and open Person Management.",
      "test_data": "",
      "expected_result": "The Person Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Locate the Worker Record",
      "action": "Search for and open the target worker record using the person number.",
      "test_data": "${PERSON_NUMBER}",
      "expected_result": "The correct worker record is retrieved and opened.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Initiate Add/Update National Identifier",
      "action": "Open the National Identifiers section for the worker and start the add or update action.",
      "test_data": "",
      "expected_result": "The National Identifiers entry page opens, ready for input.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Select Identifier Type and Country",
      "action": "Select the identifier type and country/legislation applicable to the worker.",
      "test_data": "${IDENTIFIER_TYPE} / ${COUNTRY_LEGISLATION}",
      "expected_result": "The selected identifier type is accepted as valid for the chosen country/legislation.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Enter Identifier Value",
      "action": "Enter the national identifier value using masked or placeholder test data, along with issue date, expiration date, primary indicator and effective date as applicable.",
      "test_data": "${NATIONAL_IDENTIFIER} (masked as ***-**-1234 in test evidence)",
      "expected_result": "The entered identifier and related attributes are accepted without validation errors.",
      "validation_type": "action",
      "note": "SyntraFlow always uses masked or ${PLACEHOLDER} test data for this field and never displays a real national identifier value in the UI, in logs or in captured evidence."
    },
    {
      "step_number": 7,
      "step_name": "Review and Submit",
      "action": "Review the entered identifier details and submit the change for processing.",
      "test_data": "",
      "expected_result": "Oracle Fusion HCM accepts the submission and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Identifier Stored and Access Restricted",
      "action": "Retrieve the worker record and confirm the identifier is stored correctly, then confirm that only users with the required security profile can view or edit it.",
      "test_data": "",
      "expected_result": "The identifier is stored correctly and associated with the correct type and country; the value remains masked in test evidence, and access is confirmed as restricted to authorized roles.",
      "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; correct storage and correct security enforcement must both be confirmed."
    }
  ],
  "expected_results": [
    "A permitted national identifier is added or updated successfully using valid type, country and identifier data.",
    "The identifier is correctly associated with the correct worker, identifier type and country/legislation.",
    "Format and legislative validation rules are correctly enforced on the identifier value.",
    "Duplicate identifier values are correctly detected and rejected.",
    "Only users with the required security profile can view or edit the national identifier.",
    "The identifier value is never exposed in plain form in test evidence, reports or screenshots."
  ],
  "validation_checkpoints": [
    "Identifier stored correctly (confirmed via masked test evidence).",
    "Correct identifier type and country/legislation associated.",
    "Format validation applied.",
    "Duplicate handling correct.",
    "Access controls enforced — only authorized roles can view or edit.",
    "Sensitive value handled securely in test evidence — never exposed in plain form."
  ]
}
