domino如何使用代理针对某条文档运行某个代理

来源:互联网 发布:陶瓷信 知乎 编辑:程序博客网 时间:2024/04/28 15:30
Set xdb=session.GetDatabase("","Produce/GeneralMessage.nsf",False)
If Not xdb Is Nothing Then
Set agent=xdb.GetAgent("RecordFlowAgent")
Set newdoc=New NotesDocument(xdb)

newdoc.StFlowDbPath=Me.dbCur.FilePath
newdoc.StFlowUNID=Me.docCur.UniversalID
Call newdoc.Save(True,True)
Call agent.RunOnServer(newdoc.NoteID)
End If
0 0