> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Forms

> Workflow forms are designed for scenarios such as applications, approvals, and ticket handling. They route data through designated owners for review and submission. This document introduces workflow form features, use cases, form design, workflow design, data management, and page settings.

## 1. Overview

### 1.1 Introduction

This section explains how workflow forms move data through a chain of approvers before final submission. For details on how to create one, see [Create a form](/yida/form/ybuoxl).

### 1.2 Use Cases

For attendance scenarios, use workflow forms to build leave, business trip, and overtime requests. Once the supervisor approves the request, the result is sent to the submitter.

For procurement scenarios, use workflow forms to build procurement contracts. Once leadership approves the contract, users can print it directly.

For customer management scenarios, use workflow forms to build service tickets. Publish the form to customers so they can submit issues, which are then routed to the responsible personnel.

A workflow form consists of Form Design, Workflow Design, Data Management, Integration & Automation, and Settings.

## 2. Form Design

In Form Design, drag components from the left panel, configure component and form attributes, and click Save when finished.

Note: After a workflow is enabled on a workflow form, permissions for some components and for the form itself are governed by the step settings.

### Form Settings — Premium Attributes

<table>
  <tr>
    <td>Description</td>
    <td>Illustration</td>
  </tr>

  <tr>
    <td><ul><li>In workflow forms, form validation and form events must be configured under Workflow Design > Step Submission Rules.</li><li>Button labels, pre-submission handling, post-submission handling, and form Data Source settings work the same as in regular forms. For details, see [Regular form — Premium attributes](/yida/app-admin/mff60m).</li></ul></td>

    <td />
  </tr>

  <tr>
    <td rowSpan={2}><ul><li>In-workflow action validation is a setting unique to workflow forms.</li></ul><br />How to use it:<br />**Step 1: Add a page JS parameter**<br />Click In-workflow action validation and add the corresponding page JS parameter.<br />**Step 2: Edit the page JS code**<br />In the page JS code, call this parameter as needed.<br />The JS panel provides usage instructions for each in-workflow action.</td>

    <td />
  </tr>

  <tr>
    <td />
  </tr>
</table>

Examples of in-workflow action validation:

| Case                                                                                                                                             | Illustration                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Validation rule:<br />When the validation rule field is set to "Cannot submit", the corresponding action is blocked.                             |                                                                                                                                                                                                                                                                                           |
| Example:<br />The in-workflow action validation rule applies only when the approver selects Accept or Transfer; other actions are not validated. | **Result:**<br />1. When performing Accept or Transfer with the value set to "Cannot submit", the action is blocked. Change the value to "Can submit" and the action goes through.<br />2. For other actions such as Decline, the action succeeds even when the value is "Cannot submit". |

## 3. Workflow Design

Workflow design covers approval step design, field permissions for each step, simulation testing, and Signature settings. After configuration, click Save and then Publish for the workflow to take effect.

## 4. Data Management

Once employees submit data through the form, admins with app management permissions can import, export, delete, view, and print the submitted data in Data Management.

## 5. Page Settings

Page settings cover Basic and enhanced features for the form, including Basic settings, Message notifications, Share settings, Print settings, associated lists, integration & automation, and built-in variables.
