Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Workflow Forum

Lotus Workflow Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: How to re-route a "Ready to Route" activity?
Oscar W. Henneken 23.Aug.06 04:24 PM a Web browser
Lotus Workplace Application Database 3.0.1 Windows XP


Hi Cat,

Solution 1) Try a reroute via an api call.

Function DWFBinderReRoute(BinderKey As Variant, DestinationActivityID As String, OnBehalfOf as String, ErrorMsg As String, ErrorCode As Integer) As Integer

Solution 2) Why not reverse the problem.
Currently you do not know which fields to set to restore the document back to an activity manually. Turn it around: make it your problem to find out which fields to set that are of interest intrinsically instead of technically.

How could you do that?

One (tricky) thing you could do is write an agent that:

1) makes a safe copy of the entire binder that is corrupted to
another database.
2) copies all fields that end with "OS" from a binder that is in the correct activity to the binder that is messed up in the LWf application database. So fields from cover to cover and from main doc to main doc, etc.

3) change back the content of some critical fields to maintain integrity of the restored binder:
Field Folderidos on cover and all other binderdocs.
Field SOURCEDOCIDOS idem.
Field binderdocidos on cover.
Field ExpandedParticipantAuthorsOS on the entire binder, set to the (canonical) names of the people you want to be potential activityowners.

If you have special settings for a team, you should set
Field TeamAuthorsOS as well, on the entire binder.

Furthermore you might want to change back:
Field InitiatorOS,
Field IndateOS,
field JobDuedateOS, etc. according to your needs.

Maybe you will miss one or two fields that you wanted to preserve, but technically the binder would be reset to the activity. If it is technically correctly set, you should be able to reroute it (either via the menu or via an api call) to the same activity again, to realy make sure all the fields are set correctly in the end.

Hope this helps,

Oscar Henneken,
e-Office
www.e-office.com
www.cpm-weblog.nl




How to re-route a "Ready to Route" ... (Cat Ho 21.Aug.06)
. . RE: How to re-route a "Ready to Rou... (Oscar W. Hennek... 23.Aug.06)
. . . . RE: How to re-route a "Ready to Rou... (Cat Ho 24.Aug.06)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow