# 自动化不会发送到群组

**URL:** <https://meta.discourse.org/t/automation-doesnt-send-to-group/357572>\
**Category:** Bug\
**Tags:** automation\
**Created:** [2025年三月17日 15:11 UTC](https://meta.discourse.org/t/automation-doesnt-send-to-group/357572 "2025-03-17T15:11:28Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)\
**Post date:** [2025年四月18日 14:19 UTC](https://meta.discourse.org/t/automation-doesnt-send-to-group/357572/13 "2025-04-18T14:19:46Z")

</div>

更新已合并到此处：

> <https://github.com/discourse/discourse-data-explorer/pull/369>
>
> This change adds an option to the \*\*Schedule a PM with Data Explorer results\*\* s…cript, which when selected will send individual PMs to each group member selected in the \*\*Send to User, Group or Email\*\* field.
> 
> \<img width="575" alt="Screenshot 2025-04-18 at 12 52 41 PM" src="https://github.com/user-attachments/assets/2215193d-8eae-4ced-b4c5-c67e31942c57" /\>
> 
> When this field is not checked, the functionality for groups will work as it did before (ie. send a single PM to the group).
> 
> \### When checked
> 
> \<img width="796" alt="Screenshot 2025-04-18 at 2 31 43 PM" src="https://github.com/user-attachments/assets/69f33220-d9b9-4a8e-b2ef-466789a07cf9" /\>
> 
> \<img width="747" alt="Screenshot 2025-04-18 at 2 33 29 PM" src="https://github.com/user-attachments/assets/afb83526-5d42-4f3b-803e-ba63248e60ac" /\>
> 
> 
> \### When not checked
> 
> \<img width="794" alt="Screenshot 2025-04-18 at 2 31 59 PM" src="https://github.com/user-attachments/assets/b3e6c06d-7f7f-4420-a308-6e222ffbd617" /\>
> 
> \<img width="747" alt="Screenshot 2025-04-18 at 2 33 44 PM" src="https://github.com/user-attachments/assets/a72ee1e8-5c8d-4a87-bc10-c1cdb817c263" /\>

现在自动化脚本中有一个复选框，用于向组成员发送单独的 PM。选中后，每个组的用户将被提取出来并单独发送消息。

希望这能让脚本更好地满足您的需求。

> [@ganncamp](#):
>
> 我意识到要向某个组发送报告，该特定组必须具有报告的明确权限

如果将组添加到“发送给用户、组或电子邮件”字段，那么该组将需要访问数据探索器报告。理想情况下，应该有一个更大的组（可能是报告组），其中包含您想要通知的所有成员。

---

_[View the full topic](https://meta.discourse.org/t/automation-doesnt-send-to-group/357572)._
