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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...