...
Code Block | ||
---|---|---|
| ||
"Status" IN ("Active") AND "Renewal Date" < now(60d) AND "Renewal Date" >= now(-1d) |
automation 으로 만료된 Asset 상태 업데이트하기
global → automation
Create rule 선택
“New trigger”에서 Scheduled trigger 를 생성
실행할 일정과 주기 선택
Add component 에서 “New action” 선택
component 에서 “lookup objects” 선택
Schema(1) 를 “IT employee Assets” 로 설정하고 Query(2) 에 다음 항목 입력하고 “publish rule”(3) 클릭
Code Block language sql objecttype = "Cloud Subscriptions" AND "Renewal date" < now() AND "Status" != Retired
2222
111