-
Recently active
The multidropdown field now has the ability to search for specific items within the list of options. I noticed it's quite fast at finding what I'm looking for even with a list of 1000+ items. I would like to know how the search it's being implemented to achieve this level of performance. The reason why I'm asking is because I would like to try to implement it inside a custom picker if possible. The implementation I have is the same provided by Appian with a foreach loop and checking every item against the provided search. However this stalls with large amounts of data. I know I can just replace the picker with the dropdown since it does the search for me and I have done that. But I would still like to know if there is a way to have that nice search inside the picker for future reference. Thanks in advance.
I have stored data in so many rows for same date in editable grid. Now I am trying to display this data as read only grid in another interface row-wise. But I am getting data of only one row and not all the rows. The code related is inserted below: a!localVariables( local!newGridRow: 'type!{urn:com:appian:types}Monitoring_Roster'(), local!addRow:'type!{urn:com:appian:types}Monitoring_Roster'(), { { a!gridLayout( label: "Monitoring Roster for: "& text(ri!monitoringDate,"dddd") & " " & ri!monitoringDate, labelPosition: "ABOVE", headerCells: { a!gridLayoutHeaderCell( label: "Monitoring Slot" ), a!gridLayoutHeaderCell( label: "Monitoring In Charge" ), a!gridLayoutHeaderCell( label: "Comments" ) }, columnConfigs: { a!gridLayoutColumnConfig( width: "DISTRIBUTE" ) }, rows: { a!forEach( items: local!newGridRow, expression: { a!gridRowLayout( contents: { a!textField( label: "Monitoring Slot", labelPosition: "ABOVE", placeholder: "--- Select a Value ---", choiceLabels: cons!Testing_TIME
Hello, I have created one CDT and it's first column is auto generated primary key and the same CDT is used to store the column values of the editable grid. I have used the below code: Here "Slot Id" is primary key of CDT stored in the newGridRow local variable. I don't want to display this primary key column as editable grid column but want to store the value of this primary key along with the remaining editable grid columns in the database table. I have Write to Datastore Entity smart service. It is adding the new row to the database table with auto incremented primary key but not adding the values of other columns of editable grid in the table. Please help me.
Requirement: Sore uploaded docx ids array in DB column and get array to display uploaded list on UI. 1.Upload Multiple doc and get all docs array ids in local or ri variables, how to achieve? <-- 2.Is this correct approach to store multiple docx ids as array in DB column and retrieve from DB Using Appian documentation i was able to download multiple document from an array of {docid1,docid2,docid3} 3.How to convert? from Appian multi upload stores i.e. {fn!todocument(6645),fn!todocument(7570)} to expected {6645,7570} <-- 4.How to store/retrieve this docid array in DB ? how to design DB with integer array? 5.May be I am wrong in above approach please let me know best approach to achieve above?
Hi All, For day to day issues and and severe issues in Appian which logs are frequently visited or looked upon? Could someone tell me the names and locations of the same with details information on the important logs? Thanks Faisal
Hi, Am getting this error:" : An error occurred while executing a save: Expression evaluation error : Attempted to run a second smart service, but only one smart service can be run per expression evaluation". Can someone help out how to sort this out. I have read other documentation it was asked to use another smart service in Process Model, but in my case there is only one process Model and the interface has been called in Start process ...so basically how to use. I hve attached the code. Thanks saveInto: { rule!Abc( cdt_Abc: local!cdt_Xyz ), a!save(local!viewButtonAction, "VIEW"), a!startProcess( processModel: cons!APPIAN_PROCESS_MODEL_MAIL, processParameters: { Notes: ri!Notes, sendTo: local!sendTo, }, on
We have initiated a process model by email and we get an error when the expression runs, the error says we dont have enough privileges.While looking at the executions, we see that the process model was executed by the user "GUEST".How can we solve the error?
Hi, Using FitNesse, I want click records actions "Create New Job" I am trying to click on the Related Action using "Click on link" and "click on record related action "but it doesn't work. Any suggestion? Thanks,
hi Team We would like to embed Bing in APPIAN. Let me know the way to do it. Thanks Arundhati
Hi, I have a CDT based on a view I built on the Appian MariaDB database.An expression rule (say, rule!GetAllData) pulls from the corresponding DSE through a simple queryEntity, retrieving all results.In an interface, I have a local variable defined as the rule result:local!data: rule!GetAllData()I also have a refresh button, with a dynamic link supposed to refresh the content of the variable, viaa!save(local!data, rule!GetAllData()) The weirdest problem happens: when clicking the link, nothing changes. Appian seems to somehow cache the results of the rule. Note that the records in the query differ between refreshes, so Appian maintains cached records that do not exist in the view anymore!I have verified this from the interface designer, inspecting the value of local!data.Even this does not solve the problem:{ a!save(local!data, null), a!save(local!data, rule!GetAllData())}Even if I comment out the second line, click the link, verify that local!data is set to null, decomment
Hi, I am calling a startprocess smartservcie on submit button click in my interface. and i have set the submit as true for that button. So here before getting the response from smart service, interface is moving to next node in the process model. I want to get the response and based on response need to validate the interface. If no issues, then need to move to next node in the process model. Process model is starting asynchronously so i think whatever i am performing in onSuccess of srtartProcess, is not happening before submitting the interface. Any suggestions on this please.
I need to create a Unique ID in View which is not available in Table. I searched many places but all told to use row_number. Even though i tried but its throwing an error: Have used this SELECT Row_number() OVER(ORDER BY `locationName`) AS `RID`, Note: `locationName` is available as column and have used in the view that have created Can someone help out with workable code
In DB i have table with columns firstnam,emailid and lastname data, I want to show in Dropdown firstanam,lastname and after selecting dropdown value want to query same table to get emailid Step 1: get firstname and lastname to concate and store in array for dropdown purpose local!fn:{index(rule!PTS_QueryUsers(local!selectedDept),"firstName",{})}, local!ls:{index(rule!PTS_QueryUsers(local!selectedDept),"lastName",{})}, local!user:if(isnull(local!selectedDept),{},union(apply(fn!concatenate, merge(local!fn, local!ls)),apply(fn!concatenate, merge(local!fn, local!ls)))), Step 2: Show firstname and lastname to concate and store in array for dropdown purpose a!dropdownField( label: "Assigned Name", labelPosition: "ADJACENT", placeHolder: "Select User", choiceLabels: a!forEach( items: local!user, --> FirstNam,LastName expression: fv!item ), choiceValues: a!forEach( items: local!user, --> FirstNam,LastName expressio
Hi Team, I am getting list of user or groups from a ER like below Now I want to convert this User object to username/name or email. Or easy language I want to fetch user details from this object Please help me I tried user() but it gives parameter error maybe user() accepts username not user Please Help
Hello, I have a requirement where i need to show a pop up warning message when user accidentally clicks on Summary tab when actually they are in Related Actions tab performing some operation (e.g. updating).
How do you check if variable is a list? Assuming that the variable is a local variable
For my service integration, i have to send the request in json format. I am converting my nested CDT into json format by using a!tojson function. Here the issue is my service has some optional input parameters and when i am passing null for those parameters, a!tojson is converting them to "" (double quotes). My service is not accepting the "", i should pass Null. a!toJson( 'type!{urn:com:appian:types}_testCDT'( name: "ram", age: Null, place: "" )) json looks like : { "sampleName" : "Test", "Organization" : { "Name" : "TestName", "Branch" : "" } } here Branch value should be Null instead of "". Thanks in advance.
Which version for BPMN Appian use?
Im trying to write a expression rule where there are two ri variables , one ri variable has type list of users and other ri variable is of type list of numbers. something like below ri!users: {"abc","def"} ri!numbers: {1,2,3,4,5,6,7} i have a use case where i should need to receive list of dictionary in below format { user:"abc", number:1 }, { user:"def", number:2 }, { user:"abc", number:3 }, { user:"def", number:4 }, { user:"abc", number:5 }, { user:"def", number:6 } . . . etc
Hello community, I have the following scenario, I have a array of student details. It has fields like student id, subject id, question paper id. I want to group by subject id and update the question paper id in the array. Given Array 1: {student id: 100, subject id: "S1", question paper id: }, {student id: 200, subject id: "S2", question paper id: }, {student id: 300, subject id: "S1", question paper id: }, {student id: 400, subject id: "S2", question paper id: } {student id: 300, subject id: "S1", question paper id: }, {student id: 300, subject id: "S3", question paper id: }, Array 2: {Q1,Q2,Q3} Array 3 : { S1,S2,S3} Expected Output: {student id: 100, subject id: "S1", question paper id: "Q1"}, {student id: 200, subject id: "S2", question paper id: "Q2"}, {student id: 300, subject id: "S1", question
Hi, I am getting date and time in date field from data base. I am able to convert it to time using datetime(). I am using a!exportDataStoreEntityToCsv() to download the csv file but the issue is am not getting expected output. but when i place the cursor on that cell in csv file then am able to see the correct time. My requirement is that time should be displayed correctly without putting the cursor on that cell. Can someone help. Thanks.
Hi Everyone, I need help on the below issue : We have a dependency between two screens, so in the first screen we enter an XYZ fields and save it and depending on the Role what we select in the second screen we get the XYZ fields of first screen what we entered and then save it. The problem here is , after saving it, when we navigate to the first screen, XYZ fields values are not displaying. It will display after refreshing it or if we wait for few secs. Kindly let me know is there any way we can display without refreshing or reloading the page.
Let's say I have the following query where the data is being filter based on siteIds local!estimations: rule!EEP_QE_getEstimations( statusId: cons!EEP_VAL_STATUS_ACTIVE, columns: {"site_id_fk", "status_id_fk", "estimation_business_id", "id_pk"}, siteIds: local!selectedSite ).data Now, I'm saving local!selectedSite using a dropdown menu a!dropdownField( label: "Site", labelPosition: "ABOVE", placeholder: "--- Select a Value ---", choiceLabels: local!sites.name, choiceValues: local!sites.site_id, value: local!selectedSite, saveInto: local!selectedSite, searchDisplay: "AUTO" ) the value of local!selectedSite is null at the start so everything is queried, as expected. If I select a value from the dropdown the data is filtered accordingly. But when I select a value and then I select the placeholder, the query does not return any values.
I have a need to add a confirmation link for the email recipient to be able to click to confirm information in the email. Has anyone done something like this?
how to edit groups in group picker which are stored in database as groupids with a related action from a form
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.