Skip to main content
FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



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.


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
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


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


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