How do I set a UI action condition for when a date passes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 10:29 AM
Hi, I want to have a UI action that appears when a hardware asset's warranty has expired. What would the condition for this be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 11:04 AM
In the UI action condition field, Use below condition:
current.<date-field's-back-end-name> < gs.now()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 11:09 AM
How can I find the hardware warranty expiration back end name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 11:11 AM
I'm doing current.warranty_expiration < gs.now(), but the ui action doesn't appear at all anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 11:43 AM
Use this:
current.getValue('warranty_expiration') < gs.now()