cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

email group of full user list

email group of full user list

there should be a way to email the full current user list with one selection. this would be very helpful for an admin to select a button that populates all users in a draft email so changes can be easily communicated with the users in your tenant. currently if I want to email everyone that is currently active I have to go to the Autodesk account and manually add each user to a draft email for communication. 

5 Comments
richard.valdez
Collaborator

how much support needs to be gathered to make things happen? 

sven.dickmans
Autodesk

Do you want to send the mails from your Outlook account / manually or should the mails be sent by Fusion 360 Manage?

To send a mail from Outlook to all users, you could add a user group in your Outlook account with all Fusion users to make life easier.

If Fusion should send the mails instead, you could create a users group 'All' in Fusion and add all users to this group. Using a script, you can then get the list of all users in this group and send the given notification to all these users (use Security.listUsersInGroup('GROUP_NAME'))

richard.valdez
Collaborator

An email should be able to be generated from the Autodesk Account so no groups need to manually be created in outlook, the account is already set up with all active users and there should be a way to compose an email to the latest list of active users. Manual list keeping (in Outlook) is never a good idea especially since users are always changing. 

richard.valdez
Collaborator

active users already are set up with current email addresses in the account and this would allow admins to communicate upcoming system changes that impact all users. 

sven.dickmans
Autodesk

Agreed, I just wanted to make sure that I understand your idea correctly.

While your idea is not covered by standard functionality yet, you can use the following workaround already today:

  1. Configure the user groups you want to use for notifications in the Security settings of PLM and add the users to these groups. You can also use these groups for access permission control, but you do not have to.
  2. Add a new Picklist that contains the user groups created before. Add one entry for each valid user group to be used for notifications. The Picklist Values must match the given user group names exactly:

    Screenshot 2023-10-24 at 09.12.46.png

  3. In the workspace that should trigger notifications, add a picklist field with reference to the list that was created just before. Enable single selection for this field - Multi-selection would work as well, but the script of next step only handles single selection as of now.

    Screenshot 2023-10-24 at 09.15.28.png

  4. Finally, add a script which will read the selected group, get all users defined within this group and send a mail to all these users in background. You can attach the following script code to the onEdit event of your workspace, a workflow transition or also a custom action.

    sendMailToGroup(item.DISTRIBUTION_LIST);
    
    
    function sendMailToGroup(groupName) {
        
        if(groupName === null) return;
        
        var users     = Security.listUsersInGroup(groupName);
        var addresses = [];
        
        if(users        === null) return;
        if(users.length === 0   ) return;
        
    	for(var index in users) addresses.push(users[index].email);
    		    
    	var email           = new Email();
    	    email.to        = addresses.toString();
    		email.subject   = "New Message from PLM";
        	email.body      = "Message Text";
            email.send();
        
    }​

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea