Hi guys, Do `custom modules` work in `Workflow Ac...
# suitescript
p
Hi guys, Do
custom modules
work in
Workflow Action Script
? It doesn't run for me like other script types do. Is having 1 big Action Script the only way?
b
they should
z
Copy code
/**
 * @NApiVersion 2.1
 * @NScriptType WorkflowActionScript
 */
define(['N/https', '../lib/rdata_sef_api'],
    /**
 * @param{https} https
 */
    (https,sefAPI) => {
works for me …
j
works for me the exact same way as other scripts. Are you getting an error or what?
p
My mistake, everything works fine now. Thanks for quick confirmation anyway!