Thursday 11 July 2013

SOA WORKFLOW NOTIFICATION : CUSTOMIZE EMAIL HEADER PREFIXES


Workflow does support header customizations via "WorkflowCustomClasspathURL"

The customized resource bundles can be  packaged as a jar file and referred
from WorkflowCustomClasspathURL.

Please follow the steps below to customize the EMAIL headers:
1. Navigate to MW_HOME/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1
2. From the library bpm-services.jar extract the following directory to a local location:
    oracle/bpel/services/workflow/resource

Note:
-----
i. The reason , we extract these resource bundles from the SOA directory is
to be sure that we have the latest properties.
ii. Please make sure that the directory structure is maintained in the
extracted folder
iii. Delete the class file i18NUtil.class from the extracted directory
  
3. Make the following modifications in WorkflowLabels.properties 
  A. To customize "Action Required"
      TASK_VIEW_CONTEXT_ASSIGNEE_ASSIGNED=Action Required
      to
      TASK_VIEW_CONTEXT_ASSIGNEE_ASSIGNED=Customized Action Required
  B.  To customize "Routed"
      TASK_VIEW_CONTEXT_ROUTED=Routed
      to
      TASK_VIEW_CONTEXT_ROUTED=Action Required
  C. To customize "Completed to Approved" and "Completed to Rejected"
     Add
     TASK_VIEW_CONTEXT_ASSIGNEE_APPROVE=Approved
     TASK_VIEW_CONTEXT_ASSIGNEE_REJECT=Rejected
  Please repeat the procedure for any other languages by editing the
appropriate  translated WorkflowLabels_**.properties files.
.
 4. Zip back the entire folder into a jar file (say , customizedbundle.jar)
 5. The 'WorkflowCustomClasspathURL' parameter can be configured from the EM
SOA Console.
   [soa-infra - Administration - System MBean Broswer - Application Defined
MBeans - oracle.as.soainfra.config
          - Server: <Instance Name>
            - WorkflowConfig
              - human-workflow - WorkflowCustomClasspathURL)
   Provide the path to customizedbundle.jar
    => file:///{path_to_customizedbundle.jar}
 6. Click Apply
   Verify that the email subject contains the intended changes.

2 comments:

  1. nice post! I really like and appreciate your work, thank you for sharing such a useful information about human resource laws and oracle, keep updating the information, hear i prefer some more information about jobs for your career hr jobs in hyderabad .

    ReplyDelete
  2. Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles.Oracle OSB Online Training

    ReplyDelete