PrayuthN Member since 2016 1 post
Posted: May 9, 2017
Last activity: May 24, 2017

Modal based on date difference?

Is there a good way to get a modal to display if a date is 30 days before today's date?

Initially, as an action set on an onChange, I tried adding a data transform that calculates the difference between the entered date and today's date and using that fill a boolean property that would be checked as a when condition for a local action. Ran the tracer and saw that the when condition was being evaluated and the boolean was being calculated but it wasn't being checked. Then, I just used a when condition on the local action and added a declare expression on the boolean in question. Still nothing - the when condition would be evaluated but not checked.

Short of writing a custom control or a jQuery script running on change, I'm not sure where else to go with this. Any ideas?

***Edited by Moderator, Maryrita: moved to Product Support from Applications***

Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn