Support > Repository > Workflow > Perform flow pattern setting
ja | en

Wagby provides a standard flow pattern. You can also design your own flow combining "sequential" processing and "consultation" processing.

ワークフローをはじめて使う方は、以下の説明はスキップしてもかまいません。フローパターンを独自に追加する必要が生じた場合にお試しください。

The flow pattern specifies the flow of workflow processing.

Wagby offers 11 kinds of flows as standard.Other flows can be designed independently.

  • Sequential and sequential flow (application → decision)
  • Sequential, sequential and sequential flow (application → approval → decision)
  • Sequential/consultation/sequential flow (application → consultation approval → decision)
  • Collective/sequential flow (multiple applications → approval)
  • Collective, sequential, sequential flow (multiple applications → approval → approval)
  • Sequential and consultation flow (application → consultation approval)
  • Collaboration and discussion flow (multiple applications → consultation approval)
  • Collaboration/consultation/flow of consultation (multiple applications → consultation approval → consultative decision)
  • Consultation/consultation/sequential flow (multiple applications → consultation approval → approval)
  • Collaboration/sequential/consultation flow (multiple applications → approval → consultation approval)
  • Sequential, sequential, and consultation flow (application → approval → consultation decision)

"Sequential" and "consultation" have the following meanings.

Sequentially

Specify this when you want to advance the workflow in order.In the scenario of departing from the drafter (creator) and getting the manager's decision via the direct superior, all become "sequential" nodes.

A conference

It is a node that can proceed to the next step if the specified number approves/applies.For example, you can use it in a scenario where you get a direct superior decision if someone in your group approves.

These 11 kinds of flows are prepared as initial data and can be confirmed on the flow pattern screen.(FIGS. 1 and 2)

Figure 1 Select "Flow pattern search" from the management processing menu
Figure 2 11 patterns are provided as standard

Describe the procedure to design your own flow pattern.

Choose one of the foundations for the flow pattern you will design. In this case, "Sequential, Sequential and Sequential Flow" consisting of three nodes is selected from the "Flow Pattern List" screen in FIG. 2, and this is expanded to create "sequential, sequential, sequential, sequential flow" of four nodes To do.

In Figure 3, copy registration of "sequential, sequential, and sequential flow" is performed.It is the screen shown in Fig. 4.

Fig. 3 Copy registration
Figure 4 Copy registration screen

Fix the flow pattern name and description.Also insert one node.(FIG. 5)

Figure 5 Correcting the flow pattern

We have created a sequential flow pattern of four new nodes.(FIG. 6)

6

At the consultation node, you can specify "Number of applicants/approval of ○ or more required" at the time of application and approval.

Confirm the "sequential/consultation/sequential" flow pattern prepared by standard. Here, it is set that it will be approved if one or more of the two nodes "approval 1" and "approval 2" approve.(FIG. 7)

Figure 7 "Sequential, consultative and sequential" flow patterns prepared by standard

To change the number of consultations, change the number.
To add (delete) a node, press the "Add" ("Delete") button. In this example, the number of people is set to "2", and the node "approval 3" has been added.In other words, "approval node is 3, approval given 2 or more people approval" will be.(FIG. 8)

Figure 8 Changing the consultative node

When you design your own flow pattern, the flow definition file (XML format) created in the following folder is generated.

wagbyapp\webapps\$(APPNAME)\WEB-INF\workflow-definitions

Even when swapping (rebuilding) the application, the setting file is recreated in the above folder at the time of importing the flow pattern model.

Troubleshooting: Flow definition file can not be read

If a file exists in the above folder but loading of the flow definition file fails when it is executed, please check the following.

Startup folder

The folder to run startup.bat (or startup.sh) must be wagbyapp/bin. For example, if you start up in the wagbyapp folder, acquisition of the workflow definition file fails.