two group can modify fields(Category, short description and notes)in a closed Interaction record

Dileep Raju
Giga Guru

Hi Team
Please Help me.
These two groups (test users, test users manager) should have the ability to modify these three fields (Category, short description and Work notes) for the agent in a closed Interaction Record.

2 ACCEPTED SOLUTIONS

sushantmalsure
Mega Sage
Mega Sage

Hi @Dileep Raju 

I am looking into OOB instance and following is my solution considering that:

 

Create 3 write operation ACL for interaction.work_notes , interaction.short_description and interaction.category.

In these ACLs add following script and in condition: state= Closed Complete.

Script:

if(gs.getUser().isMemberOf('test users') || gs.getUser().isMemberOf('test users manager')){
answer = true;
}
else{
answer = false;
}

Add correct name as group name and test

 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

Hi @Dileep Raju : Sure then you can write Ui policy or client script to do the same.

 

There are existing ACLs for  interaction.work_notes and interaction.* , any idea how are you gonna take care of them which will continue to apply to these 3 fields?

You need to handle this at ACL level and then write client script and UI policy to do the expected outcome.

Or else write 3 ACLs as said above, choice is yours.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

12 REPLIES 12

sushantmalsure
Mega Sage
Mega Sage

Hi @Dileep Raju 

I am looking into OOB instance and following is my solution considering that:

 

Create 3 write operation ACL for interaction.work_notes , interaction.short_description and interaction.category.

In these ACLs add following script and in condition: state= Closed Complete.

Script:

if(gs.getUser().isMemberOf('test users') || gs.getUser().isMemberOf('test users manager')){
answer = true;
}
else{
answer = false;
}

Add correct name as group name and test

 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hi @sushantmalsure 
Thank you for quick reply
I dont want to write ACL... Could you please help me with UI Policy or client script or business rule

Hi @Dileep Raju : Sure then you can write Ui policy or client script to do the same.

 

There are existing ACLs for  interaction.work_notes and interaction.* , any idea how are you gonna take care of them which will continue to apply to these 3 fields?

You need to handle this at ACL level and then write client script and UI policy to do the expected outcome.

Or else write 3 ACLs as said above, choice is yours.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hi @sushantmalsure 
Thank you
ACL is worked for short description and category 
ACL is not working for Work notes
Could you please help me