-
Recently active
Hello, I am trying to train IDP on some documents which are like Forms. Some of the forms fields are checkboxes and I need to read (extract) which checkbox was selected. Is there a way to achieve this? Thanks,
Hi, community. I want to use "Appian IDP" with position specification. for example. I want to get the value of each colored part in the figure below.(This format is fixed and does not change.) This color "Area ■" is "Name Area". I want to get it like {name:"Nihon Taro"} I want to associate like "Area ■"="Name", "Area ■"="Post Code" and "Area ■"="Address". if "Appian IDP" can use with position specification, it is as good as solved. Can't you do something like that with an IDP? Please tell me how if you know. Regards!
Input map local!inputMap:{ a!map(pagenum: 1,fieldname: "Name", fieldValue:"Appian",docid:1), a!map(pagenum: 1,fieldname: "howold", fieldValue:15, docid:1), a!map(pagenum: 1,fieldname: "Name", fieldValue:"VB",docid:1), a!map(pagenum: 1,fieldname: "howold", fieldValue:12, docid:1), a!map(pagenum: 2,fieldname: "Name", fieldValue:"Java",docid:1), a!map(pagenum: 2,fieldname: "howold", fieldValue:25, docid:1), a!map(pagenum: 1,fieldname: "Name", fieldValue:"COBOL",docid:2), a!map(pagenum: 1,fieldname: "howold", fieldValue:45, docid:2), a!map(pagenum: 2,fieldname: "Name", fieldValue:"PL1",docid:2), a!map(pagenum: 2,fieldname: "howold", fieldValue:55, docid:2)}, Desired output map local!outputMap :{ a!map(pagenum: 1 , Name: "Appian", howold: 15, docid:1), a!map(pagenum: 1 , Name: "VB", howold: 12, docid:1), a!map(pagenum: 2 ,
Hello, i have a list of maps, how do you add new map value? and how do you update an index of repective value map? this is the rule code (but it do not work): ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ a!localVariables( local!campos: a!forEach( items: ri!map, expression: fv!item.sistema = ri!sistema ), local!indice: where(local!campos,-1), local!resultado:if( local!indice > 0, if( a!isNullOrEmpty(ri!permiso), remove(ri!map,local!indice), /*update value in list*/ a!update(ri!map,local!indice,a!map(sistema: ri!sistema,permiso:ri!permiso)) ), /*add map to list*/ a!update(ri!map,length(ri!map)+1,a!map(sistema: ri!sistema,permiso:ri!permiso)) ), local!resultado) -----------------------------------------------------------------------------------------------------------------------------------
Hi , I have a list of dictionaries with date ranges(refer below screenshot) i need validation that if i give a date and if the given date is overlapped with any of the dates(start and end date) i should get a validation. for example; start date : 05/10/2023 end date : 05/15/2023 i'm comapring the given date in this date range for each dictionary for that it is working fine but if i select date between 05/09/2023 and 05/16/2023 i should get validation that is not working,and there are many dictionaries like this. Cany anyone help me how to do this?
Hi, I want to show 'No URL' where url is not available ("") for any party. But that needs an indexing. This is for one party. If we want to do it for multiple parties, Can someone please suggest how can I do the index to get the actual result
I have a Matters dropdown and a Sub Matters dropdown that get their options from related tables. I want to make the choices in the Sub Matters dropdown dependent on the the selection in the Matters table. I know there needs to be a Query in the following expression section somewhere, however I am still trying to learn Appian and was hoping someone help me with the query and where to insert it..
Hi All, Is there any function that returns the last date of the current year Thanks in Advance
starting number is 100 & ending number is 200, I need all numbers that contains 5
Hi,In A Bar Chart, Can we display Tooltip value in for example in 1D 1H 1M 1S. Suppose we are getting data in floating 176.5439, and we need to display in 176D 13H 3M 13S. I have converted the value, but a!chartSeries says a!chartSeries accepts only Number (Floating Point) data (List of Number (Floating Point)): Array of decimal data values to display in a chart.
I need to get the admin group in an specific app where the app name is going to be a rule input. Any suggestion? is there anyway to achive it?
Hi All, To display wait time which is waiting for more than a day. We are converting createdDate(date time format) in days and hours. Now, ask is to display the WAIT TIME only when it is more than 1D 0H.But, queryFilter field is createdDate(date time format). In that case how can we display this.Query Filter which I'm using at present (I know it's not correct), could anyone help me in getting this expression correct.
Hi , I am getting below error the attached code when there I don't pass value for ri!gLLs. Can someone please help in resolving this. "Expression evaluation error at function 'remove' [line 67]: Invalid index (0) for list: valid range is empty" a!localVariables( /* Appending logged in user with GLLS from LUContacts if logged in user is GLL */ local!isLoggedInUserGLL: rule!APN_distinct( if( rule!APN_isEmpty(ri!gLLs), {}, if( and( not( contains( touniformstring( index( a!groupMembers( group: cons!RGRACSLBL_GROUP_AGLL, direct: true(), memberType: "USER" ), "data", {} ) ), touniformstring(ri!loggedInUser) ) ), or( contains( touniformstring(
Hello, How can we get value after an operator for the value which we separate using split function. Eg. 249.5832 Using Split for 249.5832, we can get 249 and 5832. But, I want value after split. If I index with 2, it's getting 5832, but I have to use this for a!forEach for the below expression. For below expression, getting the result as in the image local!calP1days: a!forEach( items: local!P1, expression: if( a!isNotNullOrEmpty(fv!item), split(fv!item,"."),{} ) ) , local!calP1days)
Hi, I have a requirement to update a date based on a condition that if the given date is of last 2 dates of that particular month, then I want my rule to return first date of the next month and it should be applicable for all the dates whether the month has 30 or 31 days or if it is February or leap year. For eg: 27/02/2023 should be converted to 01/03/2023. I have written following code for this, but my senior asks me to optimize the code and reduce the use of if conditions. Please tell me what else I can do edit:a!localVariables( local!currentMonth: month(ri!requestDate), local!currentDay: day(ri!requestDate), local!currentYear: year(ri!requestDate), local!isLeapYear: isleapyear(local!currentYear), todate( if( and( tointeger(local!currentMonth) = 2, or(local!isLeapYear), contains( tointeger({ 28, 29 }), tointeger(local!currentDay) ) ), concat( tointeger(local!currentMonth) + 1, "/
I am trying to perform related action for a record but I am facing below issue This issue happens for only particular record where as for other records it is working fine. Any help on this would be appreciated
Hi I am able to extract the document from fillable field in pdf by following the tutorial in forum. I tried to select handwritten notes by holding shift button and select the word but it didn't work for me. Please guide me to get the tutorial available for handwritten notes. Also is there anything which i have to take care for handwritten notes different than the fillable pdf. 1. I tried to select the work by holding the shift button 2. Preferred vendor - Appian Please guide. Thanks in advance
Hello team, i would like to use an expression rule in timer to define the day when a PM will run based on the values in DB. Every month the cut off day for processes is different and its defined in the DB. The expression rule which i call inside the timer is: =rule!ICH_getCutOffDataByFilters( year: year(today()), month: month(today())).day, and it simple calculate the cut off day for current month. But when i publish the PM i am receiving the following error message: ERROR:EVAL:@reason=Expression is invalid (1 token(s) remain after parsing) Any advice please? Thanks
Hi, Im new to using reject function. Now im using the reject function in a process model in a script task In the input : I am calculating a map which looks like this : { id : <>, account : <account_cdt(id, name, hold_code)> } Now in the output tab I want to use reject function to reject all those accounts who have hold codes null ... but then my requirement is that the ID should remain in the output I am using reject function like this : reject( fn!isnull(_), a!forEach( items : ac!map, expression : { id : fv!item.id, holdCodes : index(index(fv!item, "account"), "hold_code") } ) ) Now I know this wont work, but can anyone suggest me how to make it
Hi, I have a requirement to append the values of a particular computation to a local variable using append function The rule goes like this : a!localVariables( local!data : {"x", "y", "z", }, local!finalValues, a!forEach( items: local!data, expression: append( local!finalValues, performSomeComputation(fv!item) ) ) ) now the problem is, the local variable is not getting updated no matter what, I tried using update dictionary as well as insert(local!finalValues, length(local!finalValues) + 1, fv!item) .. but still it wont append .. is there any other method I can use to append values ?
a!localVariables( /* 1 - requestId, 2 - Department, 3 - Sub Department, 4 - Requestor, 5 - Status, 6 - Ship Name, 7 - Task Status */ local!inputList: split(ri!input, "#$"), local!requestId: tointeger(local!inputList[1]), local!deptIdList: tointeger(split(local!inputList[2], "-$-")), local!subDeptIdList: tointeger(split(local!inputList[3], "-$-")), local!requestor: touniformstring(split(local!inputList[4], "-$-")), local!shipId: tointeger(local!inputList[6]), local!statusIdList: touniformstring(split(local!inputList[5], "-$-")), local!taskStatus: toboolean(local!inputList[7]), local!result: a!flatten( a!forEach( items: enumerate(5), expression: a!localVariables( local!batchSize: 2000, local!startIndex: if( tointeger(fv!index) = 1, 1, 1 + ((fv!index - 1) * local!batchSize) ), /*rule!BUS_QE_getBUSReqViewDetails, BUS_QE_getBUSReqVWDtlsTest*/ rule!BUS_QE_getBUSReqVWDtlsTest( fetchtotalcount: t
I have CDT with following fields While using a!toJson , it is EXCLUDING fields which are having NULL values except fields with TEXT datatype. Expresion: - a!localVariables( local!data: 'type!{urn:com:appian:types:RS}RS_dummyCDT'(id: 1, name: "abc"), a!toJson(local!data)) Result: Note: If I use parameter removeNullOrEmptyFields as true, it also excluding text fields which are null a!localVariables( local!data: 'type!{urn:com:appian:types:RS}RS_dummyCDT'(id: 1, name: "abc"), a!toJson( value: local!data, removeNullOrEmptyFields: true )) Result: While using a!toJson_17r1, it is returning all the fields of the CDT irrespective of NULL values. Expression: a!localVariables( local!data: 'type!{urn:com:appian:types:RS}RS_dummyCDT'(id: 1, name: "abc"), a!toJson_17r1(local!data )) Result: I want to get the data the way we are getting result while using a!toJson_17r1. i.e. I want to get all the fie
Hi Everyone, I am returning a cursor from Oracle SP, When using new executeStoredProcedureForQuery, i am getting "Invalid Column Type:2012" error. can see in "Appian Community", Updating ojdbc8.jar solved error, Please advise whether we can follow this solution for our Project.
Hello folks, in my current solution i use an expression rule which queries a View in DB and returns the data based on filter. The Contract Number is an array of Text type, so far as operator i used "in" which worked perfectly even with multiple values. Now there is a new requirement from the business that instead of using exact values they want to have something like contains ("includes" or "start with"). It works if i change the type from array to single value, but not working with array. Is there any way how to make this work even for array? I am getting the following error message while using array: a!queryEntity_22r2( fetchTotalCount: TRUE, entity: cons!ICH_ENTITY_ICH_V_ContractReferenceData, query: a!query( selection: if( rule!GBL_isBlankOrEmpty(ri!fields), null, a!querySelection( columns: a!forEach( items: ri!fields, expression: a!queryColumn(field: fv!item) ) ) ), logi
Hi All, I am working on the Appian IDP application. I have trained it on some single-page documents, and it is perfectly working for single-page documents. Now, I have a document that consists of some text fields and a table. The table is starting from page 1 and going up to page 2, but for this document only the single page is getting extraction for the table. I am not able to select the table details from the next page. Can someone else also face this problem, and do we have any solutions for it? 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.