I am calling from LotusScript Java Agent, how to set status of the operation for NotesAgent.Run method when I get exception in Java agent?
I want to this code works:
If(agent.Run(doc.NoteID)<>0) Then
Messagebox "Greška u agentu: " & agent.Name & "." ,, "Greška"
Exit Sub
End If