Skip to main content
Participating Frequently
September 15, 2022
Question

Please suggest conditions for Milestone to move from one stage to another stage

Hi all,

strucked here, kindly suggest conditions to move from one stage to another stage by using "if' condition sinked with constant(status).

Please find the conditions i gave for this, but only working for first status...Kindly modify or tell my mistakes.

Thanks in advance waiting for the solution.

local!currentMilestoneStampStep: if(
or(
rule!APN_isBlank(ri!caseId),
local!caseDetails.caseStatus = cons!CASE_STATUS[1],
local!caseDetails.caseStatus = cons!CASE_STATUS[3],
2,

),
1,
if(
local!caseDetails.caseStatus = cons!CASE_STATUS[2],
2,
if(
local!caseDetails.caseStatus = cons!CASE_STATUS[4],
3

),
2,
if(
local!caseDetails.caseStatus = cons!CASE_STATUS[5],
4

)
)
),

    5 replies

    gabriele.camilli
    Employee
    September 15, 2022

    I don't understand the problem, now you just have to use a!milestoneField to complete (https://docs.appian.com/suite/help/22.3/Milestone_Component.html)

    What's the blocker?

    Participating Frequently
    September 15, 2022

    am asking for the conditions to go to stages wise... from one stage to another stage it has to move right (milestone). Alreadt i have used that documentation code only only conditions are pending

    gabriele.camilli
    Employee
    September 15, 2022

    You use local!currentMilestoneStampStep as input "active" of the milestone field. you also have to have a list of text for the steps. Then it would move according to local!currentMilestoneStampStep