If LEIsess.Status = LCSUCCESS Then
Print "No errors in LEI Activity " & MyActivityName
Call LEIsess.Logtext(LCLOGSTREAMF_EVENT, "Activity " & MyActivityName & " called from scheduled agent completed successfully", 0)
*** How can I trap any error in the MyActivityName called activity here? RunActivity does not appear to return a success/failure code ***
*** I want to update a Notes document in case of error, so that the scripted activity will exit without exporting the next batch of data when it runs again ***
LEIsess.Status 1 = 0, as one would expect. The LEIsess.Status 2 and LEIsess.Status 3 traces both return 268448513. Does anyone know how to interpret this value? The Lotus Connector LotusScript Extensions Guide doesn't give any clues. Is it actually possible to get a return code from RunActivity?
Thanks in advance for any help you can give with this.