Hello community,
I want to create an automation in Assets, specifically: I have two date fields (Last Check and Next Check), and I want that if a date is entered in the Last Check field, the Next Check field automatically updates to +90 days based on the date in Last Check.
The problem is that the automation step "Then and Attribute Value and Value:" does not work with ${Last Check.plusDays(90)}
.
But with a fixed date like 2025-10-15
or just ${Last Check}
, it works fine.
As I understand it, my Assets instance does not support plusDays(90)
.
In the logs, it shows the error:rlabs-insight-attribute-3401: At least one value must be set;
Is there an alternative to ${Last Check.plusDays(90)}
?
P.S. My instance is Data Center.
Can you give some mote information, are the data fields mentioned attributes on an object or custom fields.
My assumption is that they are attributes, as you mention an automation in assets.
But as this is on server/DC, you probably need to execute a groovy script, as smart values like plusDays don't work in assets automation
This might give you some more informartion/guidance https://docs.adaptavist.com/sr4js/9.9.0/hapi/work-with-assets-insight#updating-attributes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.