- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 09:42 PM
I am trying to figure out how to trigger a flow based on the age of a record for ALM_Asset. Example, to create an incident to reclaim the asset if it is still in the system at five years old.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 10:15 PM - edited 10-02-2024 10:19 PM
Hi @Scott29 ,
If incident creation is the only objective, this can be done using simple 'Scheduled job' to check daily or monthly etc if certain field (for example 'Installed' date) is older than 5 years from today's date then you can create an incident simply in the scheduled job script.
If you want some more steps to do with the help of Flow only, then you can create a flow with condition as 'Scheduled' and decide your schedule time there. After that you need to have your actions (may be a custom one created if needed) to check if certain field (for example 'Installed' date) is older than 5 years from today's date and use the next action as 'Create record' on Incident table.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 10:15 PM - edited 10-02-2024 10:19 PM
Hi @Scott29 ,
If incident creation is the only objective, this can be done using simple 'Scheduled job' to check daily or monthly etc if certain field (for example 'Installed' date) is older than 5 years from today's date then you can create an incident simply in the scheduled job script.
If you want some more steps to do with the help of Flow only, then you can create a flow with condition as 'Scheduled' and decide your schedule time there. After that you need to have your actions (may be a custom one created if needed) to check if certain field (for example 'Installed' date) is older than 5 years from today's date and use the next action as 'Create record' on Incident table.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das