developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks




agent with @business day
Aditi Gupta 03/04/2014 08:49 AM
Applications Development All Releases All Platforms


Dear All,

I am trying to solve one problem in which user wants one agent and that agent will run after 14 working day of creation date.
Exaample : creation date is 14-02-2014 then then need to calculate 14 working days and after calculation agent should run on that calculated date.

I did like this :
created one new computed field(businessday) and trying to using @business formula in this field I will take calculated 14 working days date in this field and write agent and compare that date to current date then agent will run, but i am not able take the 14 working days date value in this field. first time i am using @businessday formula therefore facing some problem
here datum is creation date field and value in this field is 14-02-2014
today:=@Today;
@if(@businessDays((Datum);today;1:7)=14);
@Prompt([Ok]; "Yes";"Not Ok")

please suggest

Go back