-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triggering actions #10
Comments
+10. I was thinking that this: would... Then email "hello@openhealthcare" with some_email ... look for templates/some_email.eex next to the behaviour file and then evaluate the template with (hand-waving-alert) the context. Other actions I'd thought of were: Then broadcast broadcast_msg
Then return return_msg
Then SMS sms_msg
Then refer to "infectioncontrol" ...where:
Refer to would hit the API from opal-referral |
Have implemented the stubs for these in Ddd.Actions which can use the submodules to actually do the work :). Not sure if you want to leave this open until they actually do something more than just success. |
Have implemented Return && Email. I'd say that's enough for this one && let's create tickets for the other 3! |
The :then match, should probably match on the rest of the line, so that
:then :email "" with ""
becomes another match on
:email "" with ""
:then :notify "" with ""
becomes a match on
:notify "" with ""
The text was updated successfully, but these errors were encountered: