I am facing a challenge with a simple read ACL. Not sure where I'm missing. Need to help…
- User
I am facing a challenge with a simple read ACL. Not sure where I'm missing. Need to help you resolve my issue that I have explained below. For the table "sn_hr_core_case_cabin_crew", I have written 2 read ACL. ACL1: If the user has the below role, he will be allowed to read the record. ACL2: If the case is assigned to the user, then allow read access.
answer = caseAssignee();
function caseAssignee() { var userID = gs.getUserID(); var assignee = current.assigned_to; gs.info("ACL | Cabin Crew Read Access " + userID + ' | ' + assignee); if (userID == assignee) { return true; } else { return false; } } When I impersonate the assigned to user, I'm able to view the list of records. However, on click of any of the records, I'm getting "No records found" message only.
Can you help me understand what I'm missing here?
- Assistant
- User
I have created a glideajax to send data from client to script include, so the field is on the form: - ABC.
So I am sending sys_id in string form and sending this data to client side, the data is coming but how to set this list in reference field.
I am using g_form.setValue("field_name" , answer);
- Assistant
- User
I've a requirement to set a catalog variable mandatory based sc task state choice. I tried using catalog script but it is not working:
var sd = g_form.getValue('short_description'); var state = gform.getValue('state'); if (sd == 'Please attach the template') ( if( state == 3)( g_form.setMandatory('upload_the_template', true);
- Assistant
- User
I have Multiple variable set called CI and reference field is CMDB_CI if i select user That particular CI should auto populate for that user. how can we achieve these.
- Assistant