5 months ago

architecture - process queue on trigger

Posted 5 months ago by paul-a-byford

Hey Everyone, I've got an interesting one and would appreciate your thoughts on the most elegant way to go about architecting it.

Requirement is for the app to allow users to request certain actions but only process the actions after certain future conditions are met. For example allow a user to request access to a secure file, but only process the actions to provide access to the file and email a link to the file after a moderator has approved the request.

The way I'm conceptualising it at the moment is to create a list of requested actions and have triggers which process the actions, something like queues (the lists) and events (triggers). However concepualising this way doesn't seem to be how queues can be used.

What more elegant ways of architecting for this requirement would you recommend?

Please sign in or create an account to participate in this conversation.