In my project I want to create distribution list. eg: while sending mail if I select drupal, then all drupal user should get mail. This means according to user group, mail will get created and if I selected any of the user group, then all mail id of that particular group will get selected and mail will send.  Any suggestions?
I'm using Rules 7.x-2.6 and the way it works has changed a bit since I last saw.  I have a rule as follows:  EVENT A node has been flagged, under "Report content"  CONDITIONS None  ACTIONS Send mail to [site:mail]   However, I'd like to, instead of sending directly to [site:mail], send an email to all users flagged with an "admin" role.   Now I know that I'll need to provide a loop do so, but my sticking point is generating the list of users to pass to the loop. So far, I have attempted to add a new action:   "Fetch entity by property" Entity type: User Property: User roles Value: admin   But this doesn't seem to give me what I want in data selection, when passing it to the loop. Can someone recommend what they would set here?
Process Builder - Breaking Production Deployments? I have a Process Builder flow set up and I am running some tests around the InvocableMethod Apex code. The tests pass fine in my staging and production environments. Yet, when I try to deploy to production, I get a strange error.  CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow.  Thankfully I received a somewhat more informative error email.  UPSERT FAILED ---  ERRORS :  (CANNOT_EXECUTE_FLOW_TRIGGER) The record couldn’t be saved because it failed to trigger a flow. common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ---  for SFDC record with ID : null,  Unfortunately, the deployment has nothing to do with the flow and it is unclear why it is failing. What is the root cause of this error and how can I fix it? EDIT: I found out this is a . The other claimed workaround is to deploy via the Metadata API. UPDATE: Because I was subscribed to the Known Issue, I received the following confirmation this issue is resolved.  We are pleased to notify you that the following Known Issue has been resolved: Executing an InvocableMethod during an apex test run from a change set can cause Errors. Thank you for being patient while we worked to address this issue. Please feel free to reach out to Customer Support if you have further questions. Sincerely, Salesforce Success Team Let $E$ be measurable and define $f:E\rightarrow\mathbb{R}$ such that $\{x\in E : f(x)&gt;c\}$ is measurable for all $c\in\mathbb{Q}$, is $f$ measurable?  There are a number of equivalent definitions for the measurability of a function and the most obvious one would be to show that $\{x\in E : f(x)&gt;c\}$ is measurable for all $c\in\mathbb{R}$.  Thus my strategy has been to consider an arbitrary irrational $y$ and use the density of the rationals in the reals to show that there exists some open set $O$ such that $m^*(O-\{x\in E : f(x)&gt;y\})&lt; \varepsilon$.  I would do this by choosing some rational $q&lt;y$, close enough to $y$, such that the set of values in $E$ which get sent under $f$ to values strictly greater than $q$ and less than or equal to $y$ is small enough.  But that doesn't in general seem possible since I could keep sending intervals of some fixed positive length to smaller and smaller regions just beneath $y$.  However conversely, such a function would not be enough for a counter example, since finding such a function only rules out this strategy, but doesn't necessarily entail non-measurability.  Is there a better definition of the measurability of a set I should use? or does the statement actually not imply measurability?  Thanks. If I use the starting wealth rolls of my class, do I keep any remaining money left over? If I use the starting wealth rolls of my class, do I keep any remaining money left over after I buy equipment?  In D&amp;D 5e you can roll the 4d4 &times; 10 to determine starting gold, forgoing any equipment your class and background  gets.  This is not up for question.  What is up for question is whether or not the PC keeps any remaining gold that they don't spend on equipment.   As far as I have been able to tell, this is not explicitly stated in the PHB nor in the Basic Rules documents. How does editing work? Installed memory 4GB but only 1.93 GB is usable shows in system properties dialog? In my Intel Core i5 2.80 GHz CPU , DH55HC series Intel mother board machine installed with windows 7 64 bit  machine, when I right click my computer and see system properties I see that "Installed Memory(RAM): 4 GB(1.93 usable)".I have 2 x 2 GB DDR 3 RAM modules.  I have verified, * Two of RAM modules are working * Two of RAM slots in mother board are working   What are the cause(s) for this might be to look next ie: what settings in BIOS etc ? How to cite sources written in a different language than English? Assume one wants to cite a paper written in a different language than the article citing said paper (e.g., ones own article is written in English, but the source is French).   How to properly handle citation in such a case?  Do I cite the original (French) title or a translated title? If I use a translated title, people might have a hard time to find the source; if the original (French) title is cited, people might have a hard time understanding it. Unable to SSH to my virtual machine via Windows Power Shell ISE I want to create an effect/color like this image of the cloud in the Parse.com logo. It is not quite white, and seems to have a texture. I am new to illustrator, but have a white "cloud" made thanks to some other tutorials. How do I proceed? How to boot from non-Ubuntu live ISO images like Fedora or CentOS? Mrs Reed safe combination Mrs Reed forgets the number combination to her safe. The combination has $4$ numbers each is a $1$ digit number. The $4$ digits add up to $10$ and there are no zeros. How many times does Mrs Reed have to try to open her safe?  My attempt: ${9 \choose 3} = 84$ but the answer is $80$. What's the difference between  and ,  and ? What's the difference between &lt;b&gt; and &lt;strong&gt;, &lt;i&gt; and &lt;em&gt; in HTML/XHTML? When should you use each? Why are votes anonymous? Let's make with the transparency and have them publicly attributed How to open a PDF file from terminal? I used to work on the Mac terminal before and I used:   open file2open.pdf   and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I get this error message:   Couldn't get a file descriptor referring to the console Here's a module with castellated pads attached to an eval board:  (source: ) Looking closely at the wires interfacing with the castellated pads, they're clearly soldered to the eval board. However, they don't look like they're soldered to the module, but rather they're being pressed against the pads with the tension in the wire. It also looks like the free end of the loops are protruding down into a channel cut in the PCB. Do these kind of connectors/metal loops have a name? Are repository lists secure? Is there an HTTPS version? Construct a command by putting a string into a tty Are we discouraged from fixing typos and misspellings on Stack Exchange sites? I just attempted to fix a typo on a question on cooking.stackexchange.com and saw this     Oops! Your edit couldn't be submitted because:         Your edit summary must be at least 10 characters   This edit is less than 6 characters; surely more can be improved with your edit?      So, misspelled words have to just be left misspelled?  That could prevent the post from being found in a search. As we know, the tactical downvoting (I'm talking especially about SO, as I don't know about other sites) is more and more becoming a serious problem, as I see, the community can't stop this behavior without some sacrificing.  As a suggestion, I think it makes sense to prevent an answerer from downvoting any answer on the same question, this -sure- has a harm, but IMO, it's less harmful than the tactical downvoting issue, and to make the things a bit more easier, we can prevent an answerer from downvoting a question without posting a comment to that answer before.  And vice versa, if a user downvoted an answer, he shouldn't be able to post another one unless he posted a comment first, to prevent working-around that system, so a user can't downvote other answers before posting his own to avoid posting comments.  EDIT, more clarification: I don't say wrong answers shouldn't be downvoted, BUT if you want to downvote an answer and post your own, you'll have to post a comment, so we make sure you're not just downvoting right answers tactically. Necessary and Sufficient conditions for $(i \, j)$ and $(1 \, 2 \, \dotsc \, n)$ generate $S_n$. I have a homework question that asks     Find necessary and sufficient conditions on $1 \leq i &lt; j \leq n$ so that $(i \, j)$ and $(1 \, 2 \, \dotsc \, n)$ generate $S_n$.   Here is what I have done so far.  Call $c = (1 \, 2 \, \dotsc \, n)$.  I made the observation that $$ \overbrace{c c \dotsb c}^{n - j + 1} (i \, j) \overbrace{c^{-1} c^{-1} \dotsb c^{-1}}^{n - j + 1} = (1 + i - j + n \, 1). $$ Thus, $\langle (i \, j), c \rangle = \langle (1 \, i - j + n + 1), c \rangle$, so it suffices to look at $\langle (1 \, k), c \rangle$ for positive integers $2 \leq k \leq n$.  I've checked that, for the value $k=2$, $\langle (1 \, 2), c \rangle = S_n$.  This immediately implies $\langle (1 \, n), c \rangle = S_n$.  I suspect that no other values of $k$ will work, but am not sure how to prove it. Downgrade SQL Server Enterprise Edition to SQL Server Standard Edition