Unable to update a single value in a list with a!update

Certified Senior Developer

I researched and checked theres known issues for a!update so I was hoping that someone may have solutions for this particular scenario.
The output for the following code just returns a 4 instead of 4 Current

a!update(
      remove(
        {1,2,3,4,5,6,7},
        remove(
          enumerate(0,1,2,3),
          1
        )
      ),
      1,
      ri!application.projectYears & " Current"
)

  Discussion posts and replies are publicly visible

Parents Reply
  • +1
    Certified Senior Developer
    in reply to Stefan Helzle

    The requirement is to display a dropdownlist from currentProjectYears and above up to 7 thus 4, 5, 6, 7. Parameters wise shouldnt have an issue. 

    a!update(
          touniformstring(
            remove(
              {1, 2, 3, 4, 5, 6, 7},
              remove(
                enumerate(ri!application.projectYears), // this is 0,1,2,3
                1
              )
            )
          ),
          1,
          ri!application.projectYears & " (Current)" // to display (current) for 4th year which is current project years
        )

Children
No Data