Jump to content

Spel Code placement in majic folder

Recommended Posts

Hi Team


I got  below spel from communities for location base grouping so that when ever location is selected by the user in ticket page , same group should also select. 


for Instance,

                Location : CC WCC LHR  GROUP: CC WCC LHR

                Location : CC RWP           GROUP: CC RWP


Whenever location cc wcc lhr or cc rwp then the group will assign the same. so it will work same location n group name.

spel code below, (zRegion is custom field of location)

this.group = (uuid)expand(format("&{'%s' = grp.last_name->id}", this.zRegion.name));


Please help where to add this spel in mods--> majic folder, there are some files, in which files i need to add this spel?



Autoassignment will not work for me as we have hundred of endusers and we cannot assign their location in contact.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now