-
Recently active
... local!cart: rule!AS_Get_Cart(), ... a!gridLayout( label: "Editable Grid", labelPosition: "COLLAPSED", headerCells: { a!gridLayoutHeaderCell(label: "Item"), a!gridLayoutHeaderCell( label: "Price" ), a!gridLayoutHeaderCell( label: "Stock" ), a!gridLayoutHeaderCell( label: "Quantity", helpTooltip: "The number of items you want to buy" ), a!gridLayoutHeaderCell( label: "Total Price" ), a!gridLayoutHeaderCell( label: "" ) }, columnConfigs: { a!gridLayoutColumnConfig( width: "DISTRIBUTE", weight: 4 ), a!gridLayoutColumnConfig( width: "DISTRIBUTE", weight: 1 ), a!gridLayoutColumnConfig( width: "DISTRIBUTE" ), a!gridLayoutColumnConfig(
Hi, Anyone who knows the definition of database view? and what is database view used for? I'll appreciate it if someone answer my question. thanks a lot. [emoticon:c4563cd7d5574777a71c318021cbbcc8]
Hi Everyone, I have to update multiple tables when submitting a from using interface. Can anyone please guide me how to achieve this? If there is any example, it would be more helpful. Thank You
So, I'm building a record where i have all the items in the store, then i can drill down to 1 item and update ir, but when i click on update item related action i get this error: An error occurred while applying the context for the AS Items In Store related action [identifier=21]. Details: No process parameter found corresponding to override [name=pv!item]. Non-parameter process variables cannot be overridden. Any help?
Hi, Does someone know the difference among Service-Backed Record, Process-Backed Record and Entity-Backed Record? and the definition of them. I'll appreciate it if you would like to answer my question. Thanks! [emoticon:c4563cd7d5574777a71c318021cbbcc8]
Hi, I am trying to compare two dates one is stored in DB (lets call it dbValue) and another one is from now ( ). Now, where I have : dbValue: 10/02/2021 09:00 AM now: 10/1/2021 9:18 AM EDT dbValue<now it gives me true dbValue: 09/30/2021 09:00 AM now: 10/1/2021 9:18 AM EDT dbValue<now it again gives me true Not sure what's the issue, please help me.
What is the use of Foreign key while creating a CDT in Appian? Please give a brief understanding on the same with an example.
Hi Everyone, I have created an interface which have grid rows. The fileds are populated from two tables, so I have created a view for that. What I need to implement that if a record is entered into one table, the corresponding fields from other table needs to be updated. Can anyone please suggest any solution for this? Thank You
So i have a page I just want one group to see, in the visibility expression of the "add page" i have: a!isUserMemberOfGroup( username: loggedInUser(), groups: a!groupsByName("AS Buyers")) but i can't see the page anyways any help?
So I'm using an interface with multiple tabs co-depending on one another, but when i make changes in one, in order to see the changes I need to refresh my browser, is there any way possible to update those variables without refreshing the browser? for instance i have a local variable that receives data from a CDT and in another tab I delete a row from my CDT but if I don't refresh the page, that row is still displaying. Any help?
How do we selet or deselect a checkbox using Selenium Appian I have already tried methods like fixtures.populatefieldwith etc. can anyone direct me to the appropriate method/usage withAppian Selenium framework?
Can anyone give me some examples on how to implement this in my interface save into button? is it a!deleteFromDataStoreEntities("Name of CDT","local variable where i have all the information i want to delete")? I've seen the documentation but isn't clear enough and has no examples.
Hi I am using Appian Selenium framework where it uses Labels to identify an element for ex: for clicking something I use this code fixture.clickOnMenu or fixture.clickOnButton etc However, I have a Comments field (Paragraph widget). Not sure how to go about adding data to comments field FYI, I have already tried fixture.WriteText but it failed to identify comments field
Hi! So i just created a local variable and i want to imput diferent types of data in there, but the default data type from the local variable its type text, then when i a!save items into there i get this error: Interface Definition: Expression evaluation error [evaluation ID = 6ef8d:9e3c3] : An error occurred while executing a save: Expression evaluation error at function 'append' [line 446]: java.lang.Integer cannot be cast to java.lang.String I think if i can change the data types of the local variable dictionary I can go arround the error, any help?
I've posted a previous discussion but still no response, while I wait I am trying a different approach, im trying to input values into a writetodatastoreentity and i get this error: Interface Definition: Expression evaluation error: An error occurred while executing a smart service: An error occurred while trying to write to the entity "cart" [id=7626554b-fee0-459d-b2d8-732f6e1bc7f5@3179, type=AS_Cart_DataBase (id=3784)] (data store: AS Data Store). Details: java.lang.IllegalArgumentException: The list of records to be saved must not be null or empty: TypedValue[it=3785,v={}] Data: TypedValue[it=3785,v={}] I'm typing an a!save into the button saveinto I have 3 values and 2 0 like this: saveInto: a!writeToDataStoreEntity(cons!AS_DataStore_Cart_Pointer,{local!info.name,local!info.quantity,local!info.price,0,0}) am I doint something wrong?
HI! So i am trying to get an average rating from my database and insert it in a foreach so i can display the average rate for all the items that are populated using the same foreach. Here is part of the code: ), a!forEach( items: local!filtered, expression: a!localVariables( local!queryrating: rule!AS_Get_Rating(fv!item.id), local!ratestar: local!queryrating.rating_average, a!boxLayout( label: "", but i get this error: Interface Definition: Expression evaluation error at function a!forEach [line 63]: Error in a!forEach() expression during iteration 2: Expression evaluation error: Invalid index: Cannot index property 'rating_average' of type String into type List of Variant which is weird because "rating_average" is of type number, any help?
Hi, when I am configuring the record type I am facing this error,can anyone help me to solve this error. I searched in my data store and Db and varied twice still facing this error
I have list of value, how to add lists of variables to back end of database, click one button, add or update many rows.
Hi,I'm working with the following task,I have table(table1) has a one to many relationship with table2. In my view, I have my 1st table(table1). Eg: CustomerName column in table1. When I click on that, I should get the rows of orders in table2 with same CustomerName.What are our suggestions for completing this task? Eg: In Order fullfilment app, When we click on a customer's name, we'll be able to see all of their orders.
a!queryEntity( entity: cons!AS_DataStore_Ratings_Pointer, query: a!query( aggregation: a!queryAggregation( aggregationColumns: { a!queryAggregationColumn( field: "productId", isGrouping: true ), a!queryAggregationColumn( field: "rating", alias: "rating_average", aggregationFunction: "AVG" ) } ), logicalExpression: a!queryLogicalExpression( operator: "AND", filters: { a!queryFilter( field: "productId", operator: "=", value: ri!productId ) }, ignoreFiltersWithEmptyValues: true ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 50 ) ), fetchTotalCount: false ).data Hi! so i have this query which return the average of a value from an ID, but not all items have rating and when i. use it in a foreach i get this error: Interface Definition: Expression evaluation error at functio
Hi, I'm new to Appian. I'm trying to explore order fulfillment app. In the customer's tab, when we click on the customer details we get the related sales order details. I'm trying to do the same but cannot map in table form. Could you please guide me through the steps.
Hi everyone, Can anyone please guide me how to merge columns in a grid layout as shown below:
Hi Everyone, I need to update multiple tables through the update button in interface. Can anyone please guide me how can I achieve it. If possible, please share any example to implement this. Many Thanks!
if(isnull(or(ri!a,ri!b)),{},a!forEach( items:rule!KONE_Development_CSE_TENDER_PHASES_Search_Rule(ri!a), expression:a!localVariables( local!csetenderphases:fv!item, a!forEach( items:rule!KONE_Development_CSE_TENDER_Search_Rule(local!csetenderphases.tenderId), expression: if(local!csetenderphases.tenderId=fv!item.id, if(or(fv!item.statusId="3",fv!item.statusId="4"),{},{ a!update(data:local!csetenderphases,index:"user",value:ri!b) }) ,{}) ) ) ).list.user ) As title, i need transfer all value to be correct form to be saved thank you all
As title, there are two difference from java or python with appian, one is there is not under_score marks for a list, such as list[0], the a!forEach seems can't apply with number, such as for(i=1,i<100,i++), also there seems a!save(target:) can only save into one row of value, if I want to update a list, how should I do other than process model, thank you.
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.