I have a process that appeared to be working well when I was the only name in all the discipline fields. An Engineering Manager has the ability in Part 4 of the form to pick and choose:
1. the discipline team that needs to conduct a review and
2. an individual name from that team (they can also leave blank and it'll go to the team).
As you can see in the example below, I have chosen all the teams but also chose a specific individual on the Nuclear team:
All of that is working beautifully! From here, I have six different forms for each discipline. This is what "Drafting" will see:
This is the code written place my name in the field to show that I accepted the task:
$(document).ready(function(){ //Check for Blank Displayname and Username and Fill with Current User if($('.drafting input').val() == ''){ $('.drafting input').val($('.displayname input').val()); $('.draftingUsername input').val($('.username input').val()); } //capture timestamp $('.Approve').click(timestamp); function timestamp() { var d = new Date(); var minutes = d.getMinutes(); var hours = d.getHours(); var fullYear = d.getFullYear(); var day = d.getDate(); //returns day as 1-31 var month = d.getMonth() + 1; //getMonth returns month as 0-11 var fullDate = month + "/" + day + "/" + fullYear; if (minutes < 10) {var minutes = "0" + minutes;} if (d.getHours() < 12) {var a = "AM";} else if (d.getHours() == 12) {var a = "PM";} else {var a = "PM"; hours = hours - 12;} if ($(this).hasClass('Approve')) { $('.draftingDateSigned input').attr("readonly", false); $('.draftingDateSigned input').val(fullDate + " " + hours + ":" + minutes + " " + a) $('.draftingDateSigned input').attr("readonly", true); } }; }); //close document.ready
So I did the same for all other disciplines. This review process runs in parallel:
Now that you have the background, here's the problem:
User 1 opens Drafting task ... reviews and approves. User 1's display name is in the Drafting section.
User 2 opens Structural task ... reviews and finds that User 1's display name is in the Structural section when it's supposed to be User 2's display name.
User 3 opens QAE task ... reviews and also finds that User 1's display name is in the QAE section when it's supposed to be User 3's display name.
How can that happen when I've coded each individual form for each discipline?