-
Recently active
Hello , I am not clear in which case it is more advantageous to use queryrecord instead of queryentity, I understand that the greatest benefit is when I have many related records, but if what I want is to make functions of a single entity with several calculations to later use in the processes, which is better ?
I'm trying to manually create a related action for a record type (the auto generator didn't work). I need to create an expression rule that returns an individual record based on the record ID (according to the documentation), but there doesn't seem to be any documentation on how to actually do this. I've posted what I have currently that is not working, could someone let me know what I'm doing wrong? Thanks in advance! Expression rule: a!queryRecordType( recordType: 'recordType!{5e8d63c0-430d-4636-9dfe-e5e4c67aefc5}SH survey data', fields: {}, pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 1 ) ).data[ri!identifier] Context field in Related Acton configuration: { record: rule!SH_getSurveyRecordById(rv!identifier) /* SH survey data */ }
Hi Experts, Is there any restriction in Appian on a service account with read-only access on Oracle database, to not be able to create the CDTs using those table. In my current application I have been provided with credentials for the account which has only view access for the tables. I have configured the connected system with provided credentials. But when I'm trying to create CDT's I can only find the Schema Name but not the underlying Tables. Please suggest.
Hi, We have a database table where data gets dumped in a regular interval by a ETL job. We are using database Backed record with synced functionalities. Now, we need to sync/import newly inserted data to record in a regular interval, but FULL SYNC cannot be done automatically (more than once a day). Is there any way to get those new data in Record?
Getting Below error while retrieving Data. Expression evaluation error at function a!queryEntity_18r3 [line 4]: An error occurred while retrieving the data. Details: Unexpected error executing query (type: [VIEWDT6164], query: [queryentity expression], order by: [[Sort[eventType asc]]], filters:[null])
I'm facing the following error when attempting to create a datatype. This pops up whenever I select the data source, regardless of the selection. I did not show the expression fully because it is incredibly large. The application has just been created, with only one empty data store and some interfaces. What could've caused this? Is it a system error? Does it have any solution?
Hi, Is there any way I can get the size (number of rows) of a view by running a code in Expression Rule? In addition, Is there any way I can write SQL queries directly in Expression Rule? Thanks in advance
Background: customer wants more fields to be shown in their record so that the Excel download would include them. One of those fields is 'country', which the CDT saves as an integer value which is matched with a country list in the cloud database (i.e. a value of 1 would be Afghanistan). To display the country properly in the record, I use one of our rules that fetches a datasubset containing the countries and then matches the country Id with the datasubset. It returns a text containing the country name in the user language and display correctly in the Record. However, what's odd is that when I download the Excel, for every record entry that has a value for country it will only display the name of the 1st Id that was matched. That means if the 1st entry is Germany, all subsequent entries will also be Germany although showing correctly in the online record. Has anyone experienced this before? What's the best approach to fix this? Thanks in advance for any help!
Hi All, Is there any way to know how many users have logged into APPIAN in a point in time from the Appian cloud database(MariaDB). Regards, Arun Kondi
Hi All, I have designed service back records and having some related actions added on it. Having this, i am using new component record action(a!recordActionField) on form to perform some actions. E.g: Record A Record B My design : 1. I have interface designed and called on records summary on 'Record A'. 2. In Interface one of the section, i am calling actions of 'Record B' with record action component(a!recordActionField). 3. Now, problem Statement- every time i refresh summary tab/view, call goes to source integration of 'Record B' by record actions added. It does seems standard behavior of ser
Hello guys, in my database ICH_Contracts i have information about my master contract saved in several attributes. In my process model this is saved as a porcess variable: contracts = [startYear=2023, startMonth=1, noOfOccurences=5, isCancelled=N, frequency=FRQ1, active=Y, createdOn=12/1/2022 4:15 PM, createdBy=jmaricl@jci.com, lastUpdateDate=12/1/2022 4:16 PM, lastUpdateBy=jlopeza7, contractType=CTYPE2, contractId=175, contractNumber=FY2300000176] I have a process variable which stores information about the child contract numbers: childcontractsnumber = FY2300000176_1; FY2300000176_2; FY2300000176_3; FY2300000176_4; FY2300000176_5 What i need to achieve is to add these child contract numbers to the contracts DB as new rows, where the contractNumber will be the values from pv!childcontractsnumber and the rest of the attributes will be just copied. So basically extend the contracts pv with these 5 new values. Can you please help me out with this? THanks
Hi We have a data sync enabled Record which uses Database Table as a source. When any data gets updated in the legacy system, We need to sync the updated data in our record. To sync the changed record, in Appian documentation they have suggested to create a web api which includes a!syncRecords() function.1. I wanted know by using a!syncRecords() whether API can sync the changed data by itself? if so, how it will typecast the data into Appian structure?2. If it is not possible, how we can get the updated data and sync the record ? Thanks
Hi I'm trying to use the QUERY DATABASE SMART SERVICE to delete few records from my database tables My query is as follows : DELETE FROM <TABLE_NAME> WHERE ID = <VALUE> Now I want the value to be dynamic. I dont know how to pass on dynamic value. I tried using the process variables, I created node inputs and tried accessing via ac!. But none works Anyone can please help me in getting dynamic values for the query above ?
While querying the Entity whatever the first Start index (startindex:1, Batch Size: 20) mentioning up to that only i was able to get the data. When i am trying to increasing the start index > 1 (startindex:21, Batch Size: 20) getting the below error Errors in Expression: Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data. Details: Unexpected error executing query (type: [COTAAuditRequestRDT14171], query: [queryentity expression], order by: [[Sort[request_id asc]]], filters:[null])
Hi When i am trying to go for 91 to 100th record in grid i was getting an error like below. Kindly suggest on the same Error in Expression: Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!gridField [line 42]: A grid component [label="null"] has an invalid value for "columns". A grid column [label="Customer"] has encountered an error. Expression evaluation error : Invalid index (97) for list: valid range is 1..96
Hi, We have a requirement to fetch some records for a particular filter (service name from DB) and show it on the grid to the user. The issue is we have a large number of records in DB, which are more than 20+ lakhs and goes on increasing. While fetching the data from table I am facing the memory threshold error. I am using batch size as (1,-1), because I need to show all the data in the grid. so, My question is how many records Appian can handle & how many records can be fetched at a time. NOTE: i am not using Record Type, directly fetching it from DB Also can we query more than 20 lakhs record from a record type,
Hi team, i am trying to to create an expression rule for my application where we have a master contract number (already created) and new child contract numbers will be generated based on the number of repetition defined. Example: local!contractmaster="FY2022", (its given, already created) local!repetition=4 Result will be saved in SQL DB on Azure cloud as: FY2022_1, FY2022_2,FY2022_3, FY2022_4. Any help is appreciated. thanks
Hi all, Have you ever encountered an error occurred in executing an Activity Class that goes on saying: "each item within the input "Records" must be a record data type. Received: AS Vehicle". It happens since there is a problem with task "Write Vehicle Record" in the process "New Vehicle:" I am completing Process Modeling 101: Automate Your Business Processes (exercise 10) but used only AX Vehicle (ie Acme exericse app) as a record type in the process model. I mapped the value "=pv!vehicle" for the input of the node and did not use the AS Vehicle (ie Acme Solution app). Any ideas why this happens? Thank you!
Hey, I am creating a service request management application. In that I'm creating a form for the user to fill and submit to raise the requests. Now while submitting the status of the request would be pending and it would be assigned to respective groups of people who would either accept / reject the request. Next while the status is pending, I'm allowing the user to change the details of the request which he / she had raised, so that mistakes in the request if any could be rectified by the user. Now I want to create a validation for it. The validation is, if the user clicks on edit and submits the form without changing any contents of the request, I should show an error message saying "Something needs to be changed in order to submit". Is there any solution to this, as in any way in which I could do this?
Hi, Scenario 1: I am facing time difference when I am make a DB(postgre) entry via Appian. I am trying to upload an excel from Appian UI with date field column. The database field name updt_td And crt_ts has default values assigned as current timestamp. On uploading my excel I am not passing the above two fields in excel. My Appian user is timezone is EST. After writing to table the default value of these 2 columns get updated with difference of 5 hrs. for EX: If I am triggering at 24-11-2022 10:00 EST in database it shows 24-11-2022 3:30. this value is generating by default if we give column as null. Scenario 2: If in a DB column I pass the value as Now function from my process Model, then also I get the time as mentioned above(increased by 5 hrs). Scenario 3: if I normally write an insert query in database then it takes take default value which is correct. In short when i am uploading via Appian it is taking wrong time.
Hi, I am connected to a database via Connected System in Appian and not JDBC. When trying to use the Import CSV to Database v5 node in my process model, I am getting the error: java.lang.reflect.UndeclaredThrowableException I am wondering if you are able to use this node when connecting to a database this way? I have gotten this node to successfully work with a JDBC connection just not when my data source is a Connected System. I am wondering if I am just using the wrong syntax for the data source parameter on the node. I am using the exact name of the datasource I can see when connecting the datastore so basically just the Connected system object name. Hopefully someone can help me on this? Thanks in advance
The data in UI is sorted. Excel's data is not sorted, Is it possible to download data that has been sorted from the records list? and is it possible to take off record name and exported datetime.
hello, while generating a record action in a record type, we have the following error. If we try again many times, finally the action is generated. Can someone give an explanation? Is there some log to consult to understand the problem? Many thanks for your answers. Regards
Hi I Would like to know how we can execute Functions in Postgres from Appian. Can I achieve it by using Execute Stored Procedure Smart Service or a!executeStoredProcedureOnSave. If these doesn't work is there any smart service or function in Appian that I can use to achieve this functionality. Help is Much Appreciated. Thanks, Srikanth
Hi All, I am Unable to do Sorting on Columns in Records Data Source is Webservice (Using an Expression rule to fetch The Data). Sort Column is already added in Grid Section of Record. Also i have Tried initial and Secondary Sort option availble in Record Section . Secondary Sort: { a!sortInfo( field: OneDate ascending: false() ), a!sortInfo( field: twoDate ascending: false() ) } Initial Sort: a!sortInfo(field: dateFieldascending: false()) Its Working only when record Loads for First time For next time when we click on column it is not working. 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.