Oracle by Example brandingCalling an Orchestration from a Workflow Process

section 0Before You Begin

Purpose

This OBE shows you how to call an orchestration and a notification from a workflow process.

To know more see the tutorial on Calling an Orchestration from a Workflow Process.

Time to Complete

1 hour 45 minutes.

Background

The JD Edwards EnterpriseOne Orchestrator is a key component of your JD Edwards digital platform. It enables the EnterpriseOne system to perform business tasks in an automated fashion. Starting with Release 23, you can call an orchestration and a notification from a workflow process. You can add an Orchestration task to your workflow process and choose to invoke either an orchestration or a notification or both. For details see, Using Orchestration Tasks (Release 9.2.7) in the Workflow Tools Guide.

The process of creating an orchestration or notification remain same. See:

Scenario

For this OBE, consider a scenario in which you want to create a new workflow to update the mailing address of a supplier. After the request to change the mailing address is approved, the workflow invokes an orchestration that updates the mailing address. The workflow process also sends a notification, to any interested subscribers, regarding the update in the mailing address of the supplier. You goal for this OBE is to create a simple orchestration that will update the supplier’s mailing address and add that orchestration in a new workflow process. You will also create a notification that will inform the user about the update in the supplier’s address. Finally, you will create a logic extension that initiates the workflow process, and a form extension to call the logic extension.

For this OBE, you will act as the designer of the workflow, orchestration, and notification; the initiator (requester) of the workflow process, the approver, and the subscriber to the notification. You will utilize the same data structures that will pass through the workflow and act as inputs for the orchestration and the notification.

Prerequisite

Before performing the tasks in this OBE, you must ensure that:

  1. You have access to a JD Edwards EnterpriseOne test environment in which EnterpriseOne Tools 9.2.7 is deployed.

    Note: The JD Edwards EnterpriseOne Trial Edition deployed on Oracle Cloud Infrastructure meets the requirement for this OBE.

  2. You have an Address Book number that is associated with your user ID.
  3. You have the following security permissions:
  • Access to Orchestrator Studio
  • Create orchestrations, notifications, and logic extensions
  • Create form extensions

section 1Creating a New Orchestration

In this task, you will create an orchestration that will update the supplier’s address after the request is approved. You will add this in a workflow process later. For this, you will record the process of updating the supplier’s mailing address and add that to a form request.

  1. Sign in to JD Edwards EnterpriseOne.
  2. Access Address Book application (P01012) from the fast path.
  3. In the menu bar, click your username and navigate to Personalization.
  4. Click Record a Process.
  5. On the Process Recorder pop-up, click Start.
  6. You can use any Address Number that exists in the system. For this OBE, we will use the supplier with Address Number 3090. Enter 3090 above the Address Number grid and click Find.
  7. Select the record and click Select. Address Book Revision form opens.
  8. Click the Mailing tab to access the mailing address.
  9. Update the Mailing Name field with any change, for example, change “Supplies Unlimited” to “Supplies Unlimited, Inc.”
  10. Update the address in the Address Line 1 field with any change, for example, add a fictitious address.
  11. Update the City, State, and Postal Code. Be sure to add or make some change to each field.
  12. Click OK.
  13. Click Stop on the Process Recorder pop-up.
  14. Enter Update Mailing Address in the Name field.
  15. Enter Supplier’s Mailing Address Update in the Description field.
  16. You can leave the Product Code field blank. By default, Product Code will be 55 – Reserved for clients. You can continue to use the default value.
    Process Recorder Window
    Process Recorder Window
  17. Click Save.
  18. Click X to close the process recorder.
  19. Sign in to the Orchestrator Studio and open Form Requests.
  20. You will see Update Mailing Address that you created. Click it to configure the order of execution.

    The form request will start with Work With Addresses form and will subsequently move to Address Book Revision form. You will see Work With Addresses as 1, followed by Address Book Revision as 2.

  21. In Work With Addresses, navigate to the Order of Execution table.
  22. For Address Number, delete the value in the Default Value column.
  23. For Select Row, delete Select_Row in Input column. Leave “1” in the Default Value column.
  24. Order of Execution for Work With Addresses
    Order of Execution for Work With Addresses
  25. Click 2, Address Book Revision, to configure the order of execution.
  26. In Address Book Revision, navigate to the Order of Execution table.
  27. For Mailing_Name, delete the value in the Default Value column.
  28. For Address Line 1, delete the value in the Default Value column.
  29. For City, delete the value in the Default Value column.
  30. For State, delete the value in the Default Value column.
  31. For Postal Code, delete the value in the Default Value column.
  32. Order of Execution for Address Book Revision
    Order of Execution for Address Book Revision
  33. Click Save.

    Note: Ensure that Mailing_Name, Address_Line_1, City, State, and Postal_Code are available in the same order in the Order of Execution table. Add any missing items from the list of Available Actions on the right and drag it to arrange as per the image above.

  34. Click Manage, then click Create Orchestration. Orchestrator Studio automatically creates an orchestration containing your form service request.
  35. Click Save.

