Milestone

I am unable to get a milestone for a particular id . Can anyone help me with it please

  Discussion posts and replies are publicly visible

Parents Reply
  • Ok you just have to update the "active" parameter to refer to the step you want to show as active. If your data is storing the text string instead of a number, you probably need to use the wherecontains() function to find the index of the value in your list.

    Something like this should work:

    a!localVariables(
      local!steps: { "One", "Two", "Three" },
      a!milestoneField(
        label: "Milestone",
        labelPosition: "ABOVE",
        steps: local!steps,
        links: a!forEach(
          items: local!steps,
          expression: a!dynamicLink(
            label: "Status",
            value: fv!item,
            saveInto: ri!request.status
          )
        ),
        active: wherecontains(ri!request.status, local!steps)
      )
    )

Children
No Data