getreference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2024 07:52 AM
if Caller - Manager and Assigned TO - Manager both are same,then alert message.?
"Both Caller and Assigned To Manager are same"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 05:03 AM
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var callermanager = g_form.getReference("u_manager", callback);
function callback(callermanager) {
g_form.setValue("u_manager", callermanager.manager);
}
var assignedto = g_form.getReference("assigned_to", setback);
function setback(assignedto) {
g_form.setValue("assigned_to", assignedto.assignedto);
}
if (callermanager == assignedto) {
alert("Both Caller and Assigned To Manager are same");
}
}
thanks,
venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2024 09:31 PM
Configure a Display Business rule as shown below :
Output :
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.