Search

Chapter 7. Completing the IT_Orders case using Showcase and Business Central

download PDF

When a case instance is started using the Showcase application, tasks that are configured as Adhoc autostart in the case definition are automatically assigned and made available to users with the role assignment for each task. Case workers can then work on the tasks in Business Central and complete them to move the case forward.

In the IT_Orders case project, the following case definition nodes are configured with the Adhoc autostart property:

  • Prepare hardware spec
  • Hardware spec ready
  • Manager decision
  • Milestone 1: Order placed
itorders case start

Of these, the only user task is Prepare hardware spec, which is assigned to the supplier group. This is the first human task to be completed in the IT Orders case. When this task is complete, the Manager approval task becomes available to the user assigned to the manager role, and after the rest of the case work is finished, the Customer satisfaction survey task is assigned to the case owner for completion.

Prerequisites

  • As the wbadmin user, you have started an IT_Orders case in the Showcase application.

Procedure

  1. Log out of Business Central and log back in as a user that belongs to the supplier group.
  2. Go to Menu Track Task Inbox.
  3. Open the Prepare hardware spec task and click Claim. This assigns the task to the logged in user.
  4. Click Start and click choose file to locate the hardware specification file. Click the upload button to upload the file.

    case management valid spec
  5. Click Complete.
  6. In Showcase, click Refresh in the upper-right corner. Notice that the Prepare hardware task user task and the Hardware spec ready milestone appear in the Completed column.

    case management ordered
  7. In Business Central, go to Menu Track Task Inbox. Open the Manager approval task for wbadmin.

    1. Click Claim and then click Start.
    2. Check the approve box for the task that includes the valid-spec.pdf file, then click Complete.
  8. Go to Menu Manage Process Instances and open the Order for IT hardware process instance.

    1. Open the Diagram tab. Note that the Place order task is complete.

      case management manager approval process
    2. Refresh the Showcase page to see that the Manager approval task and the Manager decision milestone are in the Completed column. The Milestones pane in the lower-left corner of the Showcase overview page also shows the completed and pending milestones.

      showcase milestones ordered
  9. In Business Central go to Menu Manage Tasks. Click the Place order task to open it.

    1. Click Claim and then click Start.
    2. Select the Is order placed check box and click Complete.

      itorders order placed

      The process instance diagram now shows the following case progress:

      itorders milestone2 diagram
    3. Refresh the Showcase page to view the case progress.
  10. Go to Menu Manage Process Instances and open the Order for IT hardware.

    1. Open the Process Variables tab. Locate the caseFile_shipped variable and click Edit.
    2. In the Edit window, type true and click Save.

      itorders shipped variable
    3. Refresh the Showcase page. Note that the Milestone 2: Order shipped milestone is shown as Completed.

      The final milestone, Milestone 3: Delivered to customer is In progress.

  11. Go to Menu Manage Process Instances and open the Order for IT hardware.

    1. Open the Process Variables tab. Locate the caseFile_delivered variable and click Edit.
    2. In the Edit window, type true and click Save.
    3. Refresh the Showcase page. Note that the Milestone 3: Delivered to customer milestone is shown as Completed. All milestones under the Milestones pane in the lower-left corner are shown as complete.

      The final task of the IT Orders case, Customer satisfaction survey is shown under In progress.

      itorders customer survey
  12. In Business Central go to Menu Track Task Inbox. Click the Customer satisfaction survey task to open it.

    This task is already reserved for wbadmin.

  13. Click Start and fill out the survey.

    itorders complete survey
  14. Click Complete.
  15. Go to Menu Manage Process Instances and open the Order for IT hardware process instance.

    1. Open the Diagram tab. This shows that all required case process nodes are complete and there is nothing left to do for this case instance.

      itorders complete
    2. Refresh the Showcase page and note that there are no actions under In progress.
  16. In Showcase, type a comment in to the field under Comments. Click round plus to add the comment to the case file.

    itorders comment
  17. Click Close in the upper-right corner of the Showcase page to complete and close the case.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.