I’d like to create an agent that will only run on the documents selected by a user in a view.
IE. I have a timesheet database, with a supervisor view, the supervisor would like to be a able to check or select specifice documents that he would like to process, then run the agent to apply a field change: “status” from pending to approved. The agent I’ve created wants to run on all documents. How do I only process those selected by the user? When I save the agent it automatically appends SELECT @All - I remove it - save it and it’s there again:
That was easy enough! Although what I fnd is - when you first open the view the default document may not be a document the approver may want to approve - they select all of the documents they want to approve, and although that default doc is not checked, it also gets approved along with the checked docs. Is there a way to disable the default on open option?
When opening a view - in view properties - you can set default doc to open to according to - the last doc opened - or top row - or bottom row - and then the row in the view is then highlighted by a black box around it.Christine
Yes I got your point. But as soon as I opened the view I selected some other document (But still the black box was there with some other document) and when I run the agent it ran on the documents which I have selected and it did not run on default document. I am wondering how its running on all the documents in your case.