Hi Guys, I am calling SuiteLet from UserEvent scri...
# suitescript
a
Hi Guys, I am calling SuiteLet from UserEvent script but the it's not triggered. Below is the code, var suiteletURL = url.resolveScript({ scriptId: 'customscript_aby_ns_usaepay_process_cp', deploymentId: 'customdeploy_aby_ns_usaepay_proc_cp_dep', returnExternalUrl: true, parameters: { 'custPymtId': custPymtId } }); log.debug('DEBUG','suiteletURL: ' + suiteletURL); var response = https.post({ url: suiteletURL, body: 'MY DATA' }); Any help??
b
you probably want to take a look at the response body
otherwise the better approach is to use the suitelet's code as a custom module
a
@battk what I check in response body? could you please let me know?
b
the response body probably has information about whats wrong
a
Okay