Need to save the dropdown values data in local!variable by creating map

When you click the add button, the CardLayout component is duplicated along with its fields. Consequently, the dropdowns in each card layout are showing the same selected value as the dropdown in the first card layout. How should I handle saving the data to ensure that each dropdown maintains its own selected value? 

a!localVariables(
  local!count: 1,
  local!destChildFields: a!map(
    status: {
      description: "Status",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: { 12, 13, 14, 15, 16 },
      enumLabels: {
        "To Do",
        "In Progress",
        "Escalated",
        "Withdrawn",
        "Resolved"
      },
      typedesc: "Single-Select"
    },
    subStatus: {
      description: "SubStatus",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: {
        17,
        54,
        21,
        18,
        19,
        10019,
        10021,
        10018,
        95,
        10016,
        10026,
        20,
        55,
        77,
        99,
        31,
        30,
        108,
        109,
        10243,
        10112,
        10307,
        10250,
        212,
        213,
        217,
        215,
        219
      },
      enumLabels: {
        "Not Started",
        "Reopened",
        "Unblocked",
        "In Review",
        "Paused",
        "Knowledge Gap",
        "Expedited Review",
        "Follow Up Needed",
        "Mistriaged",
        "Claims Resub Requested",
        "Duplicate",
        "No Longer Needed",
        "Adjusted",
        "Awaiting Letter",
        "All Child Tickets Closed",
        "Resolved by Other",
        "Responded",
        "Fixed Letter Automation",
        "Letter Generated",
        "AS Delete after test 2",
        "Suppressed",
        "Unit Test A",
        "Test",
        "Sent to Optum",
        "No Optum Review Needed",
        "Adjusted By Exam",
        "Upgrade to Referral",
        "Escalated using XR"
      },
      typedesc: "Single-Select"
    },
    closedOn: {
      description: "Closed On Date / Time (format: YY-mm-DDTHH:MM:SS)",
      type: "string",
      questionSet: "global",
      typedesc: "Date and Time"
    },
    closedBy: {
      description: "Closed By Username",
      type: "string",
      questionSet: "global",
      typedesc: "User"
    },
    labels: {
      description: "The List of Labels associated with claim Identifier",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: {
        10077,
        10078,
        10079,
        10080,
        10081,
        10083,
        10082,
        10294,
        10304,
        10292,
        10332
      },
      enumLabels: {
        "CGA_Task",
        "Regulatory_Complaint",
        "CGA_GRV",
        "C&G_MIR",
        "INN_NoProcess",
        "atclm",
        "mistriaged",
        "Test Label 167890",
        "test audit 12",
        "Test Label audit 12",
        "test1"
      }
    },
    watchers: {
      description: "The List of Watchers associated with claim",
      type: "string",
      questionSet: "global",
      required: false
    },
    issue: {
      description: "Issue field",
      type: "integer",
      questionSet: "global",
      enum: { 60, 61, 64, 65, 66, 67, 68, 70, 63, 120 },
      enumLabels: {
        "Authorization",
        "Eligibility",
        "Edits",
        "INN Pricing",
        "OON Pricing",
        "Benefits & Cost Share",
        "Timely Filing",
        "Finance",
        "Duplicate",
        "Member Submitted Claim"
      },
      typedesc: "Single-Select"
    },
    subIssue: {
      description: "SubIssue field",
      type: "integer",
      questionSet: "global",
      enum: {
        71,
        72,
        73,
        74,
        75,
        76,
        88,
        78,
        79,
        80,
        81,
        82,
        83,
        84,
        85,
        86,
        87,
        100,
        129,
        130,
        188,
        189,
        190,
        191,
        192,
        193,
        194,
        195,
        196,
        197,
        198,
        199,
        200,
        201,
        202
      },
      enumLabels: {
        "Medical Records and Docs",
        "Medops Split Request",
        "ClaimsXten",
        "Cotiviti PPM",
        "Cotiviti CV",
        "Oscar",
        "INN Denial",
        "INN Payment",
        "Network Status",
        "OON Denial",
        "OON Payment",
        "International",
        "Coordination of Benefits",
        "Cost Sharing Accumulator",
        "Refund Request",
        "Refund",
        "Stop Payment Request",
        "Free PCP/Copay",
        "Domestic",
        "International",
        "PPR Removal",
        "PPR Add",
        "Recovery",
        "Analytics Work Item",
        "Triage",
        "Filings",
        "Fraud Plans",
        "Policies & Procedures",
        "Audit",
        "Other",
        "Operations Work Item",
        "RFIs",
        "Subpoenas",
        "Reporting",
        "Other"
      },
      typedesc: "Single-Select"
    },
    state: {
      description: "State Identifier",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: {
        10027,
        10029,
        10030,
        10032,
        10033,
        10034,
        10035,
        10036,
        10037,
        10038,
        10039,
        10040,
        10041,
        10042,
        10043,
        10044,
        10045,
        10046,
        10047,
        10048,
        10049,
        10050,
        10051,
        10052,
        10053,
        10054,
        10055,
        10056,
        10057,
        10058,
        10059,
        10060,
        10061,
        10062,
        10063,
        10064,
        10065,
        10066,
        10067,
        10068,
        10069,
        10070,
        10071,
        10072,
        10073,
        10074,
        10075,
        10076
      },
      enumLabels: {
        "AL",
        "AZ",
        "AR",
        "CO",
        "CT",
        "DE",
        "FL",
        "GA",
        "HI",
        "ID",
        "IL",
        "IN",
        "IA",
        "KS",
        "KY",
        "LA",
        "ME",
        "MD",
        "MA",
        "MI",
        "MN",
        "MS",
        "MO",
        "MT",
        "NE",
        "NV",
        "NH",
        "NJ",
        "NM",
        "NY",
        "NC",
        "ND",
        "OH",
        "OK",
        "OR",
        "PA",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VT",
        "VA",
        "WA",
        "WV",
        "WI",
        "WY"
      },
      typedesc: "Single-Select"
    },
    tenant: {
      description: "Tenant",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: { 10004, 10005 },
      enumLabels: { "Oscar", "Health First" },
      typedesc: "Single-Select"
    },
    lob: {
      description: "Line of Business (lob)",
      type: "integer",
      questionSet: "global",
      required: false,
      enum: { 10001, 10003, 10002 },
      enumLabels: {
        "Individual",
        "Small Group",
        "Medicare Advantage"
      },
      typedesc: "Single-Select"
    }
  ),
  local!data: {
    "labels",
    "labels",
    "closedBy",
    "closedOn",
    "subStatus",
    "status",

  },
  local!escalationFields: {
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6333,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "labels",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6332,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "closedBy",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6331,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "closedOn",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6330,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "subStatus",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6329,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "status",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6328,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "priority",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6327,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "dueDate",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    ),
    'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field'(
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{f5fe89e3-be39-448f-b18d-61ab47caa97b}escalationFieldId': 6326,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{cbe43a10-86dc-41f2-a4f9-4beea7e8fc4a}escalationPathwayId': 257,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{3437a64f-dac3-407a-a089-7e9d64dca973}isRequired': false,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{571d49da-e656-4d6e-b6d3-bcfe8392f1b1}visibilityStatusLookupRefId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{166243bd-ab58-4b6c-a50f-613b8c6e48c9}autofillSourceFieldName': "",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{6f875047-cf5f-409b-850c-638c3682376b}autofillDestFieldName': "billedAmount",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{e9a3bbed-816d-4fe8-a70a-7c4cc85a5f9e}bigQueryRule': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{9e460a39-6ba8-47ce-803f-3765cca8814c}automationTypeLookupId': fn!tointeger(null),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{4f35e775-65ae-4bfe-a3a5-4d2038168f11}isVisible': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{64cbd7b2-ed7b-42e0-ab78-88d9b7cb1345}isActive': true,
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{d6b60d44-0986-4991-9547-0980b4b50c65}createdBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{001bbdfa-f2e1-4e3f-a4a6-14a7317b8c6f}createdDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{5c01100a-7685-4724-957b-9f5488dce20c}updatedBy': "Test.you@hioscar.com",
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{1548d77e-1bdb-43b5-82c0-bb8ea7dcead8}updatedDt': fn!datetime(2024, 8, 19, 8, 59, 25, 0),
      'recordType!{5996ab3d-2bdd-4f15-b862-b5e940227d63}XEP Escalation Field.fields.{c5371ccc-a6ca-43bb-8647-cefa1f33827d}destTicketTypeId': 402
    )
  },
  {
    a!sideBySideLayout(
      items: {
        a!sideBySideItem(
          width: "MINIMIZE",
          item: a!buttonArrayLayout(
            marginBelow: "NONE",
            buttons: {
              a!buttonWidget(
                label: "Add Child Tickets",
                size: "SMALL",
                style: "OUTLINE",
                color: "SECONDARY",
                saveInto: a!save(local!count, local!count + 1)
              )
            }
          )
        )
      }
    ),
    a!forEach(
      items: enumerate(local!count),
      expression: a!cardLayout(
        showBorder: true,
        showShadow: true,
        marginBelow: "STANDARD",
        marginAbove: "STANDARD",
        contents: {
          rule!OCO_uiLayoutGrid(
            components: rule!OCO_rejectNull(
              a!forEach(
                items: local!data,
                expression: a!localVariables(
                  local!currentFieldInfo: index(local!destChildFields, fv!item, null),
                  a!match(
                    value: index(local!currentFieldInfo, "type", null),
                    equals: "integer",
                    then: if(
                      index(local!currentFieldInfo, "typedesc", null) = "Single-Select",
                      a!dropdownField(
                        label: "label" & fv!index,
                        placeholder: "-- Choose a value --",
                        choiceLabels: local!currentFieldInfo.enumLabels,
                        choiceValues: a!forEach(
                          items: local!currentFieldInfo.enum,
                          expression: tointeger(fv!item)
                        )
                      ),
                      a!multipleDropdownField(
                        /*instructions: fv!item,*/
                        label: "label",
                        placeholder: "-- Choose a value --",
                        choiceLabels: local!currentFieldInfo.enumLabels,
                        choiceValues: a!forEach(
                          items: local!currentFieldInfo.enum,
                          expression: tointeger(fv!item)
                        )
                      )
                    ),
                    default: null
                  )
                )
              )
            ),
            maxColumns: 2
          )
        }
      )
    )
  }
)


  Discussion posts and replies are publicly visible

Parents Reply Children
No Data