Lotus Workflow 6.5.1 Upgrade
Thanks, Lotus for the long day on Friday. I implemented the new version of Lotus Workflow (6.5.1) for two applications, and it was not pretty. The templates migrated through the environments as I described in Domino Development Part 1 - Environments. So the templates were migrated to production on Thursday and were refreshed Friday morning by the Design task. I was in early because I new I had to "Create Language Document".
This I don't understand, if the application tells me that I need to create a language document then why does it not create it for me. Why does the message even appear if I don't have the INSTALL role. Just create the document.
But this was the least of my worries. There was two fixes I needed to make. One I already knew because it was broken in 3.0.1, which they still have not fixed. The 'LWFWebDefaultSave' is set to run over all documents in the database, which makes no sense when it is only ran on the WebQuerySave event. Wait it even gets better, there is no code in the agent. Yes, no code at all.
Update: The agent name needs to chage to (LWF Web Save Default)|LWF Web Save Default.
Still any time that I open either application the performance is in the toilet. Everything ran fine in pre-prod so the administrators started looking at the database and saw nothing. We did updall and compact still nothing. We then took a copy of the database and moved it to the pre-prod server where we could try some things. We did updall -R and still nothing. It was about 3:00 so I am thinking it is time to restore the template and start thinking about a test plan. At this point we had it narrowed down to the (SK WebMyActivity) view, so I copied the old view and put it in place of the 6.5.1 version. Presto, the view opened as quick as it always did. I used Teamstudio Delta to compare the two views and noticed two additional columns 'Claim By' and the column to the right of it. You can see my comment with the old code and my new code below it.
Lotus used "Today"as a string but not for Now.