0 votes

We're utilizing the custom adaxes attributes for a few parts in our employee onboarding procedure. Among them is a step where we specify what buildings a user will need access to. The attribute that is storing this info is "adm-CustomAttributeTextMultiValue1".

In our business rule to send out an email after the user gets created, when refencing "adm-CustomAttributeTextMultiValue1" in the email, only the last value will be sent.

Example: "adm-CustomAttributeTextMultiValue1" has the following values; 1 2 3 4

When referencing "adm-CustomAttributeTextMultiValue1" in the email body, it only shows value 4, instead of 1 2 3 4.

How can I get all the values of "adm-CustomAttributeTextMultiValue1" to be sent out in an email?

by (50 points)

1 Answer

0 votes
by (295k points)
selected by
Best answer

Hello Kruz,

This behavior is by design. Unfortunately, there is currently no possibility to add all the values of a multi-valued attribute to an email notification sent by the Send email notification action. It can only be done using a script. In the script, you need to use the GetEx method to retrieve all the property values and the $Context.SendMail method to send the email notification. Should you have issues writing the script, please, post here or send us (support@adaxes.com) examples of the email notification and its subject. Also, please, specify who the recipients should be. Any additional details regarding the desired behavior will be much appreciated.

0

Great thank you, the script worked.

Related questions

0 votes
1 answer

We are wanting to display all values entered into a multi value text attribute in an email sent by Adaxes. What we've found is that only the first entry into the array ... Entry" Is there a way to reference the variable so that it displays all entries? Thanks

asked Dec 12, 2024 by msheppard (660 points)
0 votes
1 answer

Dear Support, Is it possible in "generate default value" section of pattern for multivalued attribute to provide more than 1 value from "must be one of" section? E.g. Pattern ... E" and to have default generated values in web interface "A,C" Thanks for advise!

asked Jul 7, 2020 by Dmytro.Rudyi (920 points)
0 votes
1 answer

We are using the below snippet to grab the email of a single custom attribute object. Can I get guidance on the best way to modify this to get all the emails of each ... "The user specified in parameter 'MyParameter' has no email address. ", "Information") }

asked Dec 23, 2024 by msheppard (660 points)
0 votes
1 answer

Hello, i have created a custom attribute named user entry date. When a new user is created they need to enter the entry date with the create user command. The entry date ... buisness rule because it does not write any value in the sent email. Thank you, Fabian

asked Jun 7, 2024 by fabian.p (380 points)
0 votes
1 answer

I need to know how to Create a new Custom Attribute which I wants save some informations of Users

asked Jun 12, 2023 by kanishka.silva (40 points)
3,605 questions
3,292 answers
8,342 comments
548,454 users