Forum Stats

  • 3,769,240 Users
  • 2,252,937 Discussions
  • 7,874,958 Comments

Discussions

Editing the OOTB Human Task Notification

Hi Everyone,

I am using SOA 11.1.1.9 with conjunction to OIM 11.1.2.3. I am trying to edit the notification that is sent ootb from the Human Task. I am using the following documents :

https://docs.oracle.com/middleware/11119/soasuite/SOASE/bp_designtf.htm#SOASE743

https://docs.oracle.com/cd/E52734_01/oim/OMDEV/uicust.htm#OMDEV3579

Instead of creating another jsp I am instead using the taskDetails one that is generated directly. I have added some custom pieces and removed a lot of the information that comes from the task OOTB.

Here is some sample code of what my jsp looks like:

<?xml version='1.0' encoding='UTF-8'?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"

          xmlns:f="http://java.sun.com/jsf/core"

          xmlns:h="http://java.sun.com/jsf/html"

          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"

          xmlns:c="http://java.sun.com/jsp/jstl/core"

          xmlns:trh="http://myfaces.apache.org/trinidad/html"

          xmlns:wf="http://xmlns.oracle.com/bpel/workflow/workflow-taglib.tld">

  <jsp:directive.page contentType="text/html;charset=UTF-8"/>

  <f:view>

    <af:document id="d1" title="#{bindings.title.inputValue}">

      <af:messages id="m1"/>

      <af:resource type="javascript" source="/jsLibs/commonBPM.js"/>

      <af:resource type="javascript" source="/jsLibs/taskDetails.js"/>

      <af:resource type="javascript" source="/jsLibs/commonBPM.js"/>

      <af:form id="f1">

        <af:panelGroupLayout layout="vertical" inlineStyle="padding: 5px;"

                             id="pgl5">

          <table border="0" cellspacing="0" cellpadding="0"

                 style='width:412.5pt;padding:0in 0in 0in 0in' width="878">

            <tr>

              <td>

                <table border="0" cellspacing="0" cellpadding="0">

                  <tr>

                    <td>

                      <table style="background-color:#00A0E0;">

                        <tr>

                          <td valign="bottom" align="center" height="105"

                              width="105">

                            <font size="4" color="white" face="Arial">

                              A message

                            </font>

                          </td>

                        </tr>

                      </table>

                      <br/>

                    </td>

                  </tr>

                  

                <tr style='height:13.5pt'></tr>

                  <tr style='height:25.65pt'>

                    <td>

                      <p>

                        <span style='font-size:18.0pt;font-family:"Arial","sans-serif";color:#00A0E0'>from

                                                                                                                            Identity

                                                                                                                            &amp;

                                                                                                                            Access

                                                                                                                            Management</span>

                      </p>

                    </td>

                  </tr>

                </table>

              </td>

            </tr>

          </table>

          <af:showDetailHeader size="2" text="#{bindings.title.inputValue}"

                               shortDesc="#{resources.TASK_HEADER}"

                               disclosed="true"

                               icon="/hw_images/singleapprover_35x35.png"

                               id="sdh1">

            <af:panelFormLayout maxColumns="3" rows="4" id="pfl3">

              <af:panelLabelAndMessage label="#{resources.TASK_NUMBER}"

                                       id="plam11">

                <af:outputText value="#{bindings.taskNumber.inputValue}"

                               id="ot15"/>

              </af:panelLabelAndMessage>

              <af:panelLabelAndMessage label="#{resources.STATE}" id="plam30">

                <af:outputText value="#{resources[bindings.state.inputValue]}"

                               id="ot4"/>

I have deployed the ADF as a part of the specified oracle.iam.ui.custom-dev-starter-pack.war file. Once deployed and server restart, I initiated the composite to see if the human task in fact generates the specified email, and it doesn't. Can anyone help with a procedure to edit the OOTB email template and deploy it?

Thank you,

Tagged:
This discussion has been closed.