How do I add "time since' in only when of a workflow?

Hey All,

Maybe I am overthinking this or maybe it’s not possible.

Here is the idea.

  1. Write a record at a time, say, 9:00 am.
  2. If someone tries to edit that record, say, 10 minutes from when they wrote it, I want to show a popup that says “is this a mistake?”
  3. If the time is greater than ten minutes or so, it should not show that popup. I have played with all of the options in the only when of the workflow and cant seem to get it. Maybe I am missing something.

I would be so grateful for any help. Thank you!

Hey @ben4

You would need to create two workflows:

  • When ‘Edit’ is clicked, only when This Record’s Creation date > Current date/time + seconds -600 --> Show popup
  • When ‘Edit’ is clicked, only when This Record’s Creation date < Current date/time + seconds -600 --> Don’t show popup

Hope that helps
Ambroise

Need extra help?

Book a free 15 minutes call - happy to help if I can

1 Like

Thank you for getting back to me. That isnt working, see this loom:Loom | Free Screen & Video Recording Software | Loom

That is where I was trying to go when I first started.

Thank you :slight_smile:

Ah yeah my bad @ben4, can you then try the following instead:

  • When ‘Edit’ is clicked, only when Current date/time +seconds -600 < This Record’s Creation date --> Show popup
  • When ‘Edit’ is clicked, only when Current date/time +seconds -600 > This Record’s Creation date --> Don’t show popup
Need extra help?

Book a free 15 minutes call - happy to help if I can

Thank you, I guess I have been at this too long and missed this… THANK YOU!!!

1 Like

You’re welcome, glad I could be of help

Ambroise

Need extra help?

Book a free 15 minutes call - happy to help if I can

2 Likes

Don’t feel bad. It’s one of those things that is so obvious once you see it, but not when you don’t know it.

Haha, this happens to me more often than Id like to admit. I am in this app for so many hours a day that I get very narrow minded. When I take a break, things get clear, thing is, when do I ever take a break? ahahah

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.