Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. 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.
Calculate the date 6 months old from today, please advise with recipes
Discussion posts and replies are publicly visible
todate(concat(month(ri!date1)-6,"/",day(ri!date1),"/",year(ri!date1)))
edate(today(), -6)
how to get past 3 year from now?
Hi pd5143, Kindly try this solutiona!localVariables( local!a:year(today()), local!b, a!flatten( a!forEach( items: enumerate(3), expression: append(local!b,local!a-(fv!index-1)) )),)
Try this
year(today()) - enumerate(3)
Would you please stop recommending such code snippets!
Appian expressions is a functional language and local variables cannot be modified after initial assignment. Your code does not append anything to that local!b.