Hi,
we are implementing scheduled tasks. For this we create asset objects with e.g. a startDate, a frequency with a duration.
An automation looks every day if there are tasks to create.
My idea was to calculate a new date and compore it to {{now}}.
But in my tests i get no results.
Object:
- Startdate: 01 May 2025
- Frequency: per quarter
{{object.Startdate.plusMonths(object.Frequenz.PlusTime)}}or
{{object.Startdate.jiraDate.plusMonths(object.Frequenz.PlusTime)}}But I can't get a result in my logs. This also if I create another variable with plusTime.
Where is my mistake? Is there another way which I do not see?
Edit:
I make it easier:
1. create a variable "plus" with value "3"
2. log {{object.Startdate}}: 2025-05-01T00:00:00.0+0000
3. log {{plus}}: 3
4. log {{object.Startdate.plusMonths(plus)}}: EMPTY
5. log: {{object.Startdate.plusMonths(3)}}: 2025-08-01T00:00:00.0+0000
BR Christof