-
Recently active
Hi All, I have to check whether the current time(irrespective of any user time zone) is between 7pm EST to 9am EST. So we tried to convert the current time to EST first and then to compare it with "7:00 PM" & "9:00 AM" EST (by creating text constant). We just tested with below code to check whether comparison works fine by changing the constant value, but it fails totime( gmt( local(now(), "EST" ) ) ) > totime(cons!xyz) where cons!xyz = "7:00 PM" (a text constant) So please help me how to make this work. Thanks in advance.
How much data we can retrieve from database in expression rule?
hi, my query is if i want to read xsl document details in expression rule is any function for this
My requirement is to fetch the correct option for the respective question which is there in the database. So what condition i need to apply in choiceLabels() as am getting questions in the correct order only but only the option from the first row is getting repeated for all the questions. so i want first 4 data to go for 1st checkboxField() , next 4 to second checkboxField() & so on. local!data:rule!MWJ_qe_forQuestions(), local!option:split(rule!MWJ_qe_fetchQuizOptions(),";"), local!choose:{1,2,3,4}, contents: { a!forEach( items:split(local!data,";"), expression: a!checkboxField( label:fv!item, labelPosition: "ABOVE", choiceLabels:{ a!forEach( items:index(split(local!option,","),{local!choose},0), expression:fv!item,)}, choiceValues: { a!forEach( items:index(split(local!option,","),{local!choose},0), expression:fv!item, )},
Hi Guys, is there any way to increase the expression rule timeout which is pulling data from a view . As now its getting timeout because of the complex logic in view so i just need to increase the timeout of a expression rule to check it Thanks in advance
hyperlinks can be included in the body of the notification display Understand if the below edit text options can be included so we can underline text/change colour etc need to be shown an option how it shows in word document to underline and make it color to text for the text which we are showin in notifications in this way need to be shown on the screen to make text to color or underline
Bubble sort starts with very first two elements, comparing them to check which one is greater. ( 5 1 4 2 8 ) –> ( 1 5 4 2 8 ), Here, algorithm compares the first two elements, and swaps since 5 > 1. ( 1 5 4 2 8 ) –> ( 1 4 5 2 8 ), Swap since 5 > 4 ( 1 4 5 2 8 ) –> ( 1 4 2 5 8 ), Swap since 5 > 2 ( 1 4 2 5 8 ) –> ( 1 4 2 5 8 ), Now, since these elements are already in order (8 > 5), algorithm does not swap them.
I have created a single interface that is being called by two separate interface but the text in richtext display should be different only. Everything else will be as it is. How to do that?
Hello everyone, I have a local variable that query data from data table.The data looks like below: local!cases: { (clientId: 234,group: 55), (clientId: 600, group: 66), (clientId:234, group: 77), (clientId: 600, group: 88), (clientId: 234, group: 99) } I want to get the group name of only client number 600. Below is my code: index(local!cases.group,wherecontains(600,tointeger(local!cases.clientId)),null), And got this error: Invalid index: Cannot index property 'group' of type Text into type List of Number (Integer) Any one got an idea what the reason is? Thanks a lot!
Hi, Is there any function or a recipe to get all the basic users. Please help
Hi, Can Someone help in writing a rule which gives me a list of users whose last login date was a year back. I wrote this rule but it is pulling users with the lastlogin date as null. Please correct me a!forEach( expression: if(todatetime(getuserlastlogin(fv!item)) < ri!datetime,fv!item,""), items: getdistinctusers(cons!PDS_USERS_TYPE) ) Thanks in Advance
Hi, I want to have a ri!startDate, I will use the a!isNotNull function to display some warning message if the ri!startDate is null else will retrieve the weekday(ri!startDate) but I keep encountering the error message such as Cannot sub incompatible operands of type Date and type Text. below here is my code for the interface a!localVariables( local!weeknum:if(a!isNotNullOrEmpty(ri!startDate),weeknum(ri!startDate),{}), local!day:if(a!isNotNullOrEmpty(ri!startDate),day(ri!startDate),{}), local!month:if(a!isNotNullOrEmpty(ri!startDate),month(ri!startDate),{}), local!year:if(a!isNotNullOrEmpty(ri!startDate),year(ri!startDate),{}), local!dayofWeek:if(ri!startDate=null(),"Please Select a Date ", weekday(ri!startDate)-1), local!startWeekDay:if(local!dayofWeek1,ri!startDate-local!dayofWeek+1,{}), local!endWeekDay:local!startWeekDay+4, local!monday:local!startWeekDay, local!tuesday:local!startWeekDay+1, local!wednesday:local!startWeekDay+2, local!thursday:local!
Hi, can anyone teach me how to retrieve the week range based on the weeknumber and year. For example, the user selects a date. I use the weeknum(ri!startDate) already retrieve the weeknumber and the year(ri!startDate), so I already have the weeknumber and the year already, how to retrieve the date range from the week number and year ? such as 11/11/2022, week number is 47 and the year is 2022, how to we retrieve the date range like " 7/11/2022 - 11/11/2022 ? anyone can help or assist me [emoticon:c4563cd7d5574777a71c318021cbbcc8]
How can we generate a series of random numbers like 23434 56767 89789 34355 56307 Please suggest me or an example without any table connection
I want to roundup below result to ...upto two places like 3.13....how could i achieve that please help
Hii all, we have 3 teams in my building portal they are 1vendor , 2buyer and 3internal team and the intrnal teams have 3 other sub teams called IT1 and IT2 and IT3, normally when a vendor raised a request for pricing change for a product then it will goes to buyer team , he has the power to reject or accept or send it to internal teams , now the 1)rule is if the current product price is 10% more than previous price then this should get approval from all the teams from internal teams called IT1 and IT2 and IT3 2) if the the current product price is 10% less than previous price then this should get approval from teams IT1 and IT3 only 3) if retail price is more than cost price then it will get approval from IT2 only note: when buyer forward the request to internal teams above mentioned actions should take place could you please tell me how to achieve this decision mapping and business rules i
Please share any example to write HTML code into the Expression rule
Is it a bug or is there some other reason why my users cannot see records in Tempo or other places when I explicitly gave them permissions in the security configurations? Is anyone else having this problem. I don't want to run around with expressions if the option exist to give them at least viewer permission in the security configuration. I have given permission on the record type, data store, site, interface ... They still cannot view the record type, even though the tab is visible in Tempo
Hello Team, I need to extract the file extension in a string StoneX - Dist. Agreement - XX Draft 12 Dec 2021.docx. I cannot use the document function to extract the file extension since we have the option to delete/remove the file from repository and this will pop an error "document does not exist". I'm current using the function getcontentobjectdetailsbyid(todocument(docId)) to extract the name. Is there an easy way to extract the file using an OOTB function? Thanks & Regards Girish Katti
expression evaluation error at "readexcelsheet" readexcelsheet( excelDocument:ri!Spreadsheet, sheetNumber: 1, startRow: 2, ) ruleinput is document
In this rule i had merged two query rule to one new rule, now i want set query filters on this new rule to filter data. Thank You
Hi, I want to execute a SQL query, is there any function like executestoredprocedure that is used to execute an sp? I am trying to run a SQL query through the process model and trying to see the result of that query, so is there a way how to get the result of that select statement? Can anyone please help?
Hello everyone, How to display the table format in appian using expression rules? If anyone has the idea how to generate the table using html please help me . Thanks in advance. The finally format in pdf should be like this and data is coming from database.
i have written the expression rule to show the data in table. but how to remove these semicolons from the table a!localVariables( local!contractData: rule!generatecontracttable( cif_int: ri!cif_int ), local!rowItemsdata: { " " & index( local!contractData.value_txt, wherecontains( 1, tointeger( local!contractData.extensionRefId_int ) ), {} ), " " & index( local!contractData.value_txt, wherecontains( 5, tointeger( local!contractData.extensionRefId_int ) ), {} ), " " & index( local!contractData.value_txt, wherecontains( 6, tointeger( local!contractData.extensionRefId_int ) ), {} ), " " & index( local!contractData.value_txt, wherecontains( 7, tointeger( local!contractData.extensionRefId_int ) ), {} ), " " & inde
I'm working on a integration project where data is coming out of appian, here I have a situation Where I need to specify if data is missing In a particular field let's say "name" under "personal details" section then "error type" should be "personal details" and "error details" should be "name". Likewise I have many fields under section "personal details" - for this i have created a record. Can anyone please help me to achieve this situation
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.