Hi There,
I believe its possible but something I can not get the smart value work. Unsure what did I miss.
Use case:
This rule checks if the reporter of a new issue belongs to one of the 5 groups (Group A, Group B, Group C, Group D, or Group E). If the reporter is in one of the groups, the Labels field is set to the corresponding value: "A" for Group A, "B" for Group B, "C" for Group C, "D" for Group D, and "E" for Group E. The Smart Value syntax uses conditionals to dynamically set the value of the Labels field based on the group of the reporter.
Code:
{{#user_is_in_group(Group A)}}A{{/user_is_in_group}}\n{{#user_is_in_group(Group B)}}B{{/user_is_in_group}}\n{{#user_is_in_group(Group C)}}C{{/user_is_in_group}}\n{{#user_is_in_group(Group D)}}D{{/user_is_in_group}}\n{{#user_is_in_group(Group E)}}E{{/user_is_in_group}}
I receive this error:
@Mimi Peters how are you ?
I try in my instance the code
{{#user_is_in_group(Group A)}}A{{/user_is_in_group}}\n{{#user_is_in_group(Group B)}}B{{/user_is_in_group}}\n{{#user_is_in_group(Group C)}}C{{/user_is_in_group}}\n{{#user_is_in_group(Group D)}}D{{/user_is_in_group}}\n{{#user_is_in_group(Group E)}}E{{/user_is_in_group}}
And don't send any errors, Can you paste your smartvalues from screenshot ?
Hi Carlos,
Thanks for the code, I replaced it with my team name and give it a try but it gives an error not allow me to enable the rule and give errors attached.
{{#user_is_in_group(Contact Center)}}CSC{{/user_is_in_group}}\n{{#user_is_in_group(Fraud Team)}}Fraud{{/user_is_in_group}}\n{{#user_is_in_group(CDD Team)}}CDD{{/user_is_in_group}}\n{{#user_is_in_group(Global Fraud Team)}}FO{{/user_is_in_group}}\n{{#user_is_in_group(Asia Compliance)}}ACOM{{/user_is_in_group}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mimi Peters , i'm trying to resolve this with list in smart values, however it's not very promising.
Maybe you can use more simple way the automation.
Something like this can help you to maintain the automation update and will help you to debug the automation (if someday the automation crash)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the suggestion so at least it will reduce half of what I originally planned one rule for each. Was greedy to put all in 1 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.