how to short record field with integer value

Certified Senior Developer

Hi,

have a requirement to short a record field which have integer value

how can i do that ?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

        concat(
          "<dynamic>",
          a!forEach(
            items: local!claimEnforceActivityHoursDetail,
            expression: concat(
              "<cehdtable day='",
              todatasubset(
                a!forEach(
                  fv!item['recordType!{f2a34aa7-07cb-4563-a36f-6f1fdceb2db8}GAI Enforcement Activity Hours.fields.{f85e426c-35aa-430b-a66b-c0698b83213a}dayOfTheMonth'],
                  { value: fv!item }
                ),
                a!pagingInfo(
                  startIndex: 1,
                  batchSize: - 1,
                  sort: a!sortInfo(field: "value", ascending: true)
                )
              ).data.value,
              "' />"
            )
          ),
          "</dynamic>"

    day value i need to short but it is not giving the correct output after 19 ,2 is coming