RE: Could I create new job to other database in lotus workflow 7? Oscar W. Henneken 21.Feb.08 05:53 AM a Web browser Lotus Workplace Application Database 7.0Windows XP
Hi,
Yes you could. We do the same thing using the LWF API:
DWFUtilSetApplication. Works like a charm.
I cite from the SDK
"Lets the API code run on a different database other than the one in which the Script Libraries are contained. This function affects all API calls that are being used after this function is called until the function is called again or until the Script ends."
Syntax:
Function DWFUtilSetApplication(ApplicationDatabase as Notesdatabase, Errorcode as integer, Errortext as string) As Integer
This function may only be used if the Script runs on the server and if the access level of the id under which the code is executed has at least Editor Level in the Application database passed into this procedure.
Please refer to the SDK....
Kind regards,
Oscar Henneken,
Workflow Consultant,
Brein Workflow Competence Centre,
The Netherlands