Support > Repository > Workflow > Confirm workflow to approve
ja | en

By searching for "holding flow state", you can check the workflow that you should approve. You can also make bulk approval.

WorkflowApprovalYou can set the "flow state viewing" principal in the account that can be done.

Figure 1 Setting the flow state viewing principal to the approver

In the approval account of the vacation application workflow, search the hold flow state.

Figure 2 Retention Flow Status Search

From the screen of FIG. 2,Which data (judged by primary key) of which model should be approvedI understand.

batch processing7.4

In Fig. 2, if you validate the check box on the left side of the list display column and press the "approval" (or "remand" "reject") button, approval processing can be performed at once.The character string entered in the comment field is set to all selected target data.

You can use a portlet to check the hold flow.You can display a workflow list that you should approve on the portal screen.This usage is "Pending flow portletIt is summarized in.

In the search screen shown in Fig. 2, we introduce an example of customization that hides "model primary key" "applicant" from search condition.

Figure 3 Screenshot with simple search conditions

Change definition

Select the "System" tab.Edit the "holding flow state" model in it.

Figure 4 Editing the definition of the pending flow state
The model included in the system tab is used internally by Wagby.Since it is deprecated except for the customization described here, carefully please do the correction work.

"Model primary key" and "applicant" must be handled as search criteria inside Wagby respectively.Therefore, we will respond by making the retrieval function of these items as it is, by making it look hidden.

Figure 5 Definition of the holding flow model

Opens the detailed definition of the "model primary key" item.Activate "Search Control> Common> Make Hidden".(FIG. 6)

Fig. 6 Set the search item of the model primary key as a hidden item

Open the detailed definition of "Applicant" item.Activate "Search Control> Common> Make Hidden".(FIG. 7)

Fig. 7 Set search item of applicant as hidden item

Here is an example of customizing list display items.In Figure 8, "Model Primary Key" is hidden, and an item "Description" is given instead.In this explanation item, "reason" item of the vacation application model is displayed.

Figure 8 Customized example of list display

Change definition (1) Hide the model primary key

Select the "System" tab.Edit the "holding flow state" model in it.

Figure 9 Editing the definition of the pending flow state
The model included in the system tab is used internally by Wagby.Since it is deprecated except for the customization described here, carefully please do the correction work.

Opens the detailed definition of the "model primary key" item.Activate "Output control> List screen> Make hidden item".(FIG. 10)

Figure 10 Hiding model main key items

Change definition (2) Add explanation item

Insert the item "Description" in the "Hold flow state" model.Type isStringwill do.

Figure 11 Inserting description items

Open the detailed definition of the "Description" item.Release the setting "Save values ​​in database" setting.(This item always displays the values ​​of other models.)

Figure 12 Unsetting to save in database

Next, we will set up the user model "vacation request".Open the detailed definition of the "reason" item.(FIG. 13)

Figure 13 Vacation application model

Specify the item ID "modelinfo" of the "Description" item added in Fig. 11 as "list item name in the holding flow state" in "details> workflow" in the "reason" item.This will be tied.

Figure 14 Setting the list name of the holding flow status
Items that can be added to the pending flow state model (for listing)Only oneis.If you want to include various information here, put the value of multiple items (in one item) in an automatic calculation formula in the original model ("vacation application" model here) so that it is linked with this item .

Make it correspond to both the start flow state and the hold flow state

As shown in Fig. 15, one itemList display items in the start flow stateYou can also use it for both the list display items of the hold flow state.

Figure 15 Setting the List Name of the Pending Flow Status

Constraints on setting

  • Items added here (list item name "startup flow state" modelinfo ") can not be specified as search conditions.
  • Only the string type can be used for the item type.If you want to post non-character strings, it is a good idea to separately prepare a string type item for posting in the model (here, vacation application model), and let this go through.Example: If the original was a date type item,Use a function to convert it to a string typewill do.Prepare this as a hidden item.

Example of execution

Prepare a dedicated principal that operates "Search for hold flow state".The applicant and the approver can separate the menu separately.In Figure 16, only the holding flow state search screen can be used.

Compared with Figure 2, you can see that the "Start Flow State Search" screen is not available.

Figure 16 Split the menu and set it to be available for searching only for hold flow status

Change definition

Select the "System" tab.Edit the "holding flow state" model in it.

Figure 17 Editing the definition of the pending flow state
The model included in the system tab is used internally by Wagby.Since it is deprecated except for the customization described here, carefully please do the correction work.

Open the "Privileges" tab.Prepare a new principal.(FIG. 18, FIG. 19)

Figure 18 Preparing a new principal
Figure 19 Principal input field

Prepare the "View holding flow state" principal.(Figure 20)

The principal name and principal ID can be arbitrarily named.(The principal ID must be unique throughout the system, ie not duplicate.)

Principal name Principal ID Effective permissions
Viewing the hold flow state jshparam_suspendworkstate_show Browse, search, menu
Fig. 20 Pending flow status Prepare a viewing principal

Assign principal

The "flow state viewing" principal prepared by the standard was able to view both the start flow and the hold flow.In this case, make the standard principal inactive and use the newly prepared "hold flow state browsing" principal.(FIG. 21, FIG. 22)

Figure 21 "Viewing hold flow state" Using principals (1)
Fig. 22 "Using the holding flow state viewing" principal (2)

This function does not currently support group authority.We will improve with future Wagby.