getting null value when indexing the dictionary

Certified Associate Developer

Hi,

Can someone tell is there any issue with my code here.. Im getting null value when I index as below. I get output of local!orionData as a dictionary(List of Variant).

a!localVariables(
  local!orionData: a!forEach(
    items: index(
      {
        'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country'(
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6c137b66-e39e-49a8-b443-3728d8ccd6a4}id': 20817,
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{d38471f1-b8d4-4a37-8bee-0f24c7dd7508}country': "Australia",
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6ebd94a9-cdde-4846-b29c-4c833d6e80c3}requestId': 7757
        ),
        'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country'(
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6c137b66-e39e-49a8-b443-3728d8ccd6a4}id': 20818,
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{d38471f1-b8d4-4a37-8bee-0f24c7dd7508}country': "United Kingdom",
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6ebd94a9-cdde-4846-b29c-4c833d6e80c3}requestId': 7757
        ),
        'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country'(
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6c137b66-e39e-49a8-b443-3728d8ccd6a4}id': 20822,
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{d38471f1-b8d4-4a37-8bee-0f24c7dd7508}country': "Austria",
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6ebd94a9-cdde-4846-b29c-4c833d6e80c3}requestId': 7757
        ),
        'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country'(
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6c137b66-e39e-49a8-b443-3728d8ccd6a4}id': 20823,
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{d38471f1-b8d4-4a37-8bee-0f24c7dd7508}country': "China",
          'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6ebd94a9-cdde-4846-b29c-4c833d6e80c3}requestId': 7757
        )
      },
      'recordType!{d1de8e89-4208-44d3-bb27-0306902c0671}RGRACSLBL Label Change Country.fields.{6c137b66-e39e-49a8-b443-3728d8ccd6a4}id',
      {}
    ),
    expression: rule!RGRACSLBL_getOrionMilestoneDataForPLLs(labelChangeCountryId: fv!item)
  ),
  local!eventsList: index(local!orionData, "eventId_int", {}),
  local!eventsList
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data