-
Recently active
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!
I am getting the below-mentioned error while converting xml to cdt using torecord() function. Does any one know what is the root cause of this error ?? or Let me know alternatives of converting XML to CDT ? Thanks
I have created expression rule to find data like {{changeid:"1234",prioritystatus:null}} now i want to update this list of dictionary using a!update how can i do that? i want to update that field prioritystatus. I am doing this by selection of one prioritylist in dropdown box. I have done this in user interface and on changing this status it will update the above field in this list of dictionary. But it gives error. I have done like this: a!update (data:{{changeid:"1234",prioritystatus:null}},index:"prioritystatus",value:1)
Hello All, My requirement is to search a word from the sentence. for example: sentence(single text): "The document is AI contain the data" search text :"AI" Output: true The desired result is:- get that the sentence is having the search text but only if exact word is there no if that alphabet is any word. For example: "The document contain the data" search text: "ai". output: false regards sahil
a!queryFilter( field: "expiredDays_int", operator:"between", value: {rule!CR_CMU_DSC_getExpiredDaysInSecurityDocumentation( selectedItemType_txt: 1 ).startIndex_int, rule!CR_CMU_DSC_getExpiredDaysInSecurityDocumentation( selectedItemType_txt: 31 ).endIndex_int } ) how can write this query without between operator
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.