Support > Repository > Workflow

You can define the workflow in the model. It can be used for drafting and circulation.

The model for which the workflow is set will be able to manage events such as "application", "approval", "decision" for registered data.The concept of Wagby's workflow is shown in Figure 1.

Figure 1 Overall image of Wagby workflow
Flow pattern
It refers to the flow of workflow.For example, in the case of two nodes of "sequential, sequential", it means the flow that two people should approve. In addition to the standard flow pattern, you can freely define it.[More ...]
Flow Participant
Specify approvers at each node of the workflow.[More ...]
Approvers can set their own agent at any time.[More ...]
Flow Event
Workflow events are managed separately from the defined model.As the workflow progresses, events are recorded.[More ...]

Set the workflow in the following procedure.

Figure 2 Wagby workflow setting image

In "Wagby's model definition" build "○ (Activate workflow of this model)" with "○".
From now on, all settings related to workflow behavior are done in the built web application.

(1) Perform workflow definition for model
I will explain how to set workflow in Wagby definition file. I will prepare a "Yearly Application" model as a sample.
(2) Perform flow pattern setting
Wagby provides a standard flow pattern. You can also design your own flow combining "sequential" processing and "consultation" processing.
(3) Set flow participants
Set participants in the flow definition. Participants specify Wagby 's logon account (juser) or group (jgroup).
(4) Set workflow definition in model
We link the workflow definition model with the workflow definition model.
(5) Start workflow
We will create a new model according to Wagby's normal operation. Navigation information showing the workflow behavior is displayed at the bottom of the screen.
(6) Use electronic seal imprint on the processor
I will show you how to use electronic seal imprint in the processor field of workflow.
(7) Sending mail [1] setting
You can send mail at workflow event. Here, we will explain how to add some items to the model so that you can set the mail destination automatically.
(8) Sending mail [2] Execution
Confirm an example of sending mail when an event such as "application" "approval" "remand" occurs.
(9) Send mail [3] Automatic notification
For undecided flow, you can send a dunning mail to the person who is stopping the flow.
(10) Control flow according to conditions
Depending on the condition, you can specify which flow will be processed next.
(11) Narrow the application flow according to the conditions
At the start of workflow, you can narrow down the application flow that matches the conditions.
(12) Prepare a decision button on an arbitrary node
The decision button is displayed according to the condition. You can make flow decisions even in the middle of a node.
(13) Dynamically decide Approver/Authorizer by Script
You can dynamically change the workflow approver/authorizer using a script.
(14) Prepare a flow event script
You can run scripts according to workflow behavior (combination of nodes and events).
(15) Proxy approval
Using the proxy authorization feature, you can change the workflow approver at run time.
(16) Check the state of the applied workflow
By searching for "start flow state", you can know who is currently waiting for approval for the workflow you applied.
(17) Confirm workflow to approve
By searching for "holding flow state", you can check the workflow that you should approve. You can also make bulk approval.
(18) Search in model workflow state
You can search model data in the workflow state.
(19) Manually cancel [Operation] workflow
I will explain how to delete the workflow event information and cancel the flow.
  • After starting the workflow, it is not possible to change the workload setting (flow pattern, flow participant setting) of the model.
  • Workflow and list update can not be used at the same time.The model that started the flow is controlled so that it can not be updated.
  • It is not possible to designate a model with workflow enabled as the main model and workflow processing with submodels.In the submodel, it is only possible to search in the flow state, update/delete data.(*1) (*2)
  • The model with workflow enabled is "Disable database cache completely"checkdo not doPlease do.(We use the cached information in the workflow engine.)
  • On the list display screen of models with workflow enabled,Update buttonPlease do not prepare.While using the workflow, the control that allows only the approver to press the update button prepared on the detail screen works, but it does not correspond to the list display screen.
1. The main model does not use the workflow, and the workflow can be validated with the submodel.
2. Not the main sub model,A setting to share a physical table though it is a different model, You can define a workflow with each.In this case, please be careful not to operate the same data in each model.(Suppose that Model A and Model B share the same physical table.When newly registering in model A and advancing workflow, model B does not operate this data.)