I have created a workflow application in Domino. I have written a formula language that does not work at the moment. I also created an agent with a schedule to run every 5min for test purposes and this does not work.
Please if you can give a sample code using formula language to run against this form with a status field of vpstatus=“” and agent runs a reminder until status field changes.
Many thanks in Advance for your help.
Below is the code I wrote as I am new to the domino Development.
REM { Send notification of pending requests to the Approver};
SELECT Form = “HR REQUEST ADD” & vpstatus =“”
& @Contains (usercodea; “”);
jcSendTo := @Name ([Abbreviate]; vpstatus);
jcCC := " ";
REM {For testing, add a blind carbon copy} ;
jcBCC := " " ;
jcSubject := "Pending Service Request for " +cAssociate;
jcBody :="Click the doclink to open the request - - - ->>> " ;
@MailSend(jcSendTo; jcCC ; jcBCC ; jcSubject ;
jcBody ; " " ; [IncludeDoclink] )
Subject: AGENT Notification for a a workflow application
I AM MORE AN ADMINISTRATOR THAN A DEVELOPER ANY HELP IS APPRECIATED.Thanks for your initial response. I have not yet managed to resolve the problem.
I am trying to write a formula language that sends out a notification email wih a doc link. This will be triggered based on values of a field on a form. vpstatus is a field and itsecstatus is another field.
if vpstatus =“” and itsecststatus = “” send email to the VPUSERROLE roles.
if vpstatus = approved and itsecstatus = “” SEND EMAIL TO ITSEC ROLE OR USERNAME.
IT ITSEC STATUS= “aPPROVED” AND VPSTATUS = “aPPROVED” DO NOT SEND MAIL.
AN AGENT IS TRIGGERED BASED ON THE VARIUOS FIELD CONDITIONS AND AN EMAIL SENT TO THE USERS BASED ON THE FILED STATUS.
ALSO IF THE USER DO NOT APPROVE THE FIELD STATUS A COUNTER WILL CONTINUE UNTIL THIS IS DONE
Subject: Notification for a a workflow application
Not sure what yr selection formula is doing,
vpstatus is that expecting a username
Ok,
In the agent designer look to the lower right corner there is a box that has text ‘Modify Documents’ change it to ‘Select documents in view’
run this agent from view and see how many docs are selected, tweak the selection formula
Don’t forget to set the agent back to Modify documents