When you create the workflow process later in this OBE you will include this orchestration as a step in the workflow. Upon approval by the approver, this orchestration will automatically update the mailing address for the supplier.


section 2Creating a New Notification

In this task you will create a notification and subscribe to it. This notification will inform any interested subscribers that the supplier’s mailing address has been updated.

  1. On the Orchestrator Studio Home page, click the Notifications icon.
  2. On the Notifications side panel, click the New button.
  3. On the Notifications design page, enter Mailing Address Update in the Name field.
  4. By default, the Product Code is selected as 55 – Reserved for Clients. You can continue to use this.
  5. Enter Notify subscriber about the change in mailing address of a supplier in the description field.
  6. By default, Type is selected as Simple. Continue with the selection.
  7. Expand the Notification Inputs section of the Notification design page.
  8. In the first empty row in the grid, enter Address_Number in the Name column.
  9. In the following rows, enter Mailing_Name, Address_Line_1, City, State, and Postal_Code in the Name column respectively.
  10. By default, the Value Type is String. Continue with it.
  11. Defining Notification Inputs
    Defining Notification Inputs
  12. Click Save.
  13. Expand the Message section.
  14. In the Subject field, enter Mailing Address Change for Supplier ${Address_Number} ${Mailing_Name}.
  15. In the Body, enter the below message:
    Notice: Change in mailing address of supplier: ${Mailing_Name}

    A change in mailing address of supplier ${Address_Number} ${Mailing_Name} has been requested and approved. The new mailing address is:
    Mailing Name: ${Mailing_Name}
    Address Line 1: ${Address_Line_1}
    City: ${City}
    State: ${State}
    Postal Code: ${Postal_Code}

    Tip: To create the table you can select Insert Table from the formatting bar and choose to insert two columns and five rows. You can double-click on the table to access Table Properties and then choose “Align table to the left.”

  16. Configuring Notification Message
    Configuring Notification Message
  17. Click Save.

    Now that you have created a notification you must subscribe to it.

  18. Sign in to EnterpriseOne test environment.

    Note: A notification is a user-defined object. Therefore, you must refresh your EnterpriseOne session to see it. If you are already signed into EnterpriseOne, sign out, then sign back in.

  19. Click your username and click Manage Notifications.
  20. From the drop-down list, click My Subscriptions.
  21. Click Add Subscription.
  22. Select Mailing Address Update from the list of Available Notifications. You can leave all default options as they are.
  23. Click Save.
  24. Close the My Subscriptions page.

section 3Creating a New Workflow Message Template

In this task, you will create a new workflow message that will be sent to the approver for approving the request to update a supplier’s mailing address.

  1. Sign in to the EnterpriseOne test environment.
  2. Navigate to EnterpriseOne Menus > EnterpriseOne Life Cycle Tools > Application Development > Data Dictionary Design > Workflow Messages. Alternatively, you can access the Work With Glossary Items application (P92002) from the Fast Path.
  3. Click Add.
  4. In the Item Specification tab, enter LM55010121 in the Alias field.
  5. Enter Y in the Glossary Group field.
  6. Enter 55 in the Product Code field.
  7. Enter 55 in the Product Code Reporting field.
  8. Enter Approve mailing address change for &1 &2 in the Description field.
  9. Enter 3 in the Error Level field.
  10. Click the Item Glossary tab to enter the body of the message.
  11. Click in the text editor area to activate the cursor.
  12. Enter the below message:

    Mailing address change requires your approval:
    Address Book Number: &1
    Mailing Name: &2
    &3
    &4, &5 &6
    Upon approval this address change will be updated automatically.

    The elements, like &1, &2, &3, represent text substitution variables that will be populated from inputs at runtime. Later in this OBE you will map &1 to “Address_Number”, &2 to “Mailing_Name”, and so on.

  13. Creating Workflow Message
    Creating Workflow Message
  14. Click OK.
  15. Close the Work With Glossary Items form.

section 4Creating a New Workflow Process

