Create a case fragment

Create a case fragment to use within a case.

You can also generate a case fragment using Generative AI.

  1. To create a case fragment, do either of the following;
    • Open a case map. On the case modeling bar, click Fragments and then click New.

      The New case fragment Design view opens in a new tab.

    • Navigate to Workflow > Business processes, and click New.

      A process map Design view opens in a new browser tab. In the properties panel, on the Type list, select Case fragment. (Default: Business process)

  2. Add activities, decisions, and end nodes to the Start node. See Design a case.

    When you configure an activity with the business rule, create new job, or custom service, and if you double click on the activity, the configured rule, process, or custom service are opened in a new tab.

  3. Configure the properties as needed. See Process properties.
  4. Save the case fragment.
  5. Release the map.
    The new case fragment is associated with the case. On the list of case definitions, expand the case to view the list of fragments associated with it. You can also view the case definitions listed on the Business processes list page.

Generate a case fragment using Generative AI

Generate a Case fragment using the Generative AI functionality.

  1. Open a case map.
  2. On the case modeling bar, click Fragments and click New.
    The New case fragment Design view opens in a new tab.
  3. Click the Chat with Copilot icon in the bottom right corner.

    The floating Chat with Copilot window appears with the following message: "Welcome <username>, what type of process would you like to create? An example process might be "Approve expense claim."

    The chat window also includes the Learn more about use of AI link. Click the link to know more about Tungsten Automation's commitment to responsible AI and compliance.

  4. In the Chat box, enter your request:
    1. Do one of the following:

      • Use plain text such as "Approve expense claim".

      • Use the attachment icon to upload images and files and then enter your request such as "Create a process using the image".

        • When you upload an image, a thumbnail is displayed, and the image content is passed as input to the provider. The image types of JPEG, PNG, JPG, GIF, and WebP are supported. If an unsupported type is used, an error appears.

        • When you upload a file, the text from the file is passed as input to the AI provider. The file types of .xml, .csv, .txt are supported.

        • When you request the AI provider to create a process based on the image, not all models support the use of images. Currently, the supported model is "gpt-4-vision-preview."

        • When you request the AI provider to create a process based on the uploaded file, the vision model is not supported.

    2. Click the Return icon or press Enter.

      You can cancel your request by clicking the stop button . This stops the AI provider from generating the response.

    The Copilot returns the following response:

    • A process (read-only) with a process name. You can save and release the process.

    • The read-only Properties panel.

    • A message in the Chat window: "A process has been generated. Are you ready to generate the process or would you like to make any changes or request changes via the chat such as add an additional task?"

    • The options to generate the process or start over creating the process.

  5. In the Chat box, enter your request:
    1. Do one of the following:

      • Use plain text such as "Approve expense claim".

      • Use the attachment icon to upload images and files and then enter your request such as "Create a process using the image".

        • When you upload an image, a thumbnail is displayed, and the image content is passed as input to the provider. The image types of JPEG, PNG, JPG, GIF, and WebP are supported. If an unsupported type is used, an error appears.

        • When you upload a file, the text from the file is passed as input to the AI provider. The file types of .xml, .csv, .txt are supported.

        • When you request the AI provider to create a process based on the image, not all models support the use of images. Currently, the supported model is "gpt-4-vision-preview."

        • When you request the AI provider to create a process based on the uploaded file, the vision model is not supported.

    2. Click the Return icon or press Enter.

      You can cancel your request by clicking the stop button . This stops the AI provider from generating the response.

    The Copilot returns the following response:

    • A process (read-only) with a process name. You can save and release the process.

    • The read-only Properties panel.

    • A message in the Chat window: "A process has been generated. Are you ready to generate the process or would you like to make any changes or request changes via the chat such as add an additional task?"

    • The options to generate the process or start over creating the process.

Work with case fragments

You can open, modify, copy, delete, view versions, and unlock a case fragment. The procedure to perform these operations is like Cases. To open a case fragment for a case, expand the case. See Case definitions for more information.