Dustin Stamper 12.Nov.03 11:55 AM a Web browser General All Releases iSeries (AS/400); Windows 2000
Remote users of a workflow application have local replicas. All users (except for a few Admins) have Author access and are able to create new projets. This works great on the server and for the admins running the app locally.
The problem comes when the Authors try to create a project on their local replica.
After filling out the required information in the form, the user clicks a button "Create Project".
Here is some of the code that is used to create a project:
Set maindoc = session.currentdatabase.CreateDocument
(I then set fields in the new document based on what they filled out)
A user with Editor access or above runs the code and the resulting document has all of the Workflow 'OS' fields set correctly (expandedparticipantauthorsOS, etc.)and opens in edit mode as designed.
A user with Author access runs the code and the resulting document has the info they entered with no workflow 'OS' fields and the document is in read only mode.
I am assuming that there is something in the Domino Workflow API that requires higher access when running the script locally using the runonserver method. Remote users have local replicas of the process, org, design, audit, and archive databases.