We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Resource assignment is deleted after resource is assigned

Gaspar Fiks
Tera Expert

Hello Community! 

At the moment a Resource Assignment is assigned to a Resource, it is deleted, and a new one is created within the same Resource Plan. I think this is expected to happen because on the resource plan form we can see the logs like this: 

GasparFiks_0-1764168517288.png

 

I am now having a problem; I have some custom fields on the Resource Assignment form and when the new one is created, is not getting the field values from the original RA. 

 

GasparFiks_1-1764168727980.png

 


Can you please help me finding where is the background logic of this and how to fix it? 

Thank you all! 

 

1 ACCEPTED SOLUTION

Hello Gaspar, 

 

ResourceBoardActionServiceSNC is protected, but you should use the extended script: ResourceBoardActionService. In this script you have to add the full function "_getFieldValueMap" and modify it with the line I mentioned before.

Good luck!

View solution in original post

5 REPLIES 5

@PatriciaM485071  Hey could you please guide me

When we convert the resource plan to resource assignment
We see the cost plan is doubled.

 

I understand labor cost if populating based on planning attr and rate model - we user Group-user-role and ootb planning attribute (expense type, employee type and role) for financial 

 

how to debug and resolve this. appreciate your guidance