0

Is it possible to have a queue trigger create a 5 minute time trigger that then checks if the queued item still exists.

I'm trying to use Function Apps to give user a grace time. Each user can have a different grace time depending on settings on their account. I was thinking I could write a to a queue and fire the queue trigger to call a timer trigger that uses the users time setting to check back and see if the user completed his task before grace. Is this possible?

Thanks for any help

1 Answer 1

1

You could send a message to a Service Bus queue and set ScheduledEnqueueTimeUTC property to now + 5 minutes. The message will be processed after the specified time.

For Storage Queues, you could use CloudQueue.AddMessage overload with initialVisibilityDelay parameter for the same purpose.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.