I am new to LEI. I have succeeded in sending the data from Notes to Oracle8. But I am not able to update the data into Notes when it's changed in Oracle8. I'm facing two problems:
- I'm unable to determine the trigger statement for polling activity.
- The replication from Oracle8 to Notes is not functioning at all. The data is not getting copied from Oracle8 to Notes.
Regarding the polling trigger, this is nothing more than a SQL statement. This statement needs to return a result, for instance a record count. Think of a scenario where you need to check if there are records in Oracle in a table for which a flag has not been set yet. You can then set up to check the amount of records. If it would be a Domino database you check, the formula would be:
SELECT Form = "my form" & myfield= "Yes"Then the polling reset trigger statement is set to FIELD myfield:="No" to reset the flag. For Oracle it could be something like SELECT myfield from mytable where myfield='yes', or alternatively you can address a stored procedure in Oracle to give a result, which updates the result fields as well, once it is polled by LEI.
Regarding your second problem, simply stating that it is not working is going to be a bit difficult to answer. There can be many reasons. It could have something to do with field comparison, wrong character sets on either end, whether you are using views in Oracle, whether you are using bi-directional replication and timestamps, which version of LEI etc. If you can reply back with those details, I am sure we can help you to solve the problem.
Dig Deeper on Lotus Notes Domino Replication and Synchronization
Related Q&A from Hans Van Der Burg
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.