Skip to main content

Use Case Specifications

A Use Case specification is generated from a data flow.

The data flow defines the sequence of steps, participants, integration calls, requests, responses, alternative branches, parallel branches, and additional properties. The documentation view assembles this data into a readable scenario.

When to Use a Specification​

A Use Case specification is useful when you need to:

  • describe a business scenario;
  • agree on the order of system interactions;
  • show which interfaces participate in the scenario;
  • connect the business description to an architecture diagram;
  • hand the description to developers or analysts;
  • prepare materials for architecture review;
  • export the description to static HTML;
  • provide read-only access through a share link;
  • ask AI to improve the text or find missing questions.

Open a Specification​

You can open a specification in several ways.

From the "Data Flows" tab:

  1. Open the main screen.
  2. In the left menu, go to "Data Flows".
  3. Find the required flow.
  4. In the context menu, select "Documentation".

From the diagram editor:

  1. Open the diagram.
  2. Open the "Reports" menu.
  3. Select the flow report, if available.

From a share link:

  1. Open the access link.
  2. Make sure "Data Flows" and "Documentation" are enabled for the link.
  3. Go to the documentation from the menu or the allowed route.
Loading image...
The view combines Data Flow, Sequence, scenario steps, endpoint, request, and response.

Documentation Menu​

The documentation view provides:

  • "Diagram" menu;
  • line style setting: Ortho, Poly, Default;
  • "Data Flow" menu with flow selection;
  • Download as a Single HTML File button;
  • Documentation Settings button;
  • Open Diagram button;
  • Full Screen button;
  • eye icons for alternative sequences to individually include or exclude branches.

If documentation is opened through a share link, availability is determined by sharing settings. If documentation is restricted through Lock, buttons may be hidden or disabled.

What Is Displayed in the Specification​

The specification displays:

  • diagram name;
  • data flow name;
  • flow description;
  • scenario steps;
  • nested alternative and parallel steps;
  • source and target of integration steps;
  • bound interfaces;
  • URL, requests, responses, and interface descriptions;
  • images and attachments;
  • additional step properties;
  • links to model elements.

How to Prepare a High-Quality Specification​

  1. Create a diagram that shows the scenario participants.
  2. Create a data flow.
  3. Add steps in the correct order.
  4. For each integration step, specify the source and target.
  5. Create or import interfaces on the target element.
  6. Bind the integration steps to the interfaces.
  7. Add requests, responses, descriptions, and attachments.
  8. Check the scenario in Data flow and Sequence mode.
  9. Open the specification and review the text.
  10. Use AI to find gaps and prepare questions for the owners.

Documentation Settings​

Settings let you control which blocks are included in the final document.

For example, you can configure the display of:

  • step descriptions;
  • technical properties;
  • attachments;
  • images;
  • flow navigation menu;
  • documentation profile;
  • interfaces, requests, and responses;
  • supporting blocks for review.

For Sequence diagrams, you can enable the "Hide element descriptions on Sequence diagrams" setting. It removes the description field from participant labels, but keeps element names and messages between them. This makes wide diagrams more compact and allows them to be displayed larger.

After you enable the setting, a multi-select Use Case list appears. Select only the Use Cases for which compact Sequence diagrams are needed. If the list is left empty, descriptions are hidden for all Use Cases in the current documentation. The change is applied immediately and saved in the selected documentation profile.

Loading image...
The panel controls document content, diagrams, step specifications, and compact Sequence presentation.

Hide Alternative Sequences​

An eye icon is shown in the upper-right corner of each alternative sequence. It lets you temporarily exclude a branch from the current specification and focus the document on the required scenario path.

  1. Find the alternative sequence in the specification.
  2. Click the eye icon next to its heading.
  3. The icon becomes crossed out, and the branch and all nested steps disappear from the documentation view.
  4. Click the icon again to restore the branch.

The toggle uses the same personal setting as the flow panel on the diagram. Therefore, a branch hidden in documentation simultaneously stops being displayed on the Data flow/Sequence diagram and stops participating in step-by-step playback.

The setting applies only to the current user. For other users, all alternatives continue to be displayed until they hide them themselves. Hiding does not edit the Use Case, does not remove steps, and does not require changes to the overall model.

When you sign in through a share link, the toggle is unavailable. The link recipient sees the view allowed for that link without the ability to save a personal exclusion. In a normal authenticated session, the toggle is available even without permission to edit the shared model, because it changes only the user's personal view.

AI and Improving Specifications​

You can use AI to refine Use Case documentation.

Example prompts:

  • Check this Use Case and list what is missing for development.
  • Generate a textual description of the scenario for a business stakeholder.
  • Highlight alternative scenarios that are not described.
  • Which interfaces need clarification before review?
  • Create a short Use Case summary for release notes.

If AI asks clarifying questions, answer them and then update the data flow or step properties.

Export a Use Case Specification​

You can export the specification to static HTML. The general page about export is located in the "Export Use Case Specifications" section.

When exporting as a single HTML file, alternative sequences hidden by the current user are not included in the document. Before downloading, check the eye icons: the export captures the specification state visible to you at that moment.

This export is useful when you need to:

  • send documentation to external participants;
  • preserve the state of the description at the time of approval;
  • attach the specification to a task or request;
  • publish materials outside SysCraft.

If you need a temporary view without transferring a file, use diagram sharing with documentation enabled.

Edge Cases​

Check the link settings:

  • Data Flows;
  • Documentation.

If only the visual part of the diagram is enabled, the Use Case specification is unavailable.

There Are No Steps in the Specification​

Check the following:

  • the correct flow is selected;
  • the flow has steps;
  • the flow is linked to the current diagram;
  • the share-link recipient is allowed to view data flows.

There Are No Requests or Responses​

Check the following:

  • whether interfaces are defined on the target element;
  • whether the step is bound to an interface;
  • whether the API documentation has been imported;
  • whether interface viewing is allowed in the share link.

The HTML Export Button Is Unavailable​

Check the following:

  • whether documentation is enabled;
  • whether a mode that forbids export is open;
  • whether a data flow is selected, if export is built from a Use Case;
  • whether documentation or export is disabled through Lock.