Years Function
Years (number as Numeric) as Duration
Category: | Date |
Description: | Returns duration value in years |
Supported Context: | FormulaField And BusinessRules |
Parameters: | |
number as Numeric | Numeric value or reference to a numeric field |
Returned value as Duration | Returns a duration value in years based on the "number" parameter entered |
Example #1 |
Build a workflow rule that automatically sets the due date of a Request (of type Idea) to be 1 business year from the creation date. Set the evaluation criteria to be $RequestType = "Idea" |
Example #2 |
Use the "Update Field" action for the 'Due Date' field and set its formula to be $CreatedOn+ Years(1) |
Tips | If you would like that field to be updated for 1 calendar year, use the formula $CreatedOn+ Days(365) |
Related Functions |