This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need Help in VBScript

Former Member
Former Member
' Get Contract End Date

Dim szContractEndDate

szContractEndDate = PropertyValues.SearchForProperty( 1306 ).TypedValue.DisplayValue

Dim szDate

szDate = DateSerial(Year(Now), Month(Now), Day(Now))

Dim szDate2

szDate2 = DateAdd("d",-135,szContractEndDate)

szDate = szDate2



I want to set  szDate2 to be trigger date for email notification
Parents
  • You need to be careful when selecting DaysFrom or DaysTo!
    You would be better off to use = if relevant) than just =
    Finally you should be aware of the timing set for digest notification. It may be set for later in the day. I generally tend to set it for 07:00 or something like that to get them out by morning but still make sure all relevant events from the night will be included.
Reply
  • You need to be careful when selecting DaysFrom or DaysTo!
    You would be better off to use = if relevant) than just =
    Finally you should be aware of the timing set for digest notification. It may be set for later in the day. I generally tend to set it for 07:00 or something like that to get them out by morning but still make sure all relevant events from the night will be included.
Children
No Data