<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>Script_magic</string> </key>
            <value> <int>3</int> </value>
        </item>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_container</string> </key>
                                <value> <string>container</string> </value>
                            </item>
                            <item>
                                <key> <string>name_context</string> </key>
                                <value> <string>context</string> </value>
                            </item>
                            <item>
                                <key> <string>name_m_self</string> </key>
                                <value> <string>script</string> </value>
                            </item>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_body</string> </key>
            <value> <string>fiber_request = state_change[\'object\']\n
portal = state_change.getPortal()\n
\n
support = portal.WebSite_getSupportEntity()\n
\n
notification_message = context.NotificationTool_getDocumentValue(notification_reference, language=fiber_request.getLanguage())\n
\n
mapping_dict = {\'customer_name\':fiber_request.getTitle()}\n
\n
mail_text = notification_message.asText(\n
  substitution_method_parameter_dict={\'mapping_dict\':mapping_dict})\n
\n
portal.portal_notifications.sendMessage(\n
  sender=support,\n
  recipient=(fiber_request, ),\n
  subject=notification_message.getTitle(),\n
  message=mail_text,\n
  message_text_format=notification_message.getTextFormat(),\n
  notifier_list=(\'Mail Message\',),\n
  store_as_event=True,\n
  event_keyword_argument_dict={\'follow_up_value\': fiber_request},\n
  )\n
</string> </value>
        </item>
        <item>
            <key> <string>_params</string> </key>
            <value> <string>state_change, notification_reference</string> </value>
        </item>
        <item>
            <key> <string>_proxy_roles</string> </key>
            <value>
              <tuple>
                <string>Manager</string>
              </tuple>
            </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>FreeFiberRequest_sendMail</string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
