: 2416 | 60365 | 6953

Commit/Rollback Changes 
You can purchase the IdeaJam templates. Learn how.
Use this IdeaSpace to post ideas about Domino Designer.

: 23
: 24
: 1
: Domino Designer
: document
: Rajeev Menon 12 Dec 2007
: Open
: / Email
I developed a website where there is a feature to sort/move the content documents. A sort/move action would modify (Sort Order Number) most of the documents. If some error came up, some of the documents will be in modified state and some will be in original state. This mess up the whole website layout.
 
Though chances of error is very rear, I still implemented a commit/rollack mechanism myself. This is by saving the new values to temporary fields and as the last line of the agent, moving the new values to the actual fields. It wasn't that hard to implement this.
 
But, if Domino itself provides this Commit/Rollback feature......may be that will help us save some time.





1) Axel Janssen (12 Dec 2007)
I think it will be quite hard to implement this ex-post. But I see it as important. Especially for integration with other systems. If its there, this domino-transaction should be able to participate in 2-phase-commit transactions of J2EE/EE5. This would make integration of Domino applications in SOA architecture or J2EE/EE5 a lot more straight forward.
2) Thomas Bahn (13 Dec 2007)
Yeah, DominoTxn! :-D
3) Thomas Bahn (13 Dec 2007)
Sorry, couldn't resist. ;-)

Axel is absolutely right: It would be great for integration, but HARD to implement. VERY HARD!
4) Giulio C (25 Aug 2008)
This has been one of the gaping weaknesses for Domino. How many times have complex document hierarchies and relationships been corrupted when a process only completes half the changes because of an "object variable not set error" ?

I would like the idea of a commit/rollback in script. Seeing as document models can take any shape, something like a "Transaction Start" and a "Transaction Commit" commands in your code would be great.

I suppose the caveat would be that transaction command pairs (ie start/commit) would have to be in the same sub. I think this would only work in a scheduled agent to. Because re-running the log would be way to hard from UI. The next step would be working out how to link transaction dependancies between subs so if an error occured in a called sub that the rollback would be reported to the calling sub so it could take action in completing the roll-back...

The other problem would be storing the log somewhere in cases where people are modifying very large collections of documents, the log would be humungous. Probably from a transaction server/file store ?

Not so simple.. but if it could be done, it would put all those relational zealots in their place.. LOL.. Thumbs up from me... I wish people who demote ideas justified their answer. It may provide some insight in refining the idea...










Username:
Password:

Purchase IdeaJam Today


You can run IdeaJam in your company. It's easy to install, setup and customize. Learn more here.

Welcome to IdeaJam


IdeaJam is a place where people can post and share their ideas, and gauge the marketability, popularity and viability with input from others.

When an idea gets posted, others can help promote or demote the idea and provide comments. Popular ideas will bubble to the top.

Make your opinion count.

Share


Post your idea - from ways we can improve IBM Lotus Software to things we've haven't even yet thought of.

Vote


Check out other people's ideas and vote on the ones you like best. The community votes. The community decides.


Discuss


Talk about ideas with your peers in the IBM Lotus Community and help make them even better.



-8
Retire LotusScript, Focus on JavaScript (SSJS)
40
Provide a real PDF engine for Lotus Domino applications.
18
Make XPages generate better html code
-4
Increase ACL limits
19
XPages - Support Lotusscript WQO/WQS functionality
20
Improved Follow-up Flagging in Lotus Notes
4
Provide a tool for "move" from a Quickr version to the other one.
5
Reward top contributors with their own wiki page
-12
LotusScript DB2 stored procedure call
3
Fix "GDT"
21
Include Address Source in Ambiguous Name Dialog Box
33
Standard set of Web Services to come with server
17
Make all notes URLs actions useable in the client
7
Upgrade Process Automation
11
Protect mail but calendar is public
7
Lotus Notes Virtual Folders
8
Standardize wiki markup langauage
16
Double Click On Included XPage
8
Implement discussion pages on the Lotus wikis
16
Create a hotspot via LotusScript
3
New Mail Notifications with local replicas
3
Provide ability to drop IMAP session for user
-2
Revolutionise Calendaring
2
Allow a more useful Backup System for Lotus Quickr services for Websphere portal
17
Add Expand/Collapse to LotuScript Editor
8
Make it easy for a Quickr Entry to "unshare" or "restrict" some documents.
9
Allow place administrator sets specific folder permission on a library on Lotus Quickr services for Lotus Domino.
14
On Demand Replication Options
9
Provide document level security on Quickr Entry places like document libraries have
14
Allow cascading fonts in rich text
6
Just "blank" the out of office body

IdeaJam is hosted by