Populate Date Field Based on Another Field on Catalog form

Sifa Tok
Tera Contributor

Hi, I'm new to ServiceNow and Java . I'm struggling to create a simple logic how I can set the date field based on another field. I need to set "Server Offline until" field should be populated using the formula Opened date + number of days selected "How long should the server be offline before being decommissioned?" fieldMicrosoftTeams-image (45).png