I have a User Event Script that is NOT firing when...
# suitescript
j
I have a User Event Script that is NOT firing when SOAP integration adds a record. I have the deployment executing as admin, I set audience to all roles. I even set to all external. The script fires from the UI but is not executing when the integration creates an record. I have a simple debug log outside all logic. This thing is simply not firing. Any thoughts?
d
under the Context Filtering tab, do you have SOAP Web Services selected?
j
yes - 38 of 38 contexts selected
m
Also, in the SOAP header, individual requests can turn scripts and workflows on and off using the
<runServerSuiteScriptAndTriggerWorkflows>
element
☝️ 2
👍 1
j
I can see his posts in the logs - I'll look for this
ok - I can see that setting is FALSE - B I N G O !!!
🙌 2
k
You need to open the integration record and check the
'Run Server SuiteScript and Trigger Workflows'
checkbox. Navigation:- Setup--> Integration-->SOAP Web Services Preferences
m
@Komal Kumar That sets the default for the account, but it can still be overridden at the request level.
💯 2
k
okay