Assigned to field is READ ONLY cannot edit.

cpinedatx94
Tera Expert

I have a "Assigned to" field on my work order form that isn't able to be edited. I've checked the debugger and I can see that "WRITE" is set to false.

 

eqoFr6e

 

After navigating to ACL for it im met with a un-editable screen.

 


Ri65AsN

 

 

Can someone please assist me. I just need to make this field editable! Thanks

1 ACCEPTED SOLUTION

So I installed FSM on my PDI. OOB behaviour is:

Record level write behaviour (grants access to write, but not to all fields, refer to the second part)

  1. Opened by is 'me' or empty
  2. User has wm_basic role can write to records unless
    1. sn_fsm.use_query_rules is true and query rules need to be respected
      1. Need to have either wm_qualifier, wm_dispatcher, wm_agent
      2. FSM territory planning needs to be enabled

Field level behaviour (need to pass record level write ACL in order to do the following)

  1. Users with wm_task_initiator can amend the assigned_to field when the wm_order is in draft
  2. User needs to have wm_agent, wm_approver_user, wm_qualifier, or wm_dispatch
    1. and state of Draft, Qualified, Assigned, Work In Progress
    2. and the script sn_sm.SMConfiguration() checks whether the wm_order itself is a workable task, or a lifecycle driver to which child tasks should be created. (OOB wm_order should be a parental task).

So that's why you can't edit it. The wm_order isn't intended to be assigned unless you've modified the sm_config record for field_service to allow assignment to an individual. Instead it's meant to be assigned to a group and individual sub-tasks assigned to users

View solution in original post

7 REPLIES 7

Kieran Anson
Kilo Patron

In order to edit an ACL you need to have the security_admin role, and elevate your session

Elevating Privileges | ServiceNow Developers

Ok but what do i actually need to do or change once i have that elevated role. Do i need to delete the ACL rule? It said it was created or updated by Admin. Does this mean this ACL rule OOB? Why is it even needed

I don't have FSM installed however your screenshot shows that a work order should only be assignable when in 1 of 4 states, and a scripted condition is met (that is cut off within your screenshot). Likely there is an overarching process flow to work orders which changing the assinged to could break

Community Alums
Not applicable

Hi @cpinedatx94 ,

 

To the edit the ACL you need to elevate the role.

SanjayG_0-1715358619161.png

 

Then select security_admin and update-

SanjayG_1-1715358672512.png

 

Then reload your ACL and it will be editable.

Note: check your script condition to validate why its setting assigned field as read-only

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!

 

Thanks & Regards,

Sanjay Kumar