alien4u
07/11/2018, 6:16 PMcreated from
field...alien4u
07/11/2018, 6:19 PMreptar
07/11/2018, 6:20 PMreptar
07/11/2018, 6:20 PMalien4u
07/11/2018, 6:22 PMalien4u
07/11/2018, 6:35 PMLea CC
07/11/2018, 6:55 PMalien4u
07/11/2018, 6:57 PMreptar
07/11/2018, 7:22 PMTHAT_RECORD_IS_NOT_EDITABLE
? It's a user event script, trying to save a newly created case record afterSubmit.alien4u
07/11/2018, 7:29 PMafterSubmit
you need to LOAD the record again and then save it... you can't modify a record in afterSubmit
and just save it...reptar
07/11/2018, 7:29 PMalien4u
07/11/2018, 7:31 PMalien4u
07/11/2018, 7:33 PMheckytect
07/12/2018, 7:57 AM@gmail.com
address, but not able to receive it?rant
07/12/2018, 8:05 AMreptar
07/12/2018, 1:32 PMjmacdonald
07/12/2018, 1:39 PMcontext.newRecord.id
reptar
07/12/2018, 1:42 PMalien4u
07/12/2018, 1:42 PMvar form = context.form;
alien4u
07/12/2018, 1:42 PMfunctionName: "window.open('" + script + "');"
Need to be just a function name which you have in that client script you will attach...alien4u
07/12/2018, 1:43 PMkarlenigma
07/12/2018, 1:46 PMkarlenigma
07/12/2018, 1:50 PM{
"recordType": null,
"id": "55",
"values": {
"GROUP(custrecord_partnumber_item)": {
"value": "546669",
"text": "053 : 53-WF-03BS"
},
"GROUP(custrecord_partnumber_brand)": {
"value": "5927",
"text": "3M"
},
"GROUP(name)": "OCS CS-51"
}
}
but when I use
var context_object = JSON.parse(context.value);
log.debug({title: 'JSON Parsed Context.value', details: context_object});
var item = context_object.values["GROUP(custrecord_partnumber_item)"].value;
log.debug('itemid', item);
var brand = context_object.values["GROUP(custrecord_partnumber_brand"].value;
log.debug('brandid', brand);
var opn = context_object.values["GROUP(name)"];
log.debug('opnvalue', opn);
it only gets to the 2nd log and doesnt go any further. Any one have any ideas? (edited)jmacdonald
07/12/2018, 1:52 PMvar context_object = JSON.parse(context.values);
karlenigma
07/12/2018, 1:53 PMshea
07/12/2018, 1:55 PMkarlenigma
07/12/2018, 1:56 PMshea
07/12/2018, 2:00 PMmapSummary.errors
object in the summarize stage.shea
07/12/2018, 2:00 PM