Doer & Checker Validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2020 10:07 PM
In order to address an audit violation, my Services needs to validate that the Implement Change (Doer) & the Check Implementation (Checker) tasks are not assigned to the same person. The assignment group can be the same, but the Assigned to, should be a different person
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2020 10:38 PM
Hi Jyothsna,
You can use this script onChange of "Assigned to" && "Checker" as well.
onChange of Checker
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
var a = g_form.getValue('assigned_to');
if ((newValue==a)&& a!=''){
alert('Checker cannot be same as the Assignee.');
g_form.setValue('u_checker',"");
}
}
onChange of Assignee
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
var a = g_form.getValue('u_checker');
if ((newValue==a)&& a!=''){
alert('Assignee cannot be same as the Checker.');
g_form.setValue('assigned_to',"");
}
}
Please mark helpful if it solves the purpose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2020 10:53 PM
Hi Shivani singh,
Thank you for your immediate reply
Acceptance criteria:
When a change is in the Implement state and the Implement Change and Check Implementation are auto created, that the assigned to each specific task is a different person.
that script is useful for this or can i add any other script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2020 11:26 PM
As per my understanding, you have two different CTASK one for Implementation and another for Validation, right?
So, assignee of implementation task should not be same as Assignee of Validation task ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2020 01:14 AM
yes exactly