Hi. I have a requirement. I want to create a rule where it should only send email to admin of dev portal when the app is requiring approval. If the app is auto approved, no need to send any email. If the app is pending approval, it should send email saying that person A has created app A and it requires approval. Out of the box I don't see this option in dev portal. How do I do that?
Did you try the rules module?
This answer may help. (It's from 2015, but still applies).
Yes I am using rules. Rules is only allowing me to send email if an app is created. There is no option to check if the app's overall status is approved or pending. My condition is that if the app is approved (bcuz the product is auto approval), there should be no email. If the app is pending (bcuz the product is approval pending), then it should send email. Rules is only sending email if the app is created regardless of its status.
Hi @Dino-at-Google , link you share, I couldn't open it link shared. So added answer, if u find this is duplicate, plz ignore or remove.
2 Options:
1. Use Static Text for Subject
2. Use Drupal Replacement Pattern
Ex: [app:name] by [app:developer], here [app:name] = App Name, [app:developer] = Name of the Developer
Note: You can also export this config to diff env.
Yes I have done that. My requirement is that if an app is created, the email should only be sent if the overall status of app is pending. If the overall status is approved because the product is auto approval, it should not send email.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |