Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
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 ) ) ),
Discussion posts and replies are publicly visible
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?
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
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
can you please check the conditons which i have gave ..
There are some errors that i can't solve correctly. May i suggest you to use a decision table?
Else the rule should look something like this
if( or( rule!APN_isBlank(ri!caseId), local!caseDetails.caseStatus = cons!CASE_STATUS[1], local!caseDetails.caseStatus = cons!CASE_STATUS[3], ), 1, if( local!caseDetails.caseStatus = cons!CASE_STATUS[2], 2, if( local!caseDetails.caseStatus = cons!CASE_STATUS[4], 3, if( local!caseDetails.caseStatus = cons!CASE_STATUS[5], 4, 2 ) ) ) )