AnsweredAssumed Answered

How to copy a value from on column to another on save?

Question asked by DArceyTaylor on Apr 11, 2018
Latest reply on Apr 12, 2018 by camja06

Hey,

 

So I am trying to populate a custom column 'zdivision' in the call_req table, with a value from the customer.location.site.id. The plan is to have the customer's site populate that custom column with its value when a new ticket is saved. Then when the ticket is opened again the two fields will be identical, but the custom field will be an editable dropdown while the customer's site will be a read-only field.

 

I currently have a way to do this using some javascript but it is causing a Delayed Server Response error sometimes. So I am seeking other ways of doing this, I would think that a <PDM_SET> should work, but I am still kinda new to SDM development and I am unsure if I used it correctly. This is what I have in my set:

<PDM_SET arg.zdivision = $arg.customer.location.site.id>

 

If anyone has any tips on using the PDM_SET or any other methods of completing this goal please let me know.

 

Thanks

Outcomes