I have a UE script deployed on customer records. ...
# sdf
m
I have a UE script deployed on customer records. The SDF object did not have the
<executioncontext>
node and it deployed fine. In the UI, I added deployments for Leads and Prospects. For all three deployments, I also added the
WEBSTORE
execution context. In WebStorm, I right-click the object and select 'Update with Account Object' and the object is updated. Now when I deploy, I get
Details: The executioncontext field for the customdeploy_tj_sync_leads (scriptdeployment) subrecord must not be ACTION
and
Details: The executioncontext field for the customdeploy_tj_sync_leads (scriptdeployment) subrecord must not be WORKFLOW
. This is repeated for Prospects and Customers. If I remove
ACTION
and
WORKFLOW
from each and deploy, I get the same thing except now it's
BUNDLEINSTALLATION
and
WEBSTORE
. It seems to be always the first and last in the list. This is a valid configuration because it's working in the UI. Why can't I deploy it with SDF?
Figured it out. WebStorm reformatted the XML file and added newlines in the <executioncontext> tag so it looked like below. SDF didn't like the newlines.
Untitled