JuniorSeniorExpressionsYou need to print the number between 1300 and 1600Code:a!localVariables( local!initialValue: 1300, a!forEach( items:enumerate(301), expression: local!initialValue + fv!item ))This expression generates a sequence of number...#coding#sailcodingAnonymous5mo ago1205
JuniorExpressionsWhat is decision object in Appian and how it is used?In Appian, a Decision Object is used to implement business rules in a structured, rule-based format. It allows you to evaluate multiple conditions and return a result automatically...Anonymous3mo ago731
JuniorExpressionsExpression based hands on a) Given 4 dictionaries of the students data with id, name and city, Asked me to remove the students which belongs to city Pune b) Update dict data, Change city name Mumbai to city name Bangalore Sample Data: local!students: { a!map(id: 1, name: "John", city: "Pune"), a!map(id: 2, name: "Sam", city: "Mumbai"), a!map(id: 3, name: "Ravi", city: "Pune"), a!map(id: 4, name: "Anu", city: "Delhi") }a) Solution :a!localVariables( local!students: { a!map(id: 1, name: "John", city: "Pune"), a!map(id: 2, name: "Sam", city: "Mumbai"), a!map(id: 3, name: "Ravi", city: "Pu...#codingAnonymous2mo ago711
JuniorExpressionsYou need to print all the number divided by 13Code:reject( fn!isnull, a!forEach( items: enumerate(100) + 1, expression: { if(mod(fv!item, 13) = 0, fv!item, null()) } ))This expression returns all numbers divisible by ...#sailcoding#codingAnonymous5mo ago674
JuniorExpressionsDifference between now() and today() ?The difference between now() and today() mainly comes down to time component, timezone handling, and datatype (this is especially relevant in platforms like Appian, SQL, or similar...Anonymous2mo ago562
SeniorExpressionsIdentify and print the capital, small, integers and symbols from the given string "AdhGy123@".CODE: a!forEach( items:code("AdhGy123@"), expression:expression: if( and( fv!item >= 0, fv!item <= 9 ), fv!item & " is number", if( and( ...Anonymous4mo ago384
JuniorExpressionsHow to remove characters from a string ?You have a list of strings like:{"ABHello", "ABAppian", "ABWorld"}Each value starts with "AB", and the goal is to remove this prefix from every string.We can achieve this using a!forEach() along with the mid() and len() functions.a!localVariables( local!array: {"ABHello", "ABAppian", "ABWorld"}, a!forEach( items: local!array...#codingAnonymous2mo ago311
JuniorSeniorExpressionsIn Appian, Write an expression to check whether it is a Palindrome or Not ?The purpose of this expression rule is to determine whether a given string is a Palindrome.A palindrome is a word, phrase, or sequence that reads the same forward and backward.Exam...Anonymous3w ago192
SeniorJuniorExpressionsIn Appian, Find vowels in the given array using expression rule. Expected output : { { word: "Apple", vowels: {"A","e"} }, { word: "Sky", vowels: {} }, { word: "Orange", vowels: {"O","a","e"} }, { word: "Fly", vowels: {} }}a!localVariables( local!words: { "Apple", "Sky", "Orange", "Fly" }, a!forEach( items: local!words, expression: a!localVariables( local!word: fv!item, { wor...#codingAnonymous3w ago41
JuniorExpressionsGive the count of each wordInput: "Hello, test string, test"Output: Hello - 1 test - 2 string - 1a!localVariables( local!data : "Hello, test string, test", local!data1: split(local!data," "), local!uniqData: union(local!data1,local!data1), a!forEach( items: local!uniqDa...#codingAnonymous1w ago30