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  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: Eliminating particular stage in workflow process
Kevin Pettitt 11.Oct.07 11:26 AM a Web browser
Notes Client 6.5.5 All Platforms


The extra fields on the documents related to the fifth stage are not a problem as they can simply be ignored. You will need to update the "Form" fields on existing "in progress" documents to reflect the new form you've created, and you may need to make other field adjustments as well depending on your new workflow.

In other words, you should only need to create a single "cleanup agent" that will be run against all in progress documents which would modify (and if you like delete) all fields that have been impacted by this design change. It would contain code similar to this:

FIELD Form := "Newformname";
FIELD Stages := 1 : 2 : 3 : 4;
FIELD FifthStageStatus := @Deletefield;
FIELD CleanupFlag := "Yes";
SELECT Form = "Oldformname" & Status = "In progress";

Be VERY careful how you set up the agent. You could easily screw up older/completed documents that should not be touched if you don't know what you're doing. It might be safer to create a temporary "cleanup" view which selects only the documents needing cleanup, and set up the agent to run on "Selected Documents" instead of all documents in the database.

One technique that extends on this approach is to create the view such that documents that are being "cleaned" will remain in the view after the agent runs on them. You would do this by writing the selection formula something like this:

SELECT (Form = "Oldformname" & Status = "In progress") | CleanupFlag = "Yes"

You would then add columns to the view that show various fields that the agent is supposed to change, and an icon column that would display a red X or green check depending on whether that document had been cleaned or not. This is a great way to test the agent on single docs and see the results instantly displayed in the view.

Hope that is what you were looking for.

Kevin
http://www.lotusguru.com




Eliminating particular stage in wor... (Kevin Pieterson... 11.Oct.07)
. . RE: Eliminating particular stage in... (B Dali 11.Oct.07)
. . RE: Eliminating particular stage in... (Kevin Pieterson... 11.Oct.07)
. . . . RE: Eliminating particular stage in... (Kevin Pettitt 11.Oct.07)
. . . . RE: Eliminating particular stage in... (Cesar Mugnatto 11.Oct.07)
. . RE: Eliminating particular stage in... (sushant likhar 25.Oct.07)


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 Connections Cloud Developers
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
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite