Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Assets Automation rules - update date

Couraillon Theo October 31, 2024

Hello,

I want to create a new Assets automation rule that will update the "Decommissioned" attribute with the date of today (now) when another attribute named "Status" is set to "Decommissioned".
I managed to trigger the rule by changing the status, but I can't find the format I should use for the date to be updated in the "Decommissioned" attribute.Screenshot from 2024-10-31 12-56-50.png
Can you please help?

1 answer

0 votes
Fabian Lim
Community Champion
October 31, 2024

Hi @Couraillon Theo

I think you have to use a groovy script for this and then you can add the today's date function to update the attribute. Link: https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html

Fabian

Couraillon Theo November 4, 2024

Hello Fabian,

Thank you for your answer, I just managed to do it by using the now() value :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events