Is it possible to tokenize the reservation status of a resource in order to use that with Rules to create emails & such? While I've looked into MERCI Email, Rules seems like it would provide me more control and more options for triggering automatic responses/interactions. Any thoughts/help would be greatly appreciated.

CommentFileSizeAuthor
#4 1865036-4-merci_status_token.patch1.17 KBzeip

Comments

maritimefist’s picture

So there's no way to tokenize the reservation status?

darrick’s picture

This can be implemented in a separate module. Take a look at the code I did for implementing the merci_resources token. I'm a bit loath to implement it in the main module because I'd like to feature freeze the main module and only include bug fixes. So I can start focusing on a Merci 3.x version.

However, that said I have a few bugs to fix in the current release and have done much maintenance in the past few months. I'm not sure when I will do that but when I do I'll look into adding the Reservation Status token and if it's not too much work will make the change.

Meantime, if you want done quickly give implementing it in a custom module a shot.

Thanks

maritimefist’s picture

Thanks for the quick response. A custom module looks like the way to go for now, but I must admit that well beyond current ability. I don't even know where to begin.

zeip’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.17 KB

Attached is a patch to add reservation status as a token similarly to resources.