Hi All,
I am updating data to external db using Integration object. The first time when I click on update button it updates the data but when second time I click on update with different data it is not updating. Can anyone please help me out?
Many Thanks!
Discussion posts and replies are publicly visible
Here we trade tips for details. Do you have anything to offer?
Hi Stefan,
Yes please tell me. What can I provide?
Also, on reloading the application and trying to add again the previous data(which was not added) also gets added.
Anything that helps us to understand what you are doing. Code snippets might be a good start.
Code, screenshots, configurations, etc should be good shubhamy0005
Here is the screenshot of the integration object
This is the interface where the integration object is called on button click
Did your proof that the integration itself works, also when called multiple times?
Your ri!refreshUpload will always have the value "2". What is the purpose of this?
What are ri!arn and ri!headers doing? How do they get their values?
Thank you Stefan,
refreshUpload is just used to refresh the exp rule called which contains the integration object. arn and headers are just parameters passed to the rule.
Could you please tell me how to check if integration itself is called multiple times.
What do you mean with "Could you please tell me how to check if integration itself is called multiple times."? You have to make sure that the integration object works! This should be done in a structured way to make sure to not miss any edge cases.
When the button is clicked second time, it does not call the interface object unless the application is refreshed.