Where do the work_start & Work_end dates get set to read -only on the Project form

bpolo
Tera Guru

Checked most of the project scripts and cant seem to find where the work_start & work_end dates are being set to read-only. Please would someone be able to advise. Thanks!

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi,



Did you got a chance to Test the Solution provided for your query.



If your query is Resolved, Please mark the answer as correct so that the thread can be removed from the Unanswered list.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

15 REPLIES 15

dileepsingiredd
ServiceNow Employee
ServiceNow Employee

Hi Bernardine,



You need to check the ACL's and the script on the ACL for fields work_start and work_end.



Thanks,


Dileep


bpolo
Tera Guru

Hi Dileep


Thanks for your response but this didn't seem to work. I inactivated the work_end ACL, but the field remained read-only.


Thanks!


robpickering
ServiceNow Employee
ServiceNow Employee

It is definitely ACLs that are making these fields read-only:



Screen Shot 2017-03-27 at 8.10.17 AM.png


From the Debug Log:



Screen Shot 2017-03-27 at 8.16.14 AM.png


Unfortunately, the ACL that is causing these to be read-only is the base pm_project.write rule (within the script evaluation, which sets these to read-only if they are roll-up fields).



Screen Shot 2017-03-27 at 8.20.41 AM.png



To force these to be writable, you'll need to create NEW ACLs on pm_project.work_start and pm_project.work_end that reflect when they should be writable.


However, since these are roll-up fields, allowing them to be writable will cause issues (which is why they're set read-only in the script).




-Rob


Hi Rob



Thanks very much for all your help. I am confused on a few issues still. I inactivated the work_end ACL, but it was still read-only. I then re-activated it, and removed the script but the field still appeared as read-only. Also, I was wondering, how are these fields set tobe   roll-up fields?


Thanks again!