code: protected void sendNotification(
          CmsObject userCms,
          CmsUser recipient,
          CmsProject workflowProject,
          List<CmsResource> resources) {
  
          try {
              String linkHref = OpenCms.getLinkManager().getServerLink(
                  userCms,
                  "/system/workplace/commons/publish.jsp?"
                      + CmsPublishService.PARAM_PUBLISH_PROJECT_ID
                      + "="
                      + workflowProject.getUuid()
                      + "&"
                      + CmsPublishService.PARAM_CONFIRM
                      + "=true");
              CmsWorkflowNotification notification = new CmsWorkflowNotification(
                  m_adminCms,
                  userCms,
                  recipient,
                  getNotificationResource(m_adminCms),
                  workflowProject,
                  resources,
                  linkHref);
              notification.send();
          } catch (Throwable e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
      }
docs: Sends the notification for released resources.<p>
  
  @param userCms the user's CMS context
  @param recipient the OpenCms user to whom the notification should be sent
  @param workflowProject the workflow project which
  @param resources the resources which have been affected by a workflow action