Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Set endDate in DateTime Interval

Hi there

 

I thought this is easy :) I have a form with these fields

 

lengthDays --> Numeric 

durationDate --> DateTime Interval 

a rule to perform the following

durationDate.endDate=([entry.durationDate.startDate.add(86400000*[entry.lengthDays])])

 

however for some reason the endDate of durationDate doesn't get populated, not sure why. I am sure its something silly, it works if I change the duration date into 2 fields ( start and end date) 

 

am I loosing it :) please help, thanks 

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 17, 2023

Hi @Markisio 

This is one field with start and end dates and expects the value format as this: startDateTimestamp-endDateTimestamp, so you do this as follows

Screenshot 2023-10-18 at 09.36.11.png

durationDate=[entry.durationDate.startDate]-[entry.durationDate.startDate.add(86400000*[entry.lengthDays])]

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events