Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

"Copy Change" not copying all the field values in SWO workspace

ramesh_r
Mega Sage

I am using OOB "Copy Change" to copy change but it's working in normal view but it's not copying all the field values when doing the same in the SWO workspace

ramesh_r_0-1707240538347.png

 

 

what will be the reason .?

 

And i have added the change properties also

 

ramesh_r_1-1707240476155.png

 

 

Below is the script iam using in the UI Action

var sowChangeUtils = new sn_sow_chg.SOWChangeUtils();
var url = current.getTableName() + ".do?sys_id=-1&sysparm_query=";
url += sowChangeUtils.copyChangeURL(current.getUniqueValue());
if (url) {
    action.setRedirectURL(url);
    action.setReturnURL(current);
}

 

ramesh_r_0-1707240418539.png

 

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @ramesh_r 

 

Greetings!!

 

This is not the Normal UI, these are UX Action. So need to check there and update. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG 

 

Yes there is UX form UI action also in this only we calling that UI action. what i need to change here

ramesh_r_0-1707241176384.png

 

Hi @ramesh_r 

 

I tried at my end in PDI and it is as exected, means copying the field as per properties. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Harsh Vardhan
Giga Patron

@ramesh_r  I tested on my personal instance and i can copy it successfully, I just tried to add extra column which you have added in screenshot and its working on SOW .

 

Which column is not copying on SOW ? 

 

Thanks,

Harsh