Skip to main content

Approval Workflow User Guide

tip

Approval Workflow is currently only available to CloudBase Enterprise Edition or above plans.

Contents

Approval Workflow Overview

Approval Workflow is a workflow management feature provided by the WeDa platform, helping enterprises achieve automation and standardization of business processes. Learn about the basic concepts and usage methods of Approval Workflow through the following link:

TopicDescription
Workflow CompositionIntroduces the basic components and structure of Approval Workflow
Operation StepsDetails the configuration and usage steps of Approval Workflow
Message Subscription Feature IntroductionLearn how to configure and use the message notification feature of Approval Workflow

Workflow Triggering Methods

Approval Workflow can be triggered through multiple methods. Choose the appropriate triggering method based on business requirements:

Triggering MethodsDescription
Data Model TriggeringTriggers the workflow when data in the data model changes
Timer TriggerAutomatically triggers the workflow based on preset time rules
Page Event TriggerTriggers the workflow through user interaction events on the page
Custom API TriggerTriggers the workflow by calling a custom API interface
Workflow ElementsLearn about various elements that can be used in the workflow and their functions

Basic Elements

Approval Workflow is composed of multiple basic elements, which collectively form a complete business process:

Element TypeDescription
Data Model OperationsElements for performing CRUD operations on data
Manual TaskTask node requiring human intervention
Advanced ActivitiesContains advanced workflow control elements such as conditional judgments and loops
APIElement for invoking external APIs or services

Approval Details Template Introduction

The approval details page is a crucial interface for user interaction with the approval workflow. Learn how to design and implement the approval details page:

TopicDescription
Basic Structure of Approval Details PageIntroduces the components and layout of the approval details page
Approval Details Page Data InitializationHow to load and initialize the data required for the approval page
Approval Details Page UI ConstructionDesigns and implements the user interface for the approval page
Approval Details Page Operation Interaction LogicImplements user interaction and business logic for the approval page
Approval Details Page DebuggingHow to test and debug the approval details page

Business Scenario Practices

Below are practice cases of approval workflows for common business scenarios, which can be used as references:

ScenarioDescription
Leave Approval Process Configuration ExampleDetails how to configure a complete leave approval process
Data Model-Triggered Approval Workflow ExampleDemonstrates how to trigger an approval workflow through changes in the data model
Process Approval Page CustomizationHow to customize the approval page based on business requirements