Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3253 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Exception on duplicate button click
jayashrib223
over 8 years ago
Hi,
On SAIL form, when user clicks button for any action, while it still shows "Working.." on the top of the page, if user click same button again, getting the attached error.
Not able to find the detailed exception in logs.
Thanks!
OriginalPostID-242786
Discussion posts and replies are publicly visible
0
rishub
over 8 years ago
Can you please paste SAIL Code?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
marek
over 8 years ago
Does this happen for other SAIL forms as well, or is it only this one in particular? I would take a look at your saveInto array on your buttons to start with.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
davidg707
over 8 years ago
I haven't seen this exact issue before, but are you performing saves in the buttons? if so, are you using the old "<<" way of saving or a!save()?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sally Mason
Appian Employee
over 8 years ago
Looks like there is no default parameter for one or more of your fields - when the User double submits, it cannot be parsed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Can you plz also check server logs for exact information about this error
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jayashrib223
over 8 years ago
Thanks for the response! I have attached the code. Here for example - "Apply" button we are getting exception ( same for few more buttons). David, I am using a!save(). We didn't find any details about this error in logs.
code.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
monikar
over 8 years ago
Firstly there is '<<' operator used at line 1563.
If the exception is shown occurs when the following buttons are clicked,
PFDC_USER_ACTION_APPLY
PFDC_USER_ACTION_NONBILLABE
PFDC_USER_ACTION_BILLABE
PFDC_USER_ACTION_APPROVE
PFDC_USER_ACTION_WITHDRAW
PFDC_USER_ACTION_EVALUATE
Please check any 'set of code' which gets executed every time i.e. in with() which depends on the values of local!searchAction/ri!searchAction. like rule!PFDC_displayErrorMessage at line 1337. Please check for any similar changes or save's on the buttons which are causing the issue and verify the code where the saved variable is used. You might find the root cause of the issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jayashrib223
over 8 years ago
Thank you moniker! I added null check for one variable which I am setting on above user actions and looks like this resolved the issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel