-
Recently active
i have created a web API to upload a image. the image is storing in the destination location but cannot able to store mapping in DB
I want to upload an image with the POST request and retrieve it from database. How can I do that? 1. To which datatype can we assign the document? 2. How can we convert to image into base64? 3. How can we encode and decode?
Hello, is it possible to have a conditional sort on multiple columns in a query rule? I need to sort the data by modified date and created date columns. Modified date might be null for some rows. Below order by expression gives just what i want when i use it with the SQL query. Is there a way of creating same logic in a query rule? order by case when MODIFIED_DATE is null then CREATED_DATE else MODIFIED_DATE end DESC I tried below code but it didn't help. pagingInfo: a!pagingInfo( startIndex: 1, batchSize: -1, sort: {a!sortInfo(field: "createdDate", ascending: false), a!sortInfo(field: "modifiedDate", ascending: false)} )
hi, for ex, if i enter some date from that date till today how many days? how to count no of days
any()
Hi there, I am new to Google Cloud Document OCR Connected System in Appian. I have created the connected system. just want to use it in the integration. but I dont know what should be put in the two circled fields in attached pic. Do I need to go to google to create a "Google Storage"? or Appian provide these storage? if I need to create myself, anyone can provide information how to do it? and the credential use to create google storage need to match the credential used to create the connected system? regards, L
I have a situation where I need to hold a task for a certain time period. The condition is as follow: 1) If the task is activated before 8.30 AM on a particular day, it should wait till 8.30 AM to be completed. If not , it should take the exception path post 8.30 AM. 2) If the task is activated after 8.30 AM on a particular day, it should wait till 8.30 AM of the next day to be completed. If not , it should take the exception path post 8.30 AM on next day. Can anyone please help us on the above logic?
Hi, I am validating just uploaded document size with below code: if( rule!APN_isBlank(ri!documentId), { fullName: null(), name: null(), ext: null(), size: tointeger(null()) }, a!localVariables( local!value: a!fileUploadField(value: todocument(ri!documentId), target:cons!RMO_FOLDER_ALL_DOCUMENTS, fileNames: fv!file), local!fileDetails: tostring(local!value.contents.value.filename), local!fileName: extract(local!fileDetails, "[name=", ", extension" )[1], local!fileExt: extract(local!fileDetails, "extension=", ", size")[1], local!fileSize: tointeger(extract(local!fileDetails, "size=", "]")[1]), { fullName: local!fileName & if(rule!APN_isBlank(local!fileExt), "", "." & local!fileExt), name: local!fileName, ext: local!fileExt, size: local!fileSize } )) Issue: After clicking on submitting button, document name storing as [name=Document Name, extension=docx, size=3752844] instead of only d
"APPIAN" (TEXT TYPE) --- Should return in "NAIPPA"
Hi, We are using webservicequery() function for calling an SOAP API which is taking more than 90 seconds to retrieve the data, Which is causing Appian to error out due to default 60 seconds socket timeout. So we increased the socket timeout to 180 seconds, After this change Appian doesn’t error out and also doesn’t show response data. I'm not sure but I think the default auto retry at every 60 sec of Appian error handling is causing problems https://docs.appian.com/suite/help/22.1/Automatic_Error_Handling.html#external-error-handling. Does anyone know the root cause of this issue ? Thanks in Advance
Goal: name1, name2, name3 (show and hide comas in between and names if they are selected) Default is N/A if no names are selected What I have tried: if(isnull({pv!process.name1,pv!process.name2,pv!process.name3}), "N/A","") & if(isnull(pv!process.name1), "",", "& pv!process.name1) & if(isnull(pv!process.name2), "", ", "&pv!process.name2) & if(isnull(pv!process.name3), "", ", "&pv!process.name3))
Hi Team, I have a rich text editor in my interface and its value is saved as "text" in DB with all the tags (that includes bullets, colors, background color, highlight etc ). I want to extract only the text part of the data. How can I do this? Like if the value is saved as "<div>Assigned to <em style="color: rgb(0, 71, 178);">XYZ</em></div>" , I only want "Assigned to XYZ". striphtml() function throws error. Appian version 21.1
Goal: John Joe(12/2) Breakdown: Name: John.Joe (User picker) Birthday: (date&time)If no name is selected then present "N/A"What I have tried: =if(isnull(pv!processvariable.name), "N/A", user(pv!processvariable.name,"firstName")& " " & user(pv!processVriable.name,"lastName") & "(" pv!processVariable.birthday &" )" )Problem: Issue with If statement
"Activity Chaining in Process Model" I have 3 User Input tasks which are assigned to different Groups/users. For instance, I enable activity chaining between them . What will happen in that case.
how can we get today date with time instead of now() function.
Hi, i have a picker field when i select some particular users names it has to show validation message else no i have written like this but it is showing for all users whoever i select in picker field
Could someone explain why the following code work without compiler errors? if( isnull(ri!user), "", isusernametaken(ri!user), user(ri!user, "firstName") & " " & user(ri!user, "lastName"), joinarray(split(ri!user, "."), " ") ) I expect some kind of evaluation error, but it works just as the three lines starting on "isusernametaken" were an embedded if. I saw that in one of the Appian courses and I'm wondering if it is some undocumented feature of the if function. Thank you
Hi, I have a!queryEntity where I have to apply few filters for querying data. I have to apply 3 filters with an "AND" along with these filters I have to apply additional 2 filters with "OR". Is this possible. Any advices please.
Hi, For the above expression rule, if I try to add a!isNullorEmpty(local!ID), then I can getting false, but I am expecting true. Am I doing anything wrong here.
I have created this rule to get the group names from my task report in a grid . but when there are multiple groups are present at assignee column, it gives error saying invalid group exception. Here is the code: if( or( runtimetypeof( ri!groupOrUser ) = tointeger( 'type!{http://www.appian.com/ae/types/2009}Group' ), like( ri!groupOrUser, "?Group:*" ) ), touser(group( togroup( touniformstring( ri!groupOrUser ) ), "groupName" )), rule!APN_displayUser( touser( ri!groupOrUser ) ) ) Rule input-user or group Any suggestions?
To get the all numbers between 2 numbers.
We are having a start date Eg. "2022-04-22 18:10:03"(Datatype: Date & Time) . I need to add 5 hours to the date and should provide me result as "2022-04-25 14:10:03". Requirement: Should not include time between 19:01(7:01 pm) to 9:59(am) and week end (Saturday & Sunday). Explanation: 4th April is Friday and the time given was 18:10(6:10pm). Total time taken is 50 min to complete 7pm on 4th April. As 23rd and 24th comes under week ends (Saturday & Sunday) we need to remove those date and time. Then we need to add date from 25th10:00am resulting in adding 4 hours 50 min on 25th.
Has anyone implemented a custom picker that queries all the expression rules in an environment ?
I have a query entity where i am passing date column AA to fetch some info from table. Now based on Source,i need to use different date columns.Example: For Source A i have to pass column DateAAAA, for source BB pass DateBBB etc. I dont find a way to pass the source here. Like if source is A,then do this ... a!queryFilter( field: "dateFilterXXXX", operator: ">=", value: gmt( todatetime( workday( local(now(), "America/New_York"), -10, ri!holidays ) & " " & totime("16:00 PM") ) ) ), else.... a!queryFilter( field: "dateFilterBBBB", operator: ">=", value: gmt( todatetime( workday( local(now(), "America/New_York"), -10, ri!holidays ) & " " & totime("16:00 PM") ) ) ), I am not passing parameters from any other place into this rule, so i dont find a way to pass the source. I need to get the source first and then define filters accordingly. Please suggest on how i c
Hi!, I need to change the name of a rule input from a expression rule. But this rule it´s called by nearly 20 rules/interfaces in my app. So, is there any way to change all que code quickly from all 20 objects with the new rule input name? the only solution i have is going one by one changing the name. Thanks!
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.