ASP.NET Open Source Process Engine API Development Call Interface Daquan – Workflow Engine Design

Keywords: Workflow Engine BPM System Interface Calling Workflow Rapid Development Platform Workflow Flow Design Business Process Management Asp.net Open Source Workflow

I. Program Call Development Interface
2. Interface description

The interface of the so-called galloping workflow engine is the static method on BP.WF.Dev2Interface.*. The foreground page provides interactive data function interaction with the operator through the page through these static methods.
The methods at the beginning of Port_* are all operations related to the organizational structure, such as logging in, logging out, and sending messages.
DB_* is an interface that provides data lists, such as: initiated list, to-do list, in-transit list, completed list, etc.
Galloping BPM’s initiation, to-do, and on-the-go menu functions are all lists generated by the BP.WF.Dev2Interface.DB_* interface provided by this static method.
The galloping work processor also calls BP.WF.Dev2Interface.Node_* to operate the process through the process interface such as: process deletion, return, handover, deletion, endorsement, and countersignature. The operations of rolling, undoing, freezing, and unfreezing are all BP.WF.Dev2Interface.Flow_* development interfaces.
The methods starting with WorkOpt_* are all codes of workflow engine components. For example, on the return window, get the list of nodes that can be returned and set the designated node handler.
We have an interface in the process attributes, please refer to the following figure:

Share pictures

Menu interface

How to obtain data According to your own needs, obtain the data you want through the CCBPM interface.

For example: initiating process, to-do work, work in transit.

Class name: BP.WF. Dev2Interface.DT_* In the current static method, datatable data collection types are generally returned, which can be converted to json to facilitate the front desk to generate a list.

Initiation list: BP.WF. Dev2Interface.DB_GenerCanStartFlowsOfDataTable

The initiation list is the list of processes that can be initiated by the currently logged in person or a designated person. The returned data source contains No and Name. The columns are the process template number and process template name, which can be connected to the work processor MyFlow.htm?FK_Flow=001 so that the user can directly initiate the process.

The function page provided by the system: please refer to /WF/Start.htm

To-do list: BP.WF. Dev2Interface.DB_ GenerEmpWorksOfDataTable

is the current operation The to-do of the employee, the problem that needs to be solved by him, the to-do list returns the WorkID process instance ID, Title process instance title, FK_Flow process template number, FlowName process template name and other columns. For more information, please refer to (Select * from WF_EmpWorks) View). Developers can generate a list of to-do data based on this data source and connect to MyFlow.htm, such as MyFlow.htm?WorkID=10112&FK_Flow=002&FK_Node=203

The function page provided by the system: please refer to /WF/Todolist .htm

List of in-transit: BP.WF. Dev2Interface.DB_ GenerRuningOfDataTable

As the name suggests, the in-transit is unfinished work, and I participated, for example, if I initiate the process, he is mine On the way, I approved the process. For the collection of in-transit processes, the columns returned are WorkID, Title, etc. Connect to the work viewer, for example, /WF/WFRpt.htm?WorkID=111&FK_Flow=001, you can perform, cancel or remind operations on the way.

The function page provided by the system: please refer to /WF/Runing.htm

Other advanced methods, not commonly used, development instructions are in the code, please refer to the front desk of /WF/ Page related operations.

Process interface

Process interface refers to the interface for operations on process instances, such as process reminders, rollbacks, deletions, and freezes.

The interface of the process is the interface beginning with Flow_. This operation manual cannot be synchronized with the code in time. The latest interface requires reference code.

share picture

Node interface

Node interface refers to the interface of the process instance operation, such as creating workid, executing sending, returning, handing over, countersigning and other operations.

The interface is an interface beginning with Node_. This operation manual cannot be synchronized with the code in time. The latest interface requires reference code.

share picture

Organizational structure interface

Organizational structure interface refers to the interface for operating the organizational structure, such as logging in, logging out, and sending messages.

The interface starts with Port_. This operation manual cannot be synchronized with the code in time. The latest interface requires reference code.

share picture

———————————————— Copyright statement: This article is the original article of the CSDN blogger “Galloping Workflow”. It follows the CC 4.0 BY-SA copyright agreement. Please attach the original text for reprinting. Source link and this statement. Original link: https://blog.csdn.net/ccflow/article/details/102528621

Leave a Comment

Your email address will not be published.