Honestly, ```/** * @NApiVersion 2.1 * @NScriptTy...
# suitescript
n
Honestly,
Copy code
/**
 * @NApiVersion 2.1
 * @NScriptType WorkflowActionScript
 * @NModuleScope public
 */

define([],
    function () {
        function onAction(scriptContext) {
            log.debug('scriptContext', scriptContext);
        }

        return {
            onAction: onAction
        }
    })
New code and still not firing the script, even though it enters the state and executes other actions in the state
b
probably want to make sure the deployment and the action are setup properly
n
Deployed running in admin mode, and released
b
there are 14 steps to deploying a script. which have you done
n
Have done them all
message has been deleted
b
there doesnt look to be anything interesting on the action, it should trigger assuming you have other actions in your state triggering after record submit
its probably the deployment, which means you should be sharing pictures of that instead
n
message has been deleted
t
what about the "All Roles" try to check them
n
Have done that as well
b
only thing interesting there is that the employee triggering the script should belong to the redacted subsidiary
n
Just checked the "all employees" checkbox and still no fire on the script
b
if you just added that, then the employee still has to belong to the redacted subsidiary
safest is basicallly all roles with no other modifiers
n
message has been deleted
cool, set it to that but still no luck
b
only other place is the script record
and thats usually only if you messed up the name of the file
n
message has been deleted
amazing
it was missing the .js
at the end
ima go end it now lol
Seriously thank you for all the help lately @battk