Business requirement, to have a field that will display how long a record was worked onIssue field of type 'duration' that will be based on when the record was opened, and be updated every time the record is updated with the duration since it was openedResolution create a business ruleinsert, update, before, order 10,000script: current.u_time_spent = gs.dateDiff(current.opened_at.getDisplayValue(), current.sys_updated_on.getDisplayValue());