How do you store user email or username instead of RID in action types?

260 Views Asked by At

I am trying to store the emails and usernames of users who trigger an action type that modify or creates an object. I can do that for the id already, but am not sure how to get other properties?

1

There are 1 best solutions below

1
On BEST ANSWER

Yes it is possible to store username and email of the current user. The easiest way to do that is to follow these steps:

  1. In your Workshop Application, create 2 variables using: New variable > String > Multipass attribute > Username Create two variables
  2. Add the two variables as a default value to the fields of your action (here the name of the field is Attachment) Add variables to action field
  3. The username and emails will be filled by default in the form: Action submission form

This information will be stored in "Entered By" property. As they are multipass attributes, if you display such property in a table, the name of the user will appear. end result