Skip to main content
December 2, 2021
Question

Milestone

  • December 2, 2021
  • 10 replies
  • 0 views

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

    10 replies

    danny.verb
    December 2, 2021

    You'll need to add more details. What do you mean by 'Get a milestone'? If you go full screen, do more options appear?

    December 2, 2021

    Based on my status for a particular id i need to show the status tracking through milestone

    peter.lewis
    Employee
    December 2, 2021

    Did you look at the documentation? There's several good examples for how to configure this: this: https://docs.appian.com/suite/help/latest/Milestone_Component.html

    You are showing two variables, local!steps and local!steps1 - what's the difference between them? I think you only need one of these. Also, it looks to me like your milestone is showing the correct selection (it's showing the first item since you have active: 1). What value are you trying to show in the milestone?

    paoloc0002
    December 2, 2021

    Hello friend, 

    If I understand you correctly, you are trying to display the milestone that your current request is in. That particular index should be attributed to the parameter "active" which you currently have hard coded as "1"

    Nevertheless, your current variables are returning steps = 5 items and steps1 = 14 items (due to the fact that your iconSteps is null so it's returning all). Therefore, if your local!steps1 is the index, you'd need to pass that value into your active parameter as a number. since it seems you're returning text, you'll need to do a wherecontains() to get the index from local!steps. 

    Second, your parameter of "steps", should be the variable: local!steps, this will be the one that will display all the different steps in the milestone bar. 

    As best practice, I would consider renaming your variables, they can be confusing and should be more specific to what each variable should contain. 

    Best of luck!

    December 9, 2021

    Yeah Sure . Thank you I got it .