The workflow automatically deletes assets based on "rejected" status and lastModifiedOn fields.
I want to design a workflow that can automatically detect “rejected” assets, assets are not been modified in the last 3 months, and delete them.
Do you have any advice on that? Thank you so much
khanhdung_dao
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
3 comments
arthurburkhardt
·3 years ago · EditedYou can do a workflow running on a schedule to look for all rejected assets, filter on their last update date, then find if there has been any activity in the last 90 days (edit attributes, relations, responsibilities, etc.)
Here’s an untested code quickly wrote:
arthurburkhardt
·3 years ago · EditedYou can do a workflow running on a schedule to look for all rejected assets, filter on their last update date, then find if there has been any activity in the last 90 days (edit attributes, relations, responsibilities, etc.)
Here’s an untested code quickly wrote:
khanhdung_dao
OP3 years ago · EditedThank you so much for your reply. I will try this script and ask you later.