Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure the parent-child process of Java

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Father-son process

Brief introduction

The concept of parent-child process: in management activities, the common part, the common part, the process management activity that can be repeated, we separate it into a sub-process, which can be invoked by the management activities of other processes. We call the child process the parent process, and one process can call another process, but it can also be called by another process. So whether a process is a subprocess depends on whether it is invoked. Whether a process is a parent process depends on whether it invokes other child processes. For example: reimbursement process, after many purchase application processes are completed, you need to pay, you need to invoke the payment process. We call the purchase requisition process the parent process, the reimbursement process as the child process, and the parent-child process is similar to the tree structure.

The mode of the process

Peer subprocess, and subordinate subprocess. We know that the parent-child process is a tree relationship, and the peer sub-process means that the sub-process starts at the same level as the current started process, and we become the same-level sub-process. For example, a project management process, in the project establishment stage, starts a subsidiary registration sub-process. After the sub-process is completed, it is necessary to start the sub-process of signing the rental contract. The rental process is at the same level as the subsidiary registration sub-process. It is called the same-level sub-process, and they are level. Another example: if we start a personnel recruitment sub-process on the subsidiary registration sub-process, or the office equipment procurement sub-process, and make it the next level of subsidiary registration, we will become the subordinate sub-process.

Application background

In all kinds of workflow projects, we usually encounter an overall process module (main / parent process), in which there are multiple sub-projects (sub-processes). The initiation (circulation) of the project needs special conditions, which can be achieved by configuring the parent-child process.

The parent-child process provides:

Manual promoter process

Automatic trigger subprocess

Continuation of subprocess

Three functional modes to choose

one。 Start the parent-child process

Right-click on the process node to select the node attribute. Under the parent-child process function bar, you can start the sub-process manually and trigger the sub-process automatically.

two。 Edit the subprocess (select the functions required by the project) 1. Sub-process pattern (sub-process / sibling sub-process)

The lower-level child process is similar to the parent-child relationship, and the sub-process started on the parent process node is called the lower-level child process.

A peer subprocess is similar to a sibling relationship, and a subprocess started on a subprocess node is called a peer subprocess.

End rules (those that need to be processed at the end of this subprocess)

After the end of the child process, you can choose the parent process to run automatically to the next node or end the flow of the parent process.

3. There are three restrictions for subprocesses:

1. Can only be called once (cannot be called repeatedly)

This subprocess can only be started manually once (for example, the project has already been started once, the project cannot be prepared for implementation twice, and this condition needs to be set here)

two。 The subprocess cannot be started until the specified process is started

You can add the process number to the text box below, and the process can only be started after the joined process is started.

3. The subprocess cannot be started until the specified process is finished.

You can add the process number to the text box below, and the process can only be started when the joined process starts and ends.

Automatic trigger subprocess means that when the process reaches this node, it will actively trigger the set subprocess and take the initiative to carry out the task.

Automatic sending method:

Set up the start node agent for the current personnel: the processor of the main process node is the initiator of the sub-process.

Send to the next node: when the subprocess is started, the subprocess automatically runs to the second node

Call time:

When sending: the input of the form information of the node ends, and the node processor starts the binding sub-process when the node processor clicks to send.

When the work arrives: the previous node is sent, and this node generates a sub-process to start binding when it is ready to do.

Continuation of subprocess

Join the continuous sub-process recruitment at 2 nodes.

When the main process reaches 2 nodes, the extended sub-process will be opened.

The process will go from 2 nodes to 4 nodes, and then to 5 nodes and 6 nodes.

3 nodes will not go to

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report