Support app issues with current user

0
I have built a support app for tickets, I want to add the functionality that upon changing a ticket’s support to “in progress” the current user would be shown to everyone.    I have an EmailConnector entity connected to my Accoutn entity as an association 1-1. However, I still have not found a working solution to display the full name of the user.   I have created a microflow:   Now I don’t know what to do next how to display this. I’m losing my mind over this, so please help.   My view page is a dataview EmailMessage which has the ticket in email form and other stuf...then support status dropdown and below that I need the name of the user.    
asked
1 answers
1

Hi Gal, this depends on how you setup your security. When you say: 'the current user would be shown to everyone’, what do you mean? Shown for all Administrators? Or another user with a different user role? The problem you face, I guess, is because Account is a specialization of the System.User entity and by default it's setup so that you can only manage your own Account. Some solutions, without knowing the answer to my questions:

1. In app security: make sure you select the right User Role in User management (see screenshot below). For example: if a Manager/Administrator should be able to manage all/certain Employees (I don't know your situation), the Employee button needs to be selected.

2. In EmailConnector or EmailMessage entity add a string attribute ‘User’ or something. Then, whenever creating this object, fill this attribute by retrieving the current user and use a change object activity for EmailConnector/EmailMessage and fill that attribute. This way you are not restricted by security.

answered