-
Recently active
How to update a single field for a record? Any idea! Reference Link :: Update existing data
Hi Experts, Currently I'm working on an Enhancement Project where in the legacy Application we were using CLOB field to store comments. Since CLOB is not available in MariaDb as a dataType what would be the recommended datatype to use in New System.The max number of chars that we have for one of the such comment is 21499 chars. What all will be the pros n cons of using VARCHAR(21499) vs BLOB datatype, and also if makes any impact on the performance of the record and UI using the comment table. Thanks, Gaurav Singh
Hi Team, Got confused while doing some calculations in Appain Expression rule. Added input and output below. i have tried fn!union() function but it was failing sine input was only one array. Code: fn!union({ 1, 2, 2, 1, 3, 1, null, null }, {}) Sample i/p -> { 1, 2, 2, 1, 3, 1, null, null} Expected o/p -> { 1, 2, 3} Current Appian Design: Thanks and Regards, Vigneshkumar Radhakrishnan
Here in this image the expression should only return seatno and gender field without pid. Can anyone please help me with this?
Following normal database best practices we typically store id fields in our main data tables and then link those id fields to reference data tables when we want to display the reference data values (e.g. status values such as 'Received', 'In Progress', 'Pended', 'Abandoned', 'Completed', etc.). With the new record and relationship functionality it is easy to display the textual status values rather than the id value on the record list and record summary. But, if we need to export the data, including the textual values, to a CSV file for ingestion by an MI tool we can't currently export from a record to a csv file programmatically (our export for MI would typically be a scheduled process running once a day, outside of standard business hours). We could create a database view to pull together the data and structure it for the MI extract but the documentation for the Export Data Store Entity to CSV smart service states 'Because database vie
Hi Everyone, I am new to Appian and still learning basics. While updating a record, I am getting Data sync error. But if I do manual sync, record is getting updated. What should I do for automatic sync instead of doing it manually after updating a record? I am not using CDTs or DSE.
Hello Community,I need to upgrade a table where there are more than 1 million rows available, I want to know can this operation be performed at Appian end, I am thinking of retrieving the data in batches of 5000, that batch needs to go through encryption/decryption function. Since this processing needs to be done at Appian end, so cant use Stored Procedures for this. Will Appian be able to handle such load ?Any suggestions will be helpful ?Thanks in advance.
Hi there. I have used write records smart service in my process model and I have configured both input and output nodes. But I'm unable to capture records updated into a variable in write records.
Hi, I have an API that has an output that looks like below. can anyone suggest to me how to add data to the database without changing any output from the API?
Hello Everyone, How can I set current schema to a particular schema/database in phpmyAdmin to ensure I execute queries on tables within that schema only. I tried with USE <Schema_Name> . This is not working. Regards, SG
Hi Team, Is it possible to run SQL(sql is like - select and some condition between 5 tables in cloud database) in expression rule as array values-> to execute other expressions rule in unnamed rule. If possible, please share some example let assume I'm currently queried data using sql and takes the one of the columns and adding into my custom unnamed rule input. Problem is that its take more time. If its possible to queries the data using same sql statement as one of the parameters that will save my time eg: a!localvariables(local!result,a!queryRecord(sql: "SELECT id FROM table1 t1 JOIN table2 t2 ON t1.id = t2.id JOIN table3 t3 ON t2.id = t3.id JOIN table4 t4 ON t3.id = t4.id JOIN table5 t5 ON t4.id = t5.id WHERE t1.column1 = :value1 AND t2.column2 = :value2",parameters: a!queryRecordParameters(value1: "some value",value2: "another value"),fetchSize: -1)); so i assume if that local!result contains the same id which i rune
Hi All, I have created record from a view. By default filtered to bring only data which is active and in "Edit List" I configured columns and set "rows to display" as 50. Am getting below error message . But when i change the "rows to display" equal to or less than 33, error is not popping up. Can anyone suggest why this is happening? Thanks in advance
Dear all, I'm facing an issue regarding the full sync of a RecordType via Smart Service, which contains a field with Unique constraint This is what I'm trying to implement: First, a large amount of data (several thousand rows) is uploaded to my database table. In that process, first the old data in the database is deleted, because appending the new data would violate the Unique constraint. After the new data is in my database table, I want to do a full sync on my RecordType The problem is, the sync via Smart Service results in an error due to a violation of a Unique constraint. The source data does NOT violate this constraint. I'm pretty sure the issue is that Appian still holds the old data in the RecordType. So when trying to sync the new data, Appian compares old and new data with the same Unique field, which results in the error. This error does NOT happen when triggering a full sync manually. I guess to make my approach (syncing via batches and Smart Service) possib
So, I have a relationship between these record types. I'm trying to put the value of the record type's data field into a value and saveInto parameters. It just doesn't work on the integer fields, only successfully on the text fields. I'd appreciate any feedback regarding this. The field is correctly an integer, as is the data type in the record field. recordType!ASK Request Item.relationships.dsSNR.fields.serialNumberQuantity a!columnsLayout( columns: { a!columnLayout( contents: { a!dateField( label: cons!ASK_TEXT_LABEL_NEED_BY, labelPosition: "JUSTIFIED", value: ri!request.needByDate, saveInto: ri!request.needByDate, required: true, validations: { if( today() > ri!request.needByDate, cons!ASK_TEXT_VAL_INVALID_DATE, ""
I'm using a record type in my grid column and need to keep a few columns as sort fields. I was curious as to whether the sortField columns impact the performance of the record type?
Hello readers, We have a previous record view, when accessing these records we want to show the records corresponding to that id in the read only grid, but instead all the records in the table are being shown For example, the airline Iberia, has a related contact But when I enter the summary, in the read-only table, it shows me all the airlines and the contacts of each one in the DATA attribute of the record type I am using the airline record
I have a related sync record One to Many - Request and Watchers. I am trying to query data from Request record but filter the data so only those requests for which the watcher is the one provided in filter is there as well as isActive should be true. But the response i am getting back is weird. Please have a look at the attached screen for rule as well as the data. It's returning data which doesn't seem to satisfy filter criteria. Am i missing something? please suggest. a!queryRecordType( recordType: 'recordType!{5c74086c-d578-4cb3-bcc9-462eac05e87d}CLM Request', filters: { a!queryFilter( field: 'recordType!{5c74086c-d578-4cb3-bcc9-462eac05e87d}CLM Request.relationships.{456939a6-4ebb-43c0-9f2a-89523af6a1f1}clmRequestWatcher.fields.{72eced9d-9111-4afa-9a19-ec3dbb59e196}isActive', operator: "=", value: false() ), a!queryFilter( field: 'recordType!{5c74086c-d578-4cb3-bcc9-462eac05e87d}CLM Request.relationships.{456939a6-4ebb-43c0-9f2a-8952
I have a usecase where I need to export grid data to Excel but here we need to export not only data but also the same format of each column value that we see on grid. For example we have one of the column Revenue in which we have data as $ 123,233,000 this needs to be exported to Excel in the same way and also apart from that data in Excel should show in number format with the formatting of above example so users can do some manipulations on that data like summing up the revenues. Data on that grid is coming for a stored proc.
This query is simple enoughtselect noteId , miscMattersMainId , createdOn, createdBy , note from PLSM_note Those are the only fields in the table and only two records in PLSM_note, This is being executed against the pre-defined data source that comes with Appian with almost no load on the server.For reference, when I run this same query in the loud Database/MyPHPAdmin I get Showing rows 0 - 2 (3 total, Query took 0.0003 seconds.)So what's going on as it's taking more than five minutes to complete the execution?
hi Community, i have a use case for creating 4 dynamic user filters whose data source is record type itself .now the challenge is that all the filters should be configured in such a way that if one filter has a selected value the other three filters should display data based on the first selected filter value please suggest a possible way to do it
Hi, I am trying to make use of record type in my application since we have a requirement to display the data in a list and take action for each row or view each row in a dialog box. My Business case is like i would receive a json file as input to my process model and i am using a CDT to map the fields of the input json. It consists of various segments and each segment is a list of values which is supposed to be displayed in appian interface to the clerk and take action on each segment rows. Kindly suggest an approach so that i can start building my application. As i read through the record type and its example implementation i predict it will meet my requirement. The only hurdle i am facing is when configuring recordtype source if i use process model all the active instances of the process model are getting mapped as list rather i want to have only the particular instance in current context's PV which is having list of records to be formed as list and as data source.Kindly sugges
Hi, I am facing one challenge w.r.t CDT data. I am passing a CDT from process model to interface and mapping CDT data to interface and displaying to the user. User updates the data in interface and CDT gets updated in interface. When we do hard browser refresh the saved values of CDT are getting cleared. Suggest a way apart from save draft option available in task form to save values of the CDT in interface or process model.
Hi, I am creating an application in Spanish and when creating a User Filter for a Record Type of type Date Range I have the problem that the date selection calendars are in English and I want them in Spanish, is there any way to change it?
How to conditionally show or hide a column on a record list based on a selection of a user filter value. Here in this scenario we are using record type object directly on site. Is there a way where we can capture the selected user filter value from a record list.
Hi All, Here is my query. I have DB TABLE with column A, column B, column C. Please help me to convert below SQL query in to Appian Query Entity. Select * from TABLE where column A = column B; DSE Constant : cons!TEST_DSE_TABLE CDT fields are : columnsA,columnB,columnsC Thanks in Advance.
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.