In this task, you will create a new workflow process with an action message task.

  1. Sign in to the Orchestrator Studio.
  2. From the Home page, click the Workflows icon to access the Workflow Studio.
  3. Click New.
  4. Enter ADDRESSCHG in the Name field. Since it is a new workflow process, the version would be automatically updated as 1.
  5. The system assigns the Product Code as 55-Reserved for Clients by default. You can retain or change this product code according to your reporting requirement.
  6. Enter Workflow for Updating Mailing Address in the Description field.
  7. Click the Key Data Structure icon and then click the Search icon. A search pop-up window opens.
  8. Enter D0100388 in the Search field and click the Search icon.
  9. Select D0100388 from the Object list.
  10. Click the Additional Data Structure icon and then click the Search icon. A search window pops up.
  11. Enter D0100021 in the Search field and click the Search icon.
  12. Select D0100021 from the Object list.
  13. Click Save.

    Note: The key data structure and the additional data structure are required to define the data items (inputs) that the workflow needs for processing. For simplicity in this OBE, you are choosing data structures that already exist in the system. In actual practice you can create and deploy your own custom data structures to accommodate the data items that your workflow process requires.

  14. Click the Diagram icon to access the diagram workspace.
  15. Drag and drop the Action Message task between the Start and End tasks in the diagram workspace.
  16. Enter APPROVE in the Task Name field and Approve the address change in the Description field.
  17. Click the Edit icon to configure the Action Message task.
  18. In the Message Editor window, select Address Book from the drop-down list in the To Recipient field.
  19. Select mnAddressNumber_AN8 under Additional Data – D0100021 from the drop-down list in the Address Book Number field.

    Note: The drop-down list provides data items from both the key data structure and the additional data structure. Both data structures include a data item called mnAddressNumber_AN8. Be sure to scroll down and choose the one listed under the Additional Data – D0100021.

  20. Select 02 – Priority Mail from the drop-down list in the Mailbox field.
  21. In the Subject Literal field, enter Request for Approval: Supplier Address Change.
  22. Click the Search icon in the Shortcut field. A search window pops up.
  23. Enter P98806 in the Search field and click the Search icon.
  24. Select P98806 from the object list.
  25. In the Form field, select W98806A – Workflow Approval from the drop-down list. This is a generic workflow approval program and form. A link to this form will be included in the approval message that is sent to the approver.
  26. Toggle the Input switch on for szActivityInstanceUniqueID.
  27. In the Mapping column for szActivityInstanceUniqueID, select Current Workflow Task from the drop-down list under the System Values.
  28. You will now add the Workflow Message you created earlier. In the Message field, click the Search icon. DD Message Search window pops up.
  29. In Alias Search field, enter LM55010121 and click the Search icon.
  30. Select LM55010121 from the search result. The message template that you created earlier is loaded into the message area.
  31. In the mapping table on the right click the Mapping column in the &1 row. For ID &1, select mnAddressNumber_AN8 under Mapping from the Key Data.
  32. For ID &2, select szNameMailing_MLNM under Mapping from the Additional Data.
  33. For ID &3, select szAddressLine1_ADD1 under Mapping from the Additional Data.
  34. For ID &4, select szCity_CITY1 under Mapping from the Additional Data.
  35. For ID &5, select szState_ADDS under Mapping from the Additional Data.
  36. For ID &6, select szZipCodePostal_ADDZ under Mapping from the Additional Data.
  37. Ensure that the Message Editor form looks like the image below:
  38. Configuring Action Message
    Configuring Action Message
  39. Click the X icon at the top right of the form to close the Message Editor window. Your work on this form is held in memory.
  40. Click Save.

section 5Adding the Orchestration and Notification to the Workflow Process

In this task you will add the orchestration and notification in the newly created workflow process.

  1. Drag and drop an Orchestration task and place it after the “Approve” Action Message task in the diagram workspace.
  2. Enter UPDATEADDR in the Task Name field and Call orchestration to update the address in the Description field.
  3. Click the Edit icon to configure the Orchestration task.
  4. In the Orchestration Editor window, ensure that Orchestration radio button is selected.
  5. Click the Search icon to open the list of existing orchestrations.
  6. Enter Update Mailing Address in the Search field and select the orchestration you created earlier.
  7. For Address_Number, click the drop down under the Mapping column and select mnAddressNumber_AN8 from the Key Data – D0100388.
  8. For Mailing_Name, click the drop down under the Mapping column, scroll down to Additional Data – D0100021, and select szNameMailing_MLNM.
  9. For Address_Line_1, click the drop down under the Mapping column and select szAddressLine1_ADD1 from the Additional Data – D0100021.
  10. For City, click the drop down under the Mapping column and select szCity_CITY1 from the Additional Data – D0100021.
  11. For State, click the drop down under the Mapping column and select szState_ADDS from the Additional Data – D0100021.
  12. For Postal_Code, click the drop down under the Mapping column and select szZipCodePostal_ADDZ from the Additional Data – D0100021.

    If you see a row for P01012_Version, you can leave it blank. By configuring these mappings, you are passing data from the workflow into the orchestration with the inputs it needs to make the address change.

  13. Toggle on the Fire and Forget. This allows the orchestration to process independently of the workflow, and the workflow will continue to its next step immediately.
  14. Configuring Orchestration
    Configuring Orchestration
  15. Click the X icon at the top right of the form to close the Orchestration Editor window. Your work on this form is held in memory.
  16. Drag and drop another Orchestration task and place it on the arrow between the first Orchestration task and the End task. We will configure the notification in this Orchestration task.

    Note: On the workflow design pane you can drag the icons for each step to rearrange them and create more visual space between them.

  17. Enter NOTIFY in the Task Name field and Notify subscribers of an address change in the Description field.
  18. Click the Edit icon to configure the Notification task.
  19. In the Orchestration Editor window, select the radio button for Notification.
  20. Click the Search icon to open the list of existing notifications.
  21. Enter Mailing Address Update in the Search field and select the notification you created earlier.
  22. For Address_Number, click the drop down under the Mapping column and select mnAddressNumber_AN8 from the Key Data – D0100388.
  23. For Mailing_Name, click the drop down under the Mapping column and select szNameMailing_MLNM from the Additional Data – D0100021.
  24. For Address_Line_1, click the drop down under the Mapping column and select szAddressLine1_ADD1 from the Additional Data – D0100021.
  25. For City, click the drop down under the Mapping column and select szCity_CITY1 from the Additional Data – D0100021.
  26. For State, click the drop down under the Mapping column and select szState_ADDS from the Additional Data – D0100021.
  27. For Postal_Code, click the drop down under the Mapping column and select szZipCodePostal_ADDZ from the Additional Data – D0100021.
    Configuring Notification
    Configuring Notification

    By configuring these mappings, you are passing data from the workflow into the notification with the inputs it needs to form the body of the message.

  28. Click the X icon at the top right of the form to close the Orchestration Editor window. Your work on this form is held in memory.
  29. Click Save.
  30. From the Manage drop-down menu click Validate. If you receive the message “Validate Successful,” proceed to the next steps. If your validation is not successful, verify the steps to ensure that your workflow is configured correctly.
  31. From the Manage drop-down menu click Release Reservation.
  32. From the Manage drop-down menu click Activate.

section 6Adding the Workflow Process to a Logic Extension

In order for a workflow process to run it must be initiated by an event. In this scenario the event will be pushing a button on a form. That button will invoke a logic extension, which will in turn start the workflow process. In this task, you will add the newly created workflow process to a logic extension.

  1. Access Orchestrator Studio and click the Logic Extensions icon on the Orchestrator Studio Home page.
  2. Click New.
  3. Enter Start Address Change Workflow in the Name field.
  4. Enter Starts the address change workflow process in the Description field.
  5. Product Code is 55 – Reserved for Clients. Continue with it.
  6. Access the Data Structure tab in the Logic Extensions page. This tab is displayed by default when you start creating a new logic extension.

    In these next steps you will create a data structure for the logic extension, which is a set of data items (inputs) that the workflow process needs. These data items will be familiar to you, because it is the same set of inputs you created for the workflow, the orchestration, and the notification.

  7. Click the + Data Dictionary button.
  8. In the Data Dictionary window, enter AN8 in the Alias field and then click the + icon.
  9. In the Name Column, click on the default name “AddressNumber” and change it to Address_Number.
  10. Toggle Required on for Address_Number.
  11. Click the + Data Dictionary button and in the Data Dictionary window enter MLNM in the Alias field and then click the + icon.
  12. In the Name Column, update the name to Mailing_Name.
  13. Click the + Data Dictionary button and in the Data Dictionary window enter ADD1 in the Alias field and then click the + icon.
  14. In the Name Column, update the name to Address_Line_1.
  15. Click the + Data Dictionary button and in the Data Dictionary window enter CTY1 in the Alias field and then click the + icon.
  16. Click the + Data Dictionary button and in the Data Dictionary window enter ADDS in the Alias field and then click the + icon.
  17. Click the + Data Dictionary button and in the Data Dictionary window enter ADDZ in the Alias field and then click the + icon.
  18. In the Name Column, update the name to Postal_Code.
  19. Click the + Data Dictionary button and in the Data Dictionary window enter AN8 in the Alias field and then click the + icon.
  20. In the Name Column, update the name to Approver.
  21. Ensure that your data structure looks like the image below:
  22. Adding Data Structures to Logic Extension
    Adding Data Structures to Logic Extension
  23. Click Save.
  24. Click the Logic icon to access the design area.
  25. Click the + icon between the Start and End and select Workflow from the Action menu. The system displays the Workflow panel on the right.
  26. In the Workflow panel, enter Start Workflow Process in the label field and Start the ADDRESSCHG Workflow in the description field.
  27. In the Workflow field, click the Search icon to search for ADDRESSCHG and select the workflow from the Workflow List window. After you select the workflow, the Key Data Structure and Additional Data Structure sections are displayed to create the mappings.
  28. Under Key Data Structure section on the right, click the Edit icon next to Parameter Mapping column to open the Workflow Parameter Mapping window.
  29. Toggle Input on for mnAddressNumber and select Address_Number from the Data Structure column on the right.
    Key Data Parameter Mapping
    Key Data Parameter Mapping

    mnAddressNumber is the only data item you need to map for the key data structure.

  30. Close the Workflow Parameter Mapping window and click the triangle to collapse the Key Data Structure section.
  31. Under Additional Data Structure section on the right, click the Edit icon next to Parameter Mapping column to open the Workflow Parameter Mapping window.
  32. Toggle Input on for szNameMailing and select Mailing_Name from the Data Structure column on the right.
  33. Toggle Input on for szAddressLine1 and select Address_Line_1 from the Data Structure column on the right.
  34. Toggle Input on for mnAddressNumber and select Approver from the Data Structure column on the right.
  35. Toggle Input on for szCity and select City from the Data Structure column on the right.
  36. Toggle Input on for szState and select State from the Data Structure column on the right.
  37. Toggle Input on for szZipCodePostal and select Postal_Code from the Data Structure column on the right.
  38. Additional Data Parameter Mapping
    Additional Data Parameter Mapping
  39. Close the Workflow Parameter Mapping window.
  40. Click Save.

Your logic extension is now configured to start the workflow and pass the required data items to it. Next you will attach this logic extension to a button on a form extension on the Address Book Revision form that will initiate the workflow and subsequently the orchestration and notification for the change in supplier address.


section 7Creating a Form Extension to Launch the Logic Extension

In the previous tasks you created:

  • An orchestration to automatically update a mailing address.
  • A notification to alert subscribers that a mailing address has been changed.
  • A workflow to send an approval message to an approver, and subsequently to invoke the orchestration and notification.
  • A logic extension to initiate the workflow process.

The final piece is to create a form extension with a custom button that will launch the logic extension. This is the action or “event” that will ultimately start the workflow process.

  1. Sign in to EnterpriseOne test environment.
  2. Access Address Book application (P01012) from the fast path.
  3. Enter 3090 above the Address Number grid and click Find.
  4. Select the record and click Select. Address Book Revision form opens.
  5. Click the Mailing tab.
  6. Click the Form Extension icon in the top-right corner.
  7. Click and drag the Add Button on to the Address Book Revision form and place it below the Synchronization Status field.
  8. Double click the button you added and update the name to Update Mailing Address.
  9. Address Book Revision Form with Form Extension
    Address Book Revision Form with Form Extension
  10. Click Associate Orchestrations link on the Form Extension Manager. Associate Orchestrations window pops up.
  11. In the Associate Orchestrations window, click the Logic Extensions tab.
  12. Click inside the Control field to activate the cursor and then click the Update Mailing Address button you created.
  13. Click the drop-down list in the Event field and select Button Clicked to update the Event in the Associate Logic Extension with Event section.
  14. Click Next.
  15. Click the drop-down menu and select Start Address Change Workflow from the list.
  16. Click Next.
  17. In the Define Inputs section, for Address_Number row, click the Mapping Input column and then click the Address Number field on the Address Book Revision form. Be sure to click the gray field next to the “Address Number” label and not the label itself.
  18. The remaining inputs will be mapped from fields on the Mailing tab, so click the Mailing tab on the Address Book Revision form to show the fields on that tab.
  19. Click to place the cursor inside the Mailing_Name field in the Mapping Input column. Then click the Mailing Name field on the Address Book Revision form. Be sure to click on the field and not the “Mailing Name” label.
  20. Toggle Allow Input on.
  21. For Address_Line_1 row, click the Mapping Input column and then click the Address Line 1 field on the Address Book Revision form. Toggle Allow Input on.
  22. For City row, click the Mapping Input column and then click the City field on the Address Book Revision form. Toggle Allow Input on.

    Note: You can drag the Associate Logic Extensions window out of the way if it is covering any of the fields on the Address Book Revision form.

  23. For State row, click the Mapping Input column and then click the State field on the Address Book Revision form. Toggle Allow Input on.
  24. For Postal_Code row, click the Mapping Input column and then click the Postal Code field on the Address Book Revision form. Toggle Allow Input on.
  25. The value for Approver cannot be mapped from any fields on the Address Book Revision form. You will provide that as an input when you click the Update Mailing Address button. For Approver row, toggle Allow Input on. In the Default Value field enter the Address Book number that is associated with your user ID. The workflow approval message will go to the EnterpriseOne Work Center mailbox for this Address Book number.
  26. Associate Logic Extensions Window
    Associate Logic Extensions Window
  27. Click Next.
  28. On the step 4, Execution, click Next.
  29. On the step 5, Define Output, click Save.
  30. Click Close to close the Associate Logic Extension window.
  31. Click Save in the Form Extension Manager and then click X to close the Form Extension Manager.

section 8Testing the Workflow Process

In this task, you will start the workflow using the logic extension. This will in turn invoke the orchestration and send a notification to the subscriber.

  1. In JD Edwards EnterpriseOne test environment, access P01012 from the fast path.
  2. Enter 3090 above the Address Number grid and click Find.
  3. Select the record and click Select. Address Book Revision form opens.
  4. In Address Book Revision form, click the newly created button Update Mailing Address. A pop-up window to enter inputs opens.
  5. To start the workflow, change the values for Mailing_Name, Address_Line_1, City, State, and Postal_Code.
  6. Enter the address number of the user responsible for approving the request in the Approver field. For this OBE you will be the approver, so verify that the default value is the Address Book number associated with your user ID.
  7. Click OK. This starts the workflow and sends a message for approving the change in the mailing address.
  8. Close the Address Book Revision form.
  9. Click your username and navigate to Manage Notifications and click Message Center.
  10. In the Work Center tab, expand the Priority Mail section.
  11. Click to open the message with the subject line Request for Approval: Supplier Address Change. Notice that the message body comes from the workflow message template you created earlier, and the text substitution variables, like &1 and &2, have been substituted with your inputs.
  12. Click the Workflow Approval link in the bottom of the message. Workflow Approval form opens.
  13. In the Action section, ensure that Accept is selected.
  14. Workflow Approval
    Workflow Approval
  15. Click OK. The Workflow Approval form closes automatically.
  16. Close the Work Center.
  17. Access the Access Address Book application (P01012) again from the fast path.
  18. Enter 3090 above the Address Number grid and click Find.
  19. Select the record and click Select. Address Book Revision form opens.
  20. Click the Mailing tab to verify the changes you made to the Address Line 1, City, State, and Postal Code are updated.
  21. In the EnterpriseOne menu bar, notice that the Notification List icon indicates that you have received a new notification. Click the icon to open the Notification List.
  22. Open the notification “Mailing Address Change for Supplier 3090”. Notice that this notification contains the message you created with variables, ${Address_Number}, ${Mailing_Name} and so on, substituted with your inputs. Anyone who subscribes to this notification will receive this message.
  23. Address Change Notification
    Address Change Notification

summarySummary

In this Oracle by Example, you learned how to:

  • Record a process to create a form request and an orchestration to change the mailing address for an Address Book number.
  • Create a notification with a message indicating a change of address and subscribe to it.
  • Create a workflow process that includes steps to:
  1. Send an approval message to an approver.
  2. Upon approval, launch the orchestration to change the address.
  3. Launch the notification for change of address.
  • Create a logic extension that starts the workflow process.
  • Create a form extension with a custom button that launches the logic extension; thereby starting the workflow process.
  • Test the workflow by:
  1. Pressing the custom button and providing changed address information.
  2. Receiving the approval message in Work Center and approving it.
  3. Verifying that the orchestration automatically made the address change.
  4. Receiving a notification message about the changed address.

more informationWant to Learn More?