Creating a Workflow in Application Composer



Steps:

  1. Hello, my name is John, and today we are discussing customizing  applications using Application Composer.

    Step 1
  2. In this demo, I will show you how to create a workflow.

    Step 2
  3. A workflow consists of two parts.

    The first part is a triggering condition written as a Groovy script. In this example, the workflow is triggered when a salesperson enters or updates the date an opportunity budget becomes available.

    Step 3
  4. The second part specifies the actions you want the workflow to take if the condition is met.

    Step 4
  5. You can use the workflow to  update fields.

    Step 5
  6. To send e-mail notifications.

    Step 6

  7. To create tasks.

    Step 7

  8. Send an outbound message to a Web service.

    Step 8

  9. And trigger a business flow, for example, an approval flow.

    Step 9

  10. This is the first in a series of demos that shows you how to create a workflow to update fields, create tasks, and send e-mails.

    Step 10
  11. In Application Composer, we start by selecting the application. We are creating a workflow for Opportunities and they are part of the Sales application.

    Step 11
  12. We select the Object Workflow link.

    Click the Object Workflows link.

    Step 12
  13. Let's create the workflow.

     

    Click the Create button.

    Step 13
  14. We are creating the workfow for the opportunity object.

     

    Click the Object list.

    Step 14
  15. Click the Opportunity list item.

    Step 15
  16. Click in the Name field.

    Step 16
  17. We are going to trigger this workflow when the budget date is revised.

    Enter the desired information into the Name field. Enter

     a valid value
     e.g.
     "Budget Date Revised"
    .

    Step 17
  18. We want to evaluate the trigger condition each time the record is updated.

     

    Click the When a record is updated option.

    Step 18
  19. Let's add the trigger condition using the built-in Groovy expression builder.

     

    Click the Groovy Builder button.

    Step 19
  20. We can use the expression builder palette to insert fields, functions, and  keywords.

    Step 20

  21. I have the  Groovy script on the clip board, so I'll just paste it in.

     

    Press [Ctrl+V].

    Step 21
  22. Let's validate the script.

     

    Click the Validate button.

    Step 22
  23. Click the OK button.

    Step 23
  24. Now that we entered the triggering condition, we are ready to enter the actions we want the workflow to take.

    Step 24

  25. In this demo you learned to create a workflow in Application Composer.

    You can find additional learning resources in your Oracle Fusion Help application, as well as in the Oracle Learning Library, and at Oracle University. Thank you.

    Step 25

Table of Contents  Start Topic