In Part 1 we created a simple page for creating a Client. We now will create a simple Contract workflow and attach contracts to Clients.

Create Workflow

  1. Open Application Studio of your solution
  2. From the left menu, select Processes -> Workflows
  3. Click on  button. The New Workflow window pops up.
  4. Fill in the following fields:

    PropertyValue
    Workflow NameContractWorkflow
    WorkflowCW
    Select Business Object-- New --
    New Object NameContractWI
    New Object API Permanent IDContractWI
  5. Click the  button on the bottom right of the window. You'll be redirected to the detail page of the newly created Workflow.
  6. Click on the  button. You'll be redirected to the Workflow Builder.
  7. Drag the rectangle (Activity) onto the canvas. When you place the rectangle, the New Activity window pops up.
  8. Fill in the following fields and click the  button.

    PropertyValue
    Activity NameNewContract
    ShortnameCW_1
    Activity UsageIndex
    Activity TypeSimple
  9. Drag three more Activites onto the canvas with the following information:

    Activity NameShortnameActivity UsageActivity Type
    BilledCW_2IndexSimple
    PaidCW_3IndexSimple
    CancelledCW_4IndexSimple
  10. Place your mouse on the middle of the New Contract and you should see a yellow circle with an arrow show up. Click on it and drag it over to the Billed Activity. The New Transition window shows up. 
  11. Review the information in the window and click the  button.
  12. Draw the following transitions:
    1. From Billed to Paid
    2. From NewContract to Cancelled
    3. From Billed to Cancelled
  13. Your workflow should look like this:


Create a Page

  1. Open Application Studio of your solution
  2. From the left menu, select Presentation -> Pages
  3. Click on the  button. The New Page window shows up.
  4. Fill in the following fields and click the  button.

    PropertyValue
    CategoriesGeneral
    TemplatesBlank
    Page NameContracts
    Form TypeResultList
  5. Click on the  button. You will be redirected to the Page Builder.
  6. sdf 

 

 

 

 

 

 

 

  • No labels