com.glide.script.fencing.CrossScopeAccessNotAllowedException: Access to ScopedEmailWrapper from scope XXX not allowedIssue Inbound action written to update target record on table which is in scoped application doesn't work.CauseThe Issue occurs because inbound action doesn't get Write access to the table created in scoped application.ResolutionWe were able to resolve this issue by creating a sys_scope_privilege record. A sample .xml of such record is - <sys_scope_privilege action="INSERT_OR_UPDATE">4 <operation>execute</operation>5 <source_scope display_value="Change Management - CAB Workbench">18351d53eb32120034d1eeea1206fe79</source_scope>6 <status>allowed</status>7 <sys_class_name>sys_scope_privilege</sys_class_name>8 <sys_created_by>beth.anglin</sys_created_by>9 <sys_created_on>2016-07-19 07:16:20</sys_created_on>10 <sys_customer_update>false</sys_customer_update>11 <sys_id>41e80b80eb3022002a7a666cd206fe89</sys_id>12 <sys_mod_count>0</sys_mod_count>13 <sys_name>ScopedEmailWrapper</sys_name>14 <sys_package display_value="Change Management - CAB Workbench" source="sn_change_cab">18351d53eb32120034d1eeea1206fe79</sys_package>15 <sys_policy/>16 <sys_replace_on_upgrade>false</sys_replace_on_upgrade>17 <sys_scope display_value="Change Management - CAB Workbench">18351d53eb32120034d1eeea1206fe79</sys_scope>18 <sys_update_name>sys_scope_privilege_41e80b80eb3022002a7a666cd206fe89</sys_update_name>19 <sys_updated_by>beth.anglin</sys_updated_by>20 <sys_updated_on>2016-07-19 07:16:20</sys_updated_on>21 <target_name>ScopedEmailWrapper</target_name>22 <target_scope display_value="Global">global</target_scope>23 <target_type>scriptable</target_type>24 </sys_scope_privilege> After creating a record for application scope and target name - ScopedEmailWrapper the issue got resolved.