JP2008097243A - Workflow control system and program - Google Patents

Workflow control system and program Download PDF

Info

Publication number
JP2008097243A
JP2008097243A JP2006277180A JP2006277180A JP2008097243A JP 2008097243 A JP2008097243 A JP 2008097243A JP 2006277180 A JP2006277180 A JP 2006277180A JP 2006277180 A JP2006277180 A JP 2006277180A JP 2008097243 A JP2008097243 A JP 2008097243A
Authority
JP
Japan
Prior art keywords
record
application
tables
information
work
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006277180A
Other languages
Japanese (ja)
Other versions
JP5011463B2 (en
Inventor
Yasuhiro Obata
康弘 小畑
Yohei Odaka
庸平 小高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Research Institute Ltd
Original Assignee
Japan Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Research Institute Ltd filed Critical Japan Research Institute Ltd
Priority to JP2006277180A priority Critical patent/JP5011463B2/en
Publication of JP2008097243A publication Critical patent/JP2008097243A/en
Application granted granted Critical
Publication of JP5011463B2 publication Critical patent/JP5011463B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent lock waiting from being caused in updating a work table even when a large number of documents exist on a flow. <P>SOLUTION: In one or more tables 18 constituting a table group, a series of record groups based on an application ID are locked, and among available work table groups 1201, one work table group (for example, a work table group 1201-1) is generated. The record groups locked in the tables 18 are stored in one or more work tables constituting the generated work table group. Then, in each of the work tables constituting the generated work table group, addition, update, or deletion of a record is carried out. Subsequently, added, updated, or deleted records of one or more work tables constituting the work table group are stored respectively in one or more tables 18 constituting the table group, and lock of a series of record groups is released. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ワークフロー制御システムおよびワークフロー制御プログラムに関する。   The present invention relates to a workflow control system and a workflow control program.

会社内などで、申請書を電子的に回覧させて決済するための種々のワークフローシステムが提案されている。ワークフローシステムにおいては、承認権限をもつ社員の情報を、承認順、つまり、回議ルートにしたがってテーブルに格納しておき、申請書類を、テーブルに格納された回議ルートにしたがって、社員にメール送信するように構成されている。特許文献1には、人事異動などによる回議ルートの変更に柔軟に対応できるように、ルート・コードのそれぞれについて、リンク・データおよび文書の回議順を定めたルート・テーブル、文書の種類を特定する文書種類特定コードと、ルート・コードとを対応させたルート選択テーブル、並びに、構成員特定コードのそれぞれと、リンク・データとを対応させたアサイン・テーブルとを備えたワークフロー制御システムが開示されている。特許文献1に開示されたシステムによれば、アサイン・テーブルの構成員特定コードやリンク・データを修正・変更することにより、他のテーブルを変更することなく、人事異動などに伴う回議ルートの変更に対応することが可能となる。   Various workflow systems for electronically circulating application forms and making payments within a company have been proposed. In the workflow system, information of employees with approval authority is stored in a table according to the approval order, that is, the route of recollection, and the application documents are sent to employees according to the route of recollection stored in the table. It is configured. Patent Document 1 specifies a link table and a route table that defines the order of document recollection for each route code and a document type so as to flexibly cope with a change in a recourse route due to personnel changes or the like. Disclosed is a workflow control system including a route selection table in which a document type identification code and a route code are associated, and an assignment table in which each member identification code is associated with link data. Yes. According to the system disclosed in Patent Document 1, by changing / changing the member identification code and link data of the assignment table, the reroute route can be changed due to personnel changes without changing other tables. It becomes possible to cope with.

また、特許文献2には、回議者、回議順を特定する回議順ID、回議者の権限タイプを示す権限タイプコードを特定する情報を含むレコードを格納した回議情報テーブルと、隣接する回議順IDの先後を示す情報を含むレコードを格納した回議順連結テーブルとを備え、回議情報テーブル中にレコードを挿入するとともに、必要に応じて回議順連結テーブルも更新することにより、回議者の追加に対応できるフロー制御システムが開示されている。このように、ワークフロー制御システムにおいては、組織変更にともなって、或いは、回議者の要望に応じて、回議者および回議順を含む回議フローが変更できるようになっている。
特開2003−114967号公報 特開2005−284765号公報
Further, in Patent Document 2, a meeting information table storing records including information identifying a meeting person, a meeting order ID for identifying the meeting order, and an authority type code indicating the authority type of the meeting person, and an adjacent meeting order ID It is possible to add reconcilers by inserting a record in the reconstitution information table and updating the reconcilation order concatenation table as necessary. A possible flow control system is disclosed. As described above, in the workflow control system, the circulation flow including the reconcilor and the order of reconcilations can be changed in accordance with the organization change or according to the request of the reconcilor.
JP 2003-114967 A JP 2005-284765 A

特許文献1や特許文献2に示すフロー制御システムにおいても、回議フローの変更の際には、テーブルの更新が必要となる。たとえば、特許文献2に示す技術では、回議者の追加や変更、或いは、回議順の変更のためには、回議情報テーブルおよび回議順連結テーブルが更新される。   Also in the flow control systems shown in Patent Document 1 and Patent Document 2, the table needs to be updated when the reconstitution flow is changed. For example, in the technique shown in Patent Document 2, the addition and change of the contributor or the change of the order of reconcilation updates the reconstitution information table and the reconference order concatenation table.

また、通常の回議の際には、文書ごとに、当該文書が現在どの回議順に位置しているかを示すステータスを含むテーブルが利用され、このテーブルは、文書が、承認者や決裁者の操作にしたがって、文書テーブルのレコードのステータスが変更される。   In addition, during a normal round-trip, a table is used for each document that includes a status indicating the order in which the relevant document is currently located. This table is used for the operations of the approver and the approver. Therefore, the status of the record in the document table is changed.

従来、上述した回議フローの変更に伴うテーブルの更新や、回議における文書のテーブルにおけるステータスの変更の際には、申請者、承認者或いは決裁者が、クライアントの入力装置を操作して、回議者や回議順の変更、或いは、申請や承認を指示することに応答して、端末装置とネットワークを介して接続されたワークフロー制御システムにおいて、たとえば、他のトランザクションによるデータの更新を排除するために、いったん更新対象となるテーブル或いはテーブルのレコードをロックした上で、以下の処理が実行される。
(1)ワークフロー制御システムは、処理対象となるテーブルについて、ワークテーブルを記憶装置上に作成し、ワークテーブルを対象として、新たな回議者や回議順についてのレコードを追加し、或いは、該当レコードにおいてステータスを示す値を更新する。
(2)次いで、ワークフロー制御システムは、更新されたワークテーブルのレコードを、本来のテーブル(実テーブル)に書き換える。
Conventionally, when updating the table according to the above-described change of the circulation flow or changing the status of the document table in the circulation, the applicant, the approver, or the authorizer operates the input device of the client to perform the circulation. In the workflow control system connected to the terminal device via the network in response to changing the order of recollections or instructing application or approval, for example, in order to eliminate the update of data by other transactions, Once the table or table record to be updated is locked, the following processing is executed.
(1) The workflow control system creates a work table on the storage device for the table to be processed, and adds a record about a new contributor and the order of the replay for the work table, or in the corresponding record. Update the status value.
(2) Next, the workflow control system rewrites the updated work table record to the original table (actual table).

上述したように、本来のテーブルのレコードを更新した後に、ロックを解除して、他のトランザクションによるテーブルのレコードの更新を認める。フロー上に存在する文書が増大するのにしたがって(つまり、ワークフローシステムの利用者が増大するのに従って)、他のトランザクションが、あるトランザクションにかかるテーブル更新に伴うロックによってロック待ちとなる状態が多発する可能性がある。   As described above, after the original table record is updated, the lock is released and the update of the table record by another transaction is permitted. As the number of documents existing on the flow increases (that is, as the number of users of the workflow system increases), other transactions frequently become in a state of waiting for a lock due to a lock associated with a table update related to a certain transaction. there is a possibility.

特に、上記(1)、(2)の作業中のテーブル或いはレコードのロックがボトルネックとなる。   In particular, the table or record lock during the operations (1) and (2) is a bottleneck.

本発明は、利用者が増大して、フロー上に存在する文書数などが大きくなっても、ワークテーブルの更新においてロック待ちが生じず、円滑なフロー制御を実現するシステムおよびプログラムを提供することを目的とする。   The present invention provides a system and program that realizes smooth flow control without waiting for a lock in updating a work table even when the number of users increases and the number of documents existing on the flow increases. With the goal.

本発明の目的は、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバであって、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御手段と、
前記クライアントからのメンバの追加、更新或いは削除の指示の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、回議順において隣接するメンバとメンバとの間に新たなメンバを追加し、ある回議順のメンバを変更し、或いは、ある回議順のメンバを削除することを示す指示を受信して、前記1以上のテーブルにおいて、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を特定するテーブル管理手段と、を備え、
前記テーブル制御手段が、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックし、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納し、
前記テーブル管理手段からの、前記1以上のテーブルにおける、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を示す情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードの追加、更新、削除を実行し、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、追加、更新或いは削除されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納し、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するように構成されたことを特徴とするワークフロー制御サーバにより達成される。
An object of the present invention is to provide an application ID for identifying an application to be circulated, information indicating a member to be circulated for the application and the order of the circulation, information for identifying a member for which some action is required for the application, Including a table group consisting of one or more tables having records including: and specifying the application form data identified by the application form ID according to the order of recitation based on the records of the one or more tables constituting the table group A workflow control server that circulates the application by sending it over the network to the client of the member,
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, Table control means that can generate a plurality of work table groups composed of the above tables;
In accordance with reception of an instruction to add, update, or delete a member from the client, a new member is added between adjacent members in the order of reconstitution in one or more tables constituting the table group. In the one or more tables, the record to be added and its position, the record to be updated, and its position in the one or more tables are received. Or a table management means for specifying the record to be deleted and its position,
The table control means is
According to the reception of the information specifying the application form ID, in one or more tables constituting the table group, a series of record groups based on the received information is locked,
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And
Based on information indicating the record to be added and its position, the record to be updated and its position, or the record to be deleted and its position in the one or more tables from the table management means Add, update, and delete records in each of the worktables that make up the worktable group.
Each of the one or more work tables constituting the work table group stores records added, updated or deleted in one or more tables constituting the table group,
After that, it is achieved by a workflow control server configured to release a lock of a series of record groups in one or more tables constituting the table group.

また、本発明の目的は、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバであって、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御手段と
前記クライアントからの申請書IDにて特定される申請書について、申請或いは承認を含むアクションの受信にしたがって、前記テーブル群を構成する1以上のテーブルを参照して、前記回議順において、申請書について次にアクションが求められるメンバを特定して、当該テーブルのレコードにおいて、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードを特定するワークフロー進行処理手段と、を備え、
前記テーブル制御手段が、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックし、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納し、
前記ワークフロー進行処理手段からの、前記1以上のテーブルにおける、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードの情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードを更新し、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、更新されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納し、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するように構成されたことを特徴とするワークフロー制御サーバにより達成される。
In addition, the object of the present invention is to provide an application ID for identifying an application to be circulated, information indicating a member to whom the application is to be circulated and the order in which the application is to be circulated, and information for identifying a member for which some action is required for the application. And a table group consisting of one or more tables having records including the application form data specified by the application form ID in the order of recitation based on the records of the one or more tables constituting the table group Therefore, a workflow control server that circulates the application by sending it to the identified member client via the network,
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, The table control means configured from the above table and capable of generating a plurality of work table groups, and the application specified by the application ID from the client, according to reception of an action including application or approval, the table Referring to one or more tables that make up the group, in the order of reconsideration, identify the member who is required to take the next action for the application form, and identify the member for which some action is required for the application form in the record of the table Workflow progress processor that identifies the record that should be updated A stage,
The table control means is
According to the reception of the information specifying the application form ID, in one or more tables constituting the table group, a series of record groups based on the received information is locked,
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And
Work pieces that constitute the generated work table group based on the information of the record to be updated in the one or more tables from the workflow progress processing means, the information specifying the member for which some action is required for the application form. Update the record in each of the tables,
Storing updated records of each of the one or more work tables constituting the work table group in one or more tables constituting the table group;
After that, it is achieved by a workflow control server configured to release a lock of a series of record groups in one or more tables constituting the table group.

本発明の好ましい実施態様においては、前記テーブル群を構成する1以上のテーブルのレコードが、当該レコードにかかるメンバが何らかのアクションをすべきであることを示すアクティブメンバフラグと、アクションが終了していることを示すアクション終了フラグを含み、前記ワークフロー進行処理手段が、前記テーブル群を構成する1以上のテーブルにおいて、アクティブメンバフラグおよび/またはアクション終了フラグを更新すべきレコードを特定し、
前記テーブル制御手段が、前記ワークテーブル群を構成する1以上のワークテーブルにおいて、前記特定されたレコードのアクティブメンバフラグおよび/またはアクション終了フラグを更新するように構成されたことを特徴とする請求項2に記載のワークフロー制御サーバ。
In a preferred embodiment of the present invention, the record of one or more tables constituting the table group includes an active member flag indicating that a member related to the record should take some action, and the action is ended. An action end flag indicating that, in one or more tables constituting the table group, the workflow progress processing means identifies a record in which an active member flag and / or an action end flag should be updated,
The table control means is configured to update an active member flag and / or an action end flag of the specified record in one or more work tables constituting the work table group. 2. The workflow control server according to 2.

本発明の別の好ましい実施態様においては、前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、並びに、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブルを含み、
前記テーブル制御手段が、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブルおよび前記メンバ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載のワークフロー制御サーバ。
In another preferred embodiment of the present invention, the table group requires an application ID for identifying an application to be circulated, information for identifying a member to circulate the application, and some action on the application. A member table having a record including information for specifying a member, the application form ID, information for specifying a start member that precedes two adjacent members in the order of reconsideration, and information for specifying a subsequent end member A member linked table having a record containing
The table control means is configured to generate a work table group including the work tables of the member table and the member connection table as one of the plurality of work table groups that can be generated. The workflow control server according to any one of claims 1 to 3, wherein the workflow control server is provided.

本発明のさらに別の好ましい実施態様においては、前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、当該メンバが属する、一定のメンバの集合体であるファミリを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブル、前記申請書IDと、前記ファミリを特定する情報と、前記申請書について何らかのアクションが求められるメンバが属するファミリを特定する情報と、を含むファミリテーブル、並びに、前記申請書IDと、回議順において隣接する2つのファミリにおいて先行するスタートファミリを特定する情報と、後続するエンドファミリを特定する情報とを含むレコードを有するファミリ連結テーブルを含み、
前記テーブル制御手段が、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブル、メンバ連結テーブル、ファミリテーブルおよびファミリ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載のワークフロー制御サーバ。
In still another preferred embodiment of the present invention, the table group includes an application ID that specifies an application to be circulated, information that specifies a member to which the application is to be circulated, and a constant to which the member belongs. In a member table having a record including information specifying a family that is a collection of members and information specifying a member for which some action is required for the application, the application ID, and two members adjacent in the order of reconsideration A member connection table having a record including information specifying a preceding start member and information specifying a subsequent end member, the application form ID, information specifying the family, and some action is required for the application form A family table containing information identifying the family to which the member The includes a application ID, the information identifying the start families preceding in adjacent two families in Kaigi order families coupling table having a record including the information specifying the end family subsequent,
A work table group in which the table control means includes each work table of the member table, the member connection table, the family table, and the family connection table as one of the plurality of work table groups that can be generated. The workflow control server according to any one of claims 1 to 3, wherein the workflow control server is configured to generate.

また、本発明の好ましい実施態様においては、前記テーブル制御手段が、前記クライアントと前記制御サーバとの間のセッションについて、前記制御サーバが付与したセッションIDに基づいて、前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成することを特徴とする請求項1ないし5の何れか一項に記載のワークフロー制御サーバ。   Also, in a preferred embodiment of the present invention, the table control means, for a session between the client and the control server, the plurality of work table groups that can be generated based on a session ID assigned by the control server. 6. The workflow control server according to claim 1, wherein any one work table group is generated.

さらに、本発明の目的は、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバにおいて、前記ワークフロー制御サーバに、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御ステップ、並びに、
前記クライアントからのメンバの追加、更新或いは削除の指示の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、回議順において隣接するメンバとメンバとの間に新たなメンバを追加し、ある回議順のメンバを変更し、或いは、ある回議順のメンバを削除することを示す指示を受信して、前記1以上のテーブルにおいて、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を特定するテーブル管理ステップを実行させ、かつ、
前記ワークフロー制御サーバに、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックするステップと、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納するステップと、
前記テーブル管理手段からの、前記1以上のテーブルにおける、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を示す情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードの追加、更新、削除を実行するステップと、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、追加、更新或いは削除されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納するステップと、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するステップと、を実行させることを特徴とするワークフロー制御プログラムにより達成される。
Further, the object of the present invention is to provide an application ID for identifying an application to be circulated, information indicating a member to whom the application is to be circulated and the order in which the application is circulated, and information for identifying a member for which some action is required for the application. And a table group consisting of one or more tables having records including the application form data specified by the application form ID in the order of recitation based on the records of the one or more tables constituting the table group Therefore, in the workflow control server that circulates the application by sending it to the client of the identified member via the network, the workflow control server
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, A table control step that can generate a plurality of work table groups composed of the above tables, and
In accordance with reception of an instruction to add, update, or delete a member from the client, a new member is added between adjacent members in the order of reconstitution in one or more tables constituting the table group. In the one or more tables, the record to be added and its position, the record to be updated, and its position in the one or more tables are received. Alternatively, a table management step for specifying a record to be deleted and its position is executed, and
In the workflow control server,
Locking a series of record groups based on the received information in one or more tables constituting the table group in accordance with reception of information specifying the application form ID;
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And steps to
Based on information indicating the record to be added and its position, the record to be updated and its position, or the record to be deleted and its position in the one or more tables from the table management means A step of adding, updating, and deleting records in each of the work tables constituting the work table group;
Storing each added, updated or deleted record of one or more work tables constituting the work table group in one or more tables constituting the table group;
Thereafter, a step of releasing the lock of a series of record groups in one or more tables constituting the table group is executed.

また、本発明の目的は、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバにおいて、前記ワークフロー制御サーバに、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御ステップ、並びに、
前記クライアントからの申請書IDにて特定される申請書について、申請或いは承認を含むアクションの受信にしたがって、前記テーブル群を構成する1以上のテーブルを参照して、前記回議順において、申請書について次にアクションが求められるメンバを特定して、当該テーブルのレコードにおいて、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードを特定するワークフロー進行処理手段を実行させ、かつ、
前記ワークフロー制御サーバに、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックするステップと、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納するステップと、
前記ワークフロー進行処理手段からの、前記1以上のテーブルにおける、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードの情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードを更新するステップと、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、更新されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納するステップと、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するステップと、を実行させることを特徴とするワークフロー制御プログラムにより達成される。
In addition, the object of the present invention is to provide an application ID for identifying an application to be circulated, information indicating a member to whom the application is to be circulated and the order in which the application is to be circulated, and information for identifying a member for which some action is required for the application. And a table group consisting of one or more tables having records including the application form data specified by the application form ID in the order of recitation based on the records of the one or more tables constituting the table group Therefore, in the workflow control server that circulates the application by sending it to the client of the identified member via the network, the workflow control server
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, A table control step that can generate a plurality of work table groups composed of the above tables, and
With respect to the application specified by the application ID from the client, referring to one or more tables constituting the table group in accordance with reception of an action including application or approval, the application is determined in the order of reconsideration. Next, a member for which an action is required is specified, and in the record of the table, a workflow progress processing unit for specifying a record for updating information for specifying a member for which an action is required for an application form is executed, and
In the workflow control server,
Locking a series of record groups based on the received information in one or more tables constituting the table group in accordance with reception of information specifying the application form ID;
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And steps to
Work pieces that constitute the generated work table group based on the information of the record to be updated in the one or more tables from the workflow progress processing means, the information specifying the member for which some action is required for the application form. Updating each record in each of the tables;
Storing each updated record of each of the one or more work tables constituting the work table group in one or more tables constituting the table group;
Thereafter, a step of releasing the lock of a series of record groups in one or more tables constituting the table group is executed.

好ましい実施態様においては、前記テーブル群を構成する1以上のテーブルのレコードが、当該レコードにかかるメンバが何らかのアクションをすべきであることを示すアクティブメンバフラグと、アクションが終了していることを示すアクション終了フラグを含み、
前記ワークフロー進行処理ステップにおいて、前記ワークフロー制御サーバに、前記テーブル群を構成する1以上のテーブルにおいて、アクティブメンバフラグおよび/またはアクション終了フラグを更新すべきレコードを特定するステップを実行させ、かつ、
前記ワークフロー制御サーバに、
前記ワークテーブル群を構成する1以上のワークテーブルにおいて、前記特定されたレコードのアクティブメンバフラグおよび/またはアクション終了フラグを更新するステップを実行させる。
In a preferred embodiment, a record of one or more tables constituting the table group indicates an active member flag indicating that a member related to the record should take some action, and that the action has ended. Including an action end flag,
In the workflow progress processing step, causing the workflow control server to execute a step of identifying a record in which an active member flag and / or an action end flag should be updated in one or more tables constituting the table group; and
In the workflow control server,
The step of updating the active member flag and / or the action end flag of the specified record is executed in one or more work tables constituting the work table group.

別の好ましい実施態様においては、前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、並びに、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブルを含み、
前記ワークフロー制御サーバに、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブルおよび前記メンバ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するステップを実行させる。
In another preferred embodiment, the table group specifies an application ID for identifying an application to be circulated, information for identifying a member to circulate the application, and a member for which an action is required for the application. A member table having a record including information to be recorded, and a record including the application ID, information for specifying a start member preceding in two adjacent members in the order of reconsideration, and information for specifying a subsequent end member A member concatenation table having
A step of generating a work table group including the work tables of the member table and the member connection table as any one of a plurality of work table groups that can be generated in the workflow control server is executed. Let

さらに別の好ましい実施態様においては、前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、当該メンバが属する、一定のメンバの集合体であるファミリを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブル、前記申請書IDと、前記ファミリを特定する情報と、前記申請書について何らかのアクションが求められるメンバが属するファミリを特定する情報と、を含むファミリテーブル、並びに、前記申請書IDと、回議順において隣接する2つのファミリにおいて先行するスタートファミリを特定する情報と、後続するエンドファミリを特定する情報とを含むレコードを有するファミリ連結テーブルを含み、
前記ワークフロー制御サーバに、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブル、メンバ連結テーブル、ファミリテーブルおよびファミリ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するステップを実行させる。
In still another preferred embodiment, the table group includes an application ID for identifying an application to be circulated, information for identifying a member to be circulated for the application, and a set of certain members to which the member belongs. A member table having a record including information for identifying a family that is a body and information for identifying a member for whom an action is required for the application, the application ID, and a start preceding two adjacent members in the order of reconsideration A member connection table having a record including information for specifying a member and information for specifying a subsequent end member, the information for specifying the application form ID, the information for specifying the family, and a member for which some action is required for the application form. A family table including information identifying the family to which the Includes a write ID, the information identifying the start families preceding the two families which are adjacent in Kaigi order, the family connection table having a record including the information specifying the end family subsequent,
A work table group including, as one work table group among a plurality of work table groups that can be generated in the workflow control server, the member table, the member connection table, the family table, and the family connection table. The step of generating is executed.

また、好ましい実施態様においては、前記テーブル制御ステップにおいて、前記ワークフロー制御サーバに、前記クライアントと前記制御サーバとの間のセッションについて、前記制御サーバが付与したセッションIDに基づいて、前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成するステップを実行させる。   In a preferred embodiment, in the table control step, the workflow control server can generate a plurality of sessions between the client and the control server based on a session ID assigned by the control server. A step of generating any one of the work table groups is executed.

本発明によれば、利用者が増大して、フロー上に存在する文書数などが大きくなっても、ロック待ちが生じず、円滑なフロー制御を実現するシステムおよびプログラムを提供することが可能となる。   According to the present invention, it is possible to provide a system and program that realizes smooth flow control without waiting for a lock even when the number of users increases and the number of documents existing on the flow increases. Become.

以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、本発明の実施の形態にかかるワークフロー制御サーバを含む全体構成を示すブロックダイヤグラムである。図1に示すように、ワークフロー制御サーバ(以下、単に「制御サーバ」とも称する。)10には、LAN、WANなどのネットワーク12を介して、クライアント14−1、14−2、・・・が接続できるようになっている。本実施の形態においては、制御サーバ10を、企業の社員が、申請や承認の必要な申請書の回議に利用する。クライアント14−1、14−2、・・・のそれぞれは、社員が使用し、ネットワーク12を介して、制御サーバ10にアクセスし、申請書のデータを受け取って、申請書の所定の項目に入力するとともに、申請や承認など、申請書に必要な処理を施すことができるようになっている。なお、以下、特に役職などを限定しない場合に、クライアント14を操作して、申請書を作成し、或いは、申請書を申請、承認等する者を、単に「社員」と称する。   Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an overall configuration including a workflow control server according to an embodiment of the present invention. As shown in FIG. 1, a workflow control server (hereinafter also simply referred to as “control server”) 10 includes clients 14-1, 14-2,... Via a network 12 such as a LAN or WAN. It can be connected. In the present embodiment, the control server 10 is used by company employees to circulate application forms that require application or approval. Each of the clients 14-1, 14-2,... Is used by employees, accesses the control server 10 via the network 12, receives application form data, and inputs them into predetermined items of the application form At the same time, it is possible to perform necessary processing on the application form, such as application and approval. In the following description, a person who operates the client 14 to create an application form or who applies or approves an application form is simply referred to as an “employee” unless the job title is particularly limited.

図1に示すように、制御サーバ10は、企業に属する社員、部署、役職などに関する定義情報である各種マスタを記憶したマスタデータベース(DB)16と、回議する申請書に関する種々のテーブルを記憶したテーブルDB18とを備えている。これらマスタDB16およびテーブルDB18に記憶されたマスタやテーブルについては、後に詳述する。また、テーブルの更新の際に利用されるワークテーブルは、制御サーバ10の記憶装置中に生成される。なお、本実施の形態において、記憶装置は、物理的には制御サーバ10のハードディスク装置やRAMなどのメモリを含む。   As shown in FIG. 1, the control server 10 stores a master database (DB) 16 that stores various masters that are definition information related to employees, departments, positions, and the like belonging to a company, and various tables related to applications to be circulated. Table DB18 is provided. The masters and tables stored in the master DB 16 and the table DB 18 will be described in detail later. A work table used when updating the table is generated in the storage device of the control server 10. In the present embodiment, the storage device physically includes a memory such as a hard disk device or a RAM of the control server 10.

制御サーバ10は、ネットワークを介したクライアント14からの指示に応答して、各種テーブルのレコードの生成や更新を、後述するDB制御部24に指示するテーブル管理部20と、テーブルDB18に記憶されたテーブルのレコードを参照して、申請書を回議順にしたがって回議する(つまりフローを進行させる)フロー制御部22と、テーブル管理部20やフロー管理部22による指示に基づいて、トランザクションを制御するとともに、記憶装置中にワークテーブルを生成して、テーブルのレコード更新を実現するDB制御部24と、を備えている。また、制御サーバ10は、クライアント14の表示装置の画面上に表示すべき画像を生成して、クライアント14に送信し、また、クライアント14からの指示を受け入れるユーザインタフェース(I/F)26を備えている。   In response to an instruction from the client 14 via the network, the control server 10 stores a table management unit 20 that instructs a DB control unit 24 (to be described later) to generate and update records of various tables and the table DB 18. With reference to the records in the table, the application is circulated according to the order of refusal (that is, the flow is advanced), and the transaction is controlled based on instructions from the table management unit 20 and the flow management unit 22, And a DB control unit 24 that generates a work table in the storage device and realizes record update of the table. The control server 10 also includes a user interface (I / F) 26 that generates an image to be displayed on the screen of the display device of the client 14, transmits the image to the client 14, and accepts an instruction from the client 14. ing.

図2は、本実施の形態にかかる制御サーバ10における処理の概要、並びに、マスタDB16およびテーブルDB18に格納されたマスタおよびテーブルを示す図である。図2に示すように、制御サーバ10においては、社員がクライアント14を操作して、ログインし(ステップ201)、クライアント14の表示装置の画面上に表示された画像を参照して、申請書を作成する(ステップ202)。申請書が完成すると、社員によるクライアント14の操作にしがって、申請書のデータ(各種テーブルのレコード)が、テーブルDB18中のテーブルに保存される(ステップ203)。ステップ201〜203が、社員による申請書の作成に応答して実行される処理の概略である。   FIG. 2 is a diagram showing an outline of processing in the control server 10 according to the present embodiment, and masters and tables stored in the master DB 16 and the table DB 18. As shown in FIG. 2, in the control server 10, the employee operates the client 14 to log in (step 201), refers to the image displayed on the screen of the display device of the client 14, and submits the application form. Create (step 202). When the application form is completed, the application form data (records of various tables) is stored in a table in the table DB 18 in accordance with the operation of the client 14 by the employee (step 203). Steps 201 to 203 are an outline of processing executed in response to the creation of an application form by an employee.

その一方、社員が申請書を承認或いは決裁する際には、社員のクライアント14の操作に応答して、制御サーバ10は、既存の申請書のデータをテーブルDB18のテーブルから読み出して、クライアント14の表示装置の画面上に表示する(ステップ211)。社員はクライアント14の表示装置の画面上に表示された申請書を参照して、申請書が承認或いは決裁可能であれば、入力装置を操作して、承認或いは決裁の指示を入力する。これに応答して、制御サーバ10は、テーブルDB18中の必要なテーブルのレコードを生成し、或いは、レコードを更新する(ステップ212)。これら制御サーバ10における処理については後に詳述する。   On the other hand, when the employee approves or approves the application, in response to the operation of the client 14 of the employee, the control server 10 reads the data of the existing application from the table of the table DB 18 and It is displayed on the screen of the display device (step 211). The employee refers to the application form displayed on the screen of the display device of the client 14, and if the application form can be approved or approved, the employee operates the input device and inputs an approval or approval instruction. In response to this, the control server 10 generates a record of a necessary table in the table DB 18 or updates the record (step 212). These processes in the control server 10 will be described in detail later.

図2に示すように、本実施の形態においては、たとえば、マスタDB16は、社員マスタ101、部署マスタ102、役職マスタ103、役割マスタ104、アサインマスタ105、文書マスタ106、ルートマスタ107、ステータスマスタ108およびアクションマスタ109を記憶する。また、テーブルDB18は、実申請書テーブル151、履歴テーブル152、ファミリテーブル153、メンバテーブル154、ファミリ連結テーブル155、メンバ連結テーブル156および添付書類テーブル157を記憶する。   As shown in FIG. 2, in this embodiment, for example, the master DB 16 is an employee master 101, a department master 102, a title master 103, a role master 104, an assignment master 105, a document master 106, a route master 107, and a status master. 108 and action master 109 are stored. The table DB 18 stores a real application form table 151, a history table 152, a family table 153, a member table 154, a family connection table 155, a member connection table 156, and an attached document table 157.

図3は、マスタDB16に記憶されたマスタのそれぞれのレコードの項目の例を示す図である。図3(a)に示すように、社員マスタのレコードは、社員コード、社員名称およびログインIDという項目を有する。図3(b)に示すように、部署マスタのレコードは、部署コードおよび部署名称という項目を有する。図3(c)に示すように、役職マスタのレコードは、役職コード、役職階級および役職名称という項目を有する。図3(d)に示すように、役割マスタのレコードは、役割コードおよび役割名称という項目を有する。図3(e)に示すように、アサインマスタのレコードは、社員コード、部署コード、役職コードおよび役割コードを有する。   FIG. 3 is a diagram illustrating an example of items of each record of the master stored in the master DB 16. As shown in FIG. 3A, the record of the employee master has items of an employee code, an employee name, and a login ID. As shown in FIG. 3B, the department master record has items of department code and department name. As shown in FIG.3 (c), the title master record has items of title code, title class, and title. As shown in FIG. 3D, the role master record has items of a role code and a role name. As shown in FIG. 3E, the assignment master record has an employee code, a department code, a post code, and a role code.

ログインの際には、制御サーバ10が社員マスタを参照して、社員がクライアント14を操作して入力した社員コードおよびIDと、社員マスタに記憶された、入力された社員コードで特定されるレコード中のログインIDとが比較される。また、アサインマスタのレコードには、ある社員の、部署、役職、役割が関連付けられて記憶されている。したがって、制御サーバ10の処理においては、まずアサインマスタを参照して、アサインマスタのレコードから、社員マスタ、部署マスタ、役職マスタ或いは役割マスタのレコードを特定することが可能となる。   When logging in, the control server 10 refers to the employee master, and the employee code and ID entered by the employee operating the client 14 and the record specified by the entered employee code stored in the employee master The login ID inside is compared. Also, the assignment master record stores a department, job title and role of an employee in association with each other. Therefore, in the processing of the control server 10, it is possible to first specify the employee master, department master, post master, or role master record from the assignment master record by referring to the assignment master.

また、本実施の形態においては、マスタDB16には、さらに、文書マスタ、ルートマスタ、権限マスタ、ステータスマスタ、アクションマスタなどが含まれる。図3(f)に示すように、文書マスタは、文書コード、文書区分コード、文書名称および文書データ形式コードという項目を有する。図3(g)に示すように、ルートマスタのレコードは、ルートコード、ルート名および文書区分コードという項目を有する。図3(h)に示すように、権限マスタのレコードは、権限コードおよび権限名称という項目を有する。   In the present embodiment, the master DB 16 further includes a document master, a root master, an authority master, a status master, an action master, and the like. As shown in FIG. 3F, the document master has items of a document code, a document classification code, a document name, and a document data format code. As shown in FIG. 3G, the record of the route master has items of a route code, a route name, and a document classification code. As shown in FIG. 3 (h), the record of the authority master has items of an authority code and an authority name.

また、図3(i)に示すように、ステータスマスタのレコードは、ステータスコード、文書区分コード、ステータスタイプコードおよびステータス名称という項目を有し、図3(j)に示すように、アクションマスタのレコードは、アクションコード、文書区分コード、アクションタイプコード、アクション名称、アクション後ステータスコードという項目を有する。   Also, as shown in FIG. 3 (i), the status master record has items of status code, document classification code, status type code, and status name, and as shown in FIG. The record has items of action code, document classification code, action type code, action name, and post-action status code.

上述したマスタのレコードの項目は、一例にすぎず、各マスタは、図3に示した項目以外の項目を含み得ることは言うまでも無い。   The items of the master record described above are merely examples, and it goes without saying that each master may include items other than the items shown in FIG.

本実施の形態においては、社員が、クライアント14の入力装置を操作して、必要な情報を入力すると、制御サーバ10は、文書を回議するために必要な種々のテーブルのレコードを生成して、生成された種々のテーブルのレコードを、テーブルDB18に記憶する。   In the present embodiment, when an employee operates the input device of the client 14 and inputs necessary information, the control server 10 generates records of various tables necessary to circulate a document, Records of the various generated tables are stored in the table DB 18.

図4は、テーブルDB18に記憶されたテーブルのそれぞれのレコードの項目を示す図である。図4(a)に示すように、実申請書テーブルのレコードは、申請書ID、文書コード、ステータスコード、ヘッダ社員コード、ヘッダ部署コード、ヘッダ役職コード、起案者社員コード、起案者部署コード、および、起案者役職コードという項目を有する。図4(b)に示すように、履歴テーブルのレコードは、申請書ID,履歴ID、社員コード、部署コード、役職コード、権限コード、アクションコード、および、アクション実行日時という項目を有する。図4(c)に示すように、ファミリテーブルのレコードは、申請書ID、ファミリID、アクティブファミリフラグおよびアクション終了フラグという項目を有する。図4(d)に示すように、メンバテーブルのレコードは、申請書ID、ファミリID、メンバID、アクティブメンバフラグ、アクション終了フラグ、権限コード、社員コード、部署コード、役職コードおよび役割コードという項目を有する。図4(e)に示すように、ファミリ連結テーブルは、申請書ID、スタートファミリIDおよびエンドファミリIDという項目を有する。図4(f)に示すように、メンバ連結テーブルは、申請書ID、ファミリID、スタートメンバIDおよびエンドメンバIDという項目を有する。また、図4(g)に示すように、添付書類テーブル(f)は、申請書ID,添付書類ID、ファイル名、添付ファイルおよび添付者社員コードという項目を有する。なお、上述したテーブルのレコードの項目も、一例にすぎず、各テーブルは、図4に示した項目以外の項目を含み得ることは言うまでも無い。   FIG. 4 is a diagram showing items of records in the table stored in the table DB 18. As shown in FIG. 4A, the record of the actual application form table includes an application form ID, a document code, a status code, a header employee code, a header department code, a header post code, a drafter employee code, a drafter department code, And, it has an item of drafter title code. As shown in FIG. 4B, the record in the history table has items of application ID, history ID, employee code, department code, post code, authority code, action code, and action execution date and time. As shown in FIG. 4C, the record in the family table has items of application form ID, family ID, active family flag, and action end flag. As shown in FIG. 4D, the record of the member table includes items of application ID, family ID, member ID, active member flag, action end flag, authority code, employee code, department code, post code, and role code. Have As shown in FIG. 4 (e), the family connection table has items of application form ID, start family ID, and end family ID. As shown in FIG. 4F, the member connection table has items of application ID, family ID, start member ID, and end member ID. As shown in FIG. 4G, the attached document table (f) has items of application ID, attached document ID, file name, attached file, and attached employee code. Note that the items of the records in the table described above are merely examples, and it goes without saying that each table may include items other than the items shown in FIG.

図4(a)〜(g)に示されるように、各テーブルのレコードのキー項目は申請書IDであり、申請書IDによって各テーブル中のレコードを特定できるようになっている。実申請書テーブルのレコードは、申請書ごとに1つだけ存在する。実申請書テーブルのレコードにより、ある社員(起案者)が作成し、回議する申請書を特定することができる。また、履歴テーブルのレコードには、承認や決裁した社員について、その行為(アクション)などが格納される。   As shown in FIGS. 4A to 4G, the key item of the record of each table is the application form ID, and the record in each table can be specified by the application form ID. There is only one record in the actual application form table for each application form. A record of the actual application form table can identify an application form created and circulated by a certain employee (drafter). The record of the history table stores the action (action) of the employee who has been approved or approved.

さらに、本実施の形態においては、申請書IDで規定される申請書の回議順は、ファミリテーブル、メンバテーブル、ファミリ連結テーブルおよびメンバ連結テーブルのレコードにより特定される。後に詳述するが、本実施の形態においては、回議順を規定するために、1以上のファミリ、および、ファミリ内のメンバが設けられている。図5(a)は、ある申請書の回議順の例を示す図である。図5(a)に示す例では、3つのファミリ(「ファミリ0」〜「ファミリ2」)が存在している。「ファミリ0」には、「メンバ0」として「申請者A」が存在し、「ファミリ1」には、「メンバ0」として「承認者B」が存在するとともに、「メンバ1」として「承認者C」が存在し、「ファミリ2」には、「メンバ0」として「決裁者E」が存在する。図6(a)は、図5(a)に示す回議順を表すメンバテーブルおよびファミリテーブルのレコードの部分を示す図である。申請書IDは全てのレコードで共通であるため図示していない。また、回議順を理解するために特に必要ではない項目についても、図示していない。   Furthermore, in the present embodiment, the order of reconsideration of application forms specified by the application form ID is specified by the records of the family table, member table, family connection table, and member connection table. As will be described in detail later, in the present embodiment, one or more families and members within the family are provided in order to define the order of reconsideration. FIG. 5A is a diagram showing an example of the order of reconsideration of a certain application form. In the example shown in FIG. 5A, there are three families (“family 0” to “family 2”). “Family 0” has “Applicant A” as “Member 0”, “Family 1” has “Approver B” as “Member 0”, and “Approved as“ Member 1 ”. "Family C" exists, and "Family 2" has "Approver E" as "Member 0". FIG. 6A is a diagram illustrating a record portion of the member table and the family table representing the order of the remuneration illustrated in FIG. The application ID is not shown because it is common to all records. In addition, items that are not particularly necessary for understanding the order of reconsideration are not shown.

メンバテーブルにおいては、回議順に存在する社員のそれぞれのファミリID、メンバIDなどを含むレコードが格納されている。たとえば、符号601に示すレコードは、「ファミリ0」の「メンバ0」であることがわかる。図6(a)において、AMFは、アクティブメンバフラグを表し、FMFは、アクション終了フラグを表す。これらフラグについては後述する。また、ファミリテーブルにおいては、各ファミリのレコードは、AFF(アクティブファミリフラグ)およびFFF(アクション終了フラグ)を含む。図6(a)において、 「ファミリ0」に関するファミリテーブルのレコードを符号621で示し、対応するメンバテーブルのレコードを符号601で示す。また、「ファミリ1」に関するファミリテーブルのレコードを符号622で示し、対応するメンバテーブルのレコードを符号602で示す。さらに、「ファミリ2」に関するファミリテーブルのレコードを符号623で示し、対応するメンバテーブルのレコードを符号603で示す。   The member table stores records including the family IDs, member IDs, and the like of employees that exist in the order of reconsideration. For example, it can be seen that the record indicated by reference numeral 601 is “member 0” of “family 0”. In FIG. 6A, AMF represents an active member flag, and FMF represents an action end flag. These flags will be described later. In the family table, each family record includes an AFF (active family flag) and an FFF (action end flag). In FIG. 6A, the family table record for “family 0” is indicated by reference numeral 621, and the corresponding member table record is indicated by reference numeral 601. A family table record for “family 1” is indicated by reference numeral 622, and a corresponding member table record is indicated by reference numeral 602. Further, a family table record for “family 2” is indicated by reference numeral 623, and a corresponding member table record is indicated by reference numeral 603.

図6(a)においては示さないが、図5(a)の回議順を表すために、ファミリ連結テーブルおよびメンバ連結テーブルのレコードも生成される。ファミリ連結テーブルのレコードにおける「スタートファミリID」は連結される2つのファミリのうち、スタート側(上流側)のファミリのファミリIDを示す。また、「エンドファミリID」は、連結される2つのファミリのうち、エンド側(下流側)のファミリのファミリIDを示す。図5(a)、図6(a)に示す例では、ファミリ連結テーブルには、「スタートファミリID」が「0」で「エンドファミリID」が「1」であるようなレコード、および、「スタートID」が「1」で「エンドファミリID」が「2」であるようなレコードが含まれる。   Although not shown in FIG. 6A, records of the family connection table and the member connection table are also generated in order to represent the order of reconstitution in FIG. 5A. The “start family ID” in the record of the family connection table indicates the family ID of the start side (upstream side) family among the two connected families. The “end family ID” indicates the family ID of the end (downstream) family of the two families to be linked. In the example shown in FIG. 5A and FIG. 6A, the family connection table includes a record in which “start family ID” is “0” and “end family ID” is “1”, and “ A record in which the “start ID” is “1” and the “end family ID” is “2” is included.

同様に、メンバ連結テーブルのレコードにおける「スタートメンバID」は連結される2つのメンバのうち、スタート側(上流側)のメンバのメンバIDを示す。また、「エンドメンバID」は、連結される2つのメンバのうち、エンド側(下流側)のメンバのメンバIDを示す。   Similarly, “start member ID” in the record of the member connection table indicates the member ID of the start side (upstream side) member among the two members to be connected. The “end member ID” indicates a member ID of an end side (downstream side) member among the two members to be connected.

以下、図2などを参照して、本実施の形態にかかる制御サーバを利用した、回議のための申請書の作成および申請、並びに、承認や決裁の権限をもつ社員による承認、決裁の処理の概略について説明する。   In the following, referring to FIG. 2 and the like, the control server according to the present embodiment is used to create and apply for an application for reconsideration, as well as approval and approval processing by an employee with authorization and approval authority. An outline will be described.

申請者となる社員は、クライアント14を操作してログインIDを入力して、ログインする。ログインの際には、制御サーバ10は、社員マスタ101を参照して、ログインした社員に関するレコード見出して、入力されたログインIDと、社員マスタ101のレコード中のログインIDとを照合してログインさせるか否かを判断する。また、社員によるクライアント14の操作に応答して、制御サーバ10は、文書マスタ106から所定の文書のコードや、ルートマスタ107からのレコードを取得して、文書などを含む初期画面を作成してクライアント14に送信する。社員は、クライアント14を操作して、ルートマスタのレコードの情報などに基づいて、回議すべき社員を特定していく。制御サーバ10は、クライアント14からの指示にしたがって、アサインマスタ105などを参照して、文書を回議すべき他の社員の情報をクライアント14に提示すればよい。   The employee who becomes the applicant logs in by operating the client 14 and inputting the login ID. At the time of login, the control server 10 refers to the employee master 101, finds a record related to the employee who has logged in, and collates the input login ID with the login ID in the record of the employee master 101 to log in. Determine whether or not. In response to the operation of the client 14 by the employee, the control server 10 obtains a predetermined document code from the document master 106 and a record from the route master 107 and creates an initial screen including the document. Send to client 14. The employee operates the client 14 and specifies the employee to be circulated based on the record information of the route master. The control server 10 may present information of other employees who should circulate the document to the client 14 by referring to the assignment master 105 or the like according to an instruction from the client 14.

申請書とするべき文書、回議すべき社員および回議順の情報が確定すると、社員からの入力やマスタの参照結果に基づいて、実申請書テーブル151、ファミリテーブル153、メンバテーブル154、ファミリ連結テーブル155およびメンバ連結テーブル156のレコードが生成される。ここで、実申請書テーブル151は、申請書を特定するものであり、ファミリテーブル153、メンバテーブル153、ファミリ連結テーブル155およびメンバ連結テーブル156は、回議順を特定するとともに、回議中の申請書のステータス(現在誰の承認或いは決裁が済んでおり、誰の承認を待つ状態であるか)を示すものとなる。   When the document to be applied for, the employee to be reconciled, and the information on the order of reconfirmation are determined, the actual application form table 151, the family table 153, the member table 154, and the family connection table based on the input from the employee and the reference result of the master 155 and member link table 156 records are generated. Here, the actual application form table 151 identifies an application form. The family table 153, the member table 153, the family connection table 155, and the member connection table 156 specify the order of reconsideration and the application form being reconsidered. Status (who is currently approved or approved and who is waiting for approval).

また、申請書に添付書類があれば、添付書類テーブル156のレコードも生成される。その一方、実申請書テーブルのレコードが生成された段階では、履歴テーブル152のレコードは生成されず、申請書が申請され、また、承認や決裁された場合に、制御サーバ10により、履歴テーブル152のレコードが生成される。   Further, if there is an attached document in the application form, a record of the attached document table 156 is also generated. On the other hand, when the record of the actual application form table is generated, the record of the history table 152 is not generated, and when the application form is applied for and approved or approved, the control server 10 makes the history table 152. Records are generated.

フロー進行処理部22は、ファミリテーブル153、メンバテーブル154、ファミリ連結テーブル155およびメンバ連結テーブル156を参照して、回議において次に承認或いは決済を求めるべき社員を特定して、その社員に対してメールを送信する。   The flow progress processing unit 22 refers to the family table 153, the member table 154, the family connection table 155, and the member connection table 156, identifies the employee who should be requested for approval or settlement next in the recollection, and send mail.

メールを受信した社員は、クライアント14を操作して、制御サーバ10にアクセスして、承認或いは決裁すべき申請書の情報を取得すべく、制御サーバ10に指示を与える。これに応答して、実申請書テーブル151のレコードに示す申請書データを、クライアント14の表示装置の画面上に表示し(ステップ211)、社員による承認或いは決裁を促す。   The employee who has received the mail operates the client 14 to access the control server 10 and gives an instruction to the control server 10 to acquire information on an application form to be approved or approved. In response to this, the application form data shown in the record of the actual application form table 151 is displayed on the screen of the display device of the client 14 (step 211), and the approval or approval by the employee is urged.

社員による承認或いは決裁を受けると、制御サーバ10は、承認或いは決裁にしたがって、実申請書テーブル、ファミリテーブル、メンバテーブルなどのレコードを更新するとともに、承認或いは決裁した社員に関する履歴テーブルのレコードを生成する。   Upon receiving approval or approval by the employee, the control server 10 updates the records of the actual application form table, family table, member table, etc. according to the approval or approval, and generates a record of the history table regarding the approved or approved employee. To do.

上述したように、申請者となる社員が申請書を作成した際には、テーブルDB18中に各種のテーブルが作成される。また、承認或いは決裁すべき社員による承認や決裁がなされた際には、実申請書テーブル、ファミリテーブル、メンバテーブルなどのレコードの更新や、履歴テーブルのレコードの追加が行われる。   As described above, when an employee who is an applicant creates an application form, various tables are created in the table DB 18. Further, when approval or approval is made by an employee to be approved or approved, records such as the actual application form table, family table, and member table are updated, and records in the history table are added.

さらに、本実施の形態においては、申請者となる社員(或いは承認者となる社員であっても良い)が、回議順を変更し、或いは、承認者や決裁者となる社員を削除或いは追加する場合に、これに伴うテーブル(たとえば、ファミリテーブル、メンバテーブル、メンバ連結テーブル)のレコードの追加、削除、更新も行われる。   Further, in the present embodiment, the employee who becomes the applicant (or may be the employee who becomes the approver) changes the order of reconsideration, or deletes or adds the employee who becomes the approver or the approver. In some cases, addition, deletion, and update of records in tables (for example, family tables, member tables, and member connection tables) associated therewith are also performed.

特に、回議順の変更に伴うテーブルのレコードの更新など、或いは、承認や決裁の際のテーブルの更新などは、制御サーバ10に対して大きな負荷を与えることになるため、本実施の形態では、後述する手法で負荷を分散して、円滑な処理の進行を実現している。   In particular, since the update of the table record accompanying the change in the order of recitation, or the update of the table at the time of approval or final approval will give a large load to the control server 10, in this embodiment, The load is distributed by a method to be described later to achieve smooth processing.

まず、回議順の変更等に伴うテーブルのレコードの更新について説明する。図7は、図5(a)に示す回議順の状態を示すレコードが各種テーブル(たとえば、図6(a)参照)に記憶された状態で、申請者となる社員によるクライアント14に応答して、制御サーバ10により生成され、クライアント14の画面上に表示された経費申請を行うための経費申請画面の例を示す図である。   First, the update of the record of the table accompanying the change in the order of recollection will be described. FIG. 7 shows a response to the client 14 by the employee who becomes the applicant in the state where the record indicating the state of the reconciled order shown in FIG. 5A is stored in various tables (for example, see FIG. 6A). It is a figure which shows the example of the expense application screen for performing the expense application produced | generated by the control server 10 and displayed on the screen of the client 14. FIG.

図7においては、実申請書テーブルの該当レコードの情報などに基づいて、申請者の情報が表示されるとともに(符号701参照)、申請書自体を作成することができるようになっている(符号702参照)。また、画面の下部には、申請者、承認者、決裁者およびその回議順の表示欄が設けられている(符号703参照)。図7において、「回0」と表されている欄711が、図5(a)や図6(a)における「ファミリ0(図5(a)の符号501参照)」に相当する。また、「回1」および「回2」と表されている欄712、713が、それぞれ、「ファミリ1(図5(a)の符号502参照)」および「ファミリ2(図5(a)の符号503参照)」に相当する。また、欄712および欄713には、メンバを追加するためのボタン722、723が設けられている。社員は、クライアント14を操作して、ボタン722或いは723をオンすることで、ボタンのオンにかかるファミリにメンバを追加することができる。   In FIG. 7, the applicant's information is displayed based on the information of the corresponding record in the actual application form table (see reference numeral 701), and the application form itself can be created (reference numeral). 702). Further, at the bottom of the screen, there are provided display fields for the applicant, the approver, the authorizer, and the order of their recollections (see reference numeral 703). In FIG. 7, a column 711 represented as “times 0” corresponds to “family 0” (see reference numeral 501 in FIG. 5A) in FIGS. 5A and 6A. Also, columns 712 and 713 represented as “time 1” and “time 2” are respectively “family 1 (see reference numeral 502 in FIG. 5A)” and “family 2 (in FIG. 5A). Corresponds to the reference numeral 503). In the column 712 and the column 713, buttons 722 and 723 for adding members are provided. The employee operates the client 14 to turn on the button 722 or 723 to add a member to the family related to the button being turned on.

たとえば、クライアント14の操作によりボタン722がオンされると、制御サーバ10のテーブル管理部20は、アサインマスタ105などを参照して、当該ファミリに追加されるメンバとなりえる社員のリストを作成して、クライアント14の画面上に表示する。社員がクライアント14を操作して、リスト中の社員を指定すると、制御サーバ10は、そのファミリにメンバとして指定された社員が追加された状態を示す画像を作成して、これをクライアント14の画面上に表示する。また、制御サーバ10のテーブル管理部20は、指定された社員の社員コードを一時的に記憶しておく。この社員コードは、「申請」ボタンまたは「一時保存」ボタンがオンされたときの、メンバテーブル、ファミリテーブルおよびメンバ連結テーブルの更新のために使用される。   For example, when the button 722 is turned on by the operation of the client 14, the table management unit 20 of the control server 10 creates a list of employees who can be added to the family by referring to the assignment master 105 or the like. Are displayed on the screen of the client 14. When the employee operates the client 14 and designates an employee in the list, the control server 10 creates an image showing a state in which the employee designated as a member is added to the family, and this is displayed on the screen of the client 14. Display above. The table management unit 20 of the control server 10 temporarily stores the employee code of the designated employee. This employee code is used for updating the member table, the family table, and the member connection table when the “application” button or the “temporary save” button is turned on.

図8は、画面上「回1」と表されたファミリである「ファミリ1」に承認者が追加された状態を示す、経費申請画面の例を示す図である。この例は、図5(b)に示す回議順の状態に相当する。欄803において、「回1」と表示されたファミリには、「承認者D」がメンバとして追加されている。図5(b)においても、「ファミリ1」には、「メンバ2」として「承認者D」が追加されている(符号512参照)。   FIG. 8 is a diagram showing an example of an expense application screen showing a state where an approver is added to “family 1”, which is a family represented as “time 1” on the screen. This example corresponds to the state of the reconciled order shown in FIG. In the field 803, “approver D” is added as a member to the family displayed as “Time 1”. Also in FIG. 5B, “approver D” is added to “family 1” as “member 2” (see reference numeral 512).

図8に示す画面が表示された状態で、社員がクライアント14を操作して、「申請」ボタンまたは「一時保存」ボタンをオンすると、制御サーバ10のテーブル管理部10、および、その動作を後に詳述するDB制御部24は、これに応答して、回議順が、欄803に示された状態と合致するように、メンバテーブル中に追加されたメンバに関するレコードを追加する。図6(b)は、レコードが追加された状態のメンバテーブルおよびファミリテーブルを示す図である。この例では、既存のファミリにメンバを追加するだけであったので、ファミリテーブルに変更はない。図6(b)に示すメンバテーブルにおいて、ファミリIDが「1」である(つまり、「ファミリ1」である)レコード群(符号612参照)において、「社員コードD」という社員コードを含むレコードが追加されている。   When the employee operates the client 14 and turns on the “apply” button or the “temporary save” button while the screen shown in FIG. 8 is displayed, the table management unit 10 of the control server 10 and its operation are later performed. In response to this, the DB control unit 24 to be described in detail adds a record relating to the added member in the member table so that the order of the reconciliation matches the state shown in the column 803. FIG. 6B is a diagram illustrating the member table and the family table in a state where a record is added. In this example, there was no change in the family table because it only added members to the existing family. In the member table shown in FIG. 6B, in the record group (see reference numeral 612) whose family ID is “1” (that is, “family 1”), a record including the employee code “employee code D” is included. Have been added.

無論、新たにファミリが追加される場合も考えられる。この場合には、メンバテーブルおよびファミリテーブルにレコードが追加される。また、ファミリ連結テーブルのレコードも追加および更新される。また、回議順からメンバを削除する場合には、メンバテーブルからレコードが削除される。ファミリ全体が削除される場合には、メンバテーブルに加えて、ファミリテーブルやファミリ連結テーブルのレコードも削除、更新等される。   Of course, a new family may be added. In this case, a record is added to the member table and family table. In addition, the records of the family linkage table are added and updated. In addition, when deleting a member from the order of recollection, the record is deleted from the member table. When the entire family is deleted, the records of the family table and the family linkage table are deleted and updated in addition to the member table.

上述したメンバテーブルなどのレコードの更新における具体的な処理については後述する。   Specific processing for updating the record such as the member table described above will be described later.

次に、承認や決裁の際のテーブルの更新について説明する。以下、図5(b)に示す回議順に基づいて、図6(b)に示すようなレコードを格納したメンバテーブルおよびファミリテーブルがテーブルDB18に記憶された状態を考える。図9〜図10は、申請前から最終的な決裁にいたるまでのメンバテーブルおよびファミリテーブルの状態の例を示す図である。なお、図9、図10においても、処理において参照されない項目や、処理に無関係なレコードは省略されている。   Next, update of the table at the time of approval and approval will be described. Hereinafter, a state in which the member table and the family table storing records as shown in FIG. 6 (b) are stored in the table DB 18 based on the order of reconsideration shown in FIG. 5 (b). 9 to 10 are diagrams showing examples of the state of the member table and the family table from application to final decision. In FIG. 9 and FIG. 10, items that are not referred to in the processing and records that are not related to the processing are omitted.

申請者である社員Aにより申請がされる以前には、メンバテーブルおよびファミリテーブルは、図9(a)に示す状態となっている。メンバテーブルにおいて、アクティブメンバフラグ(AMF)は、現在文書が、そのレコードに格納された社員の元にあり、当該社員による何らかのアクション(たとえば、申請、承認、決裁)を待っている状態を示している。同様に、ファミリテーブルにおいて、アクティブファミリフラグは、現在文書が、そのファミリに属する社員の元にあることを示している。したがって、申請前の状態であれば、ワークテーブルにおいて、文書を申請すべき「社員A(社員コード=Aの社員)」のレコードにおいて、AMFが「1」であり、また、アクションが終了している社員は存在しないため、各レコードのFMFは「0」となっている。また、ファミリテーブルにおいて、文書を申請すべき「社員A」が属するファミリである「ファミリ0(ファミリID=0のファミリ)」のレコードにおいて、AFFが「1」である。また、全てのメンバによるアクションが終了しているファミリは存在しないため、各レコードのFFFは「0」となっている。   Before an application is made by employee A who is an applicant, the member table and the family table are in the state shown in FIG. In the member table, the active member flag (AMF) indicates that the current document is at the employee stored in the record and is waiting for some action (eg, application, approval, approval) by the employee. Yes. Similarly, in the family table, the active family flag indicates that the current document is for employees belonging to that family. Therefore, if it is in a state before application, AMF is “1” in the record of “employee A (employee of employee code = A)” to apply for the document in the work table, and the action is completed. Since there are no employees, the FMF of each record is “0”. In the family table, AFF is “1” in the record of “family 0 (family of family ID = 0)” to which the “employee A” who should apply for the document belongs. In addition, since there is no family in which actions by all members have been completed, the FFF of each record is “0”.

図11は、テーブル更新処理の処理ロジックを示すフローチャートである。後に、実際のテーブルの更新処理と関連させて再度説明するため、ここでは、主として、フラグのセットおよびクリアについて説明する。また、この例では、単純化するため、社員はクライアントを操作して、申請書を申請し、承認する場合、つまり、申請書が上流から下流に流れていく場合について説明する。実際には、申請書は承認者により承認されず、申請者に戻るように、下流から上流に戻る場合もある。また、実際の回議においては、回議順で次の順番に位置する社員を飛ばして、さらにその次に位置する社員など他の社員に申請書が送られる場合や、回議において同時に複数の社員に申請書が送られる場合などがあり得る。   FIG. 11 is a flowchart showing the processing logic of the table update process. In order to explain again later in connection with the actual table update processing, here, flag setting and clearing will be mainly described. In this example, for the sake of simplicity, a case will be described in which an employee operates a client to apply and approve an application, that is, the application flows from upstream to downstream. In practice, the application form may not be approved by the approver and may return from downstream to upstream just like returning to the applicant. Also, in the actual reconsideration, when the next position is skipped in the reconciled order and the application form is sent to other employees such as the next position, or in the reconsideration, applications are made to multiple employees at the same time. There may be cases where a letter is sent.

制御サーバ10のフロー進行処理部22は、メンバテーブル、ファミリテーブル、ファミリ連結テーブルおよびメンバ連結テーブルを参照して、アクションのあった社員の次の回議順にあるような社員を特定する(ステップ1101)。次いで、フロー進行処理部22は、メンバテーブルを参照して、次の回議順にある社員が、現在の回議順にある社員と同じファミリに属しているか否かを判断する(ステップ1102)。ステップ1102でイエス(Yes)と判断された場合には、フロー進行処理部22は、メンバテーブルにおいて、現在の回議順にある社員のレコードについて、そのFMFを「1」にセットするとともに、AMFを「0」にリセットする)(ステップ1103)。   The flow progress processing unit 22 of the control server 10 refers to the member table, the family table, the family connection table, and the member connection table, and identifies an employee who is in the order of the next reconsideration of the employee who has acted (step 1101). . Next, the flow progress processing unit 22 refers to the member table to determine whether or not the employee in the next reconstitution order belongs to the same family as the employee in the current reconstitution order (step 1102). If it is determined as Yes in step 1102, the flow progress processing unit 22 sets the FMF to “1” and records the AMF as “ Reset to "0") (step 1103).

その一方、ステップ1102でノー(No)と判断された場合には、フロー進行処理部22は、メンバテーブルにおいて、現在の回議順にある社員のレコードについて、そのFMFを「1」にセットするとともに、AMFを「0」にリセットする(ステップ1104)。このステップ1104は、ステップ1103と同様の処理である。さらに、フロー進行処理部22は、メンバテーブルにおいて、次の回議順にかかるファミリの全メンバ(つまり、次の回議順にかかるファミリに属する全社員)のレコードについて、AMFを「1」にセットする(ステップ1105)。また、フロー進行処理部22は、ファミリテーブルにおいて、現在の回議順にある社員が属するファミリのレコードについて、FFFを「1」にセットするとともに、「AFF」を「0」にリセットする(ステップ1106)。さらに、フロー進行処理部22は、ファミリテーブルにおいて、次の回議順にある社員が属するファミリのレコードについて、AFFを「1」にセットする(ステップ1107)。   On the other hand, if it is determined NO in step 1102, the flow progress processing unit 22 sets the FMF to “1” for the employee record in the current recitation order in the member table, and The AMF is reset to “0” (step 1104). This step 1104 is the same processing as step 1103. Further, the flow progress processing unit 22 sets the AMF to “1” in the member table for the records of all the members of the family related to the next recollection order (that is, all employees belonging to the family related to the next reconstitution order) (step S1). 1105). In addition, the flow progress processing unit 22 sets FFF to “1” and resets “AFF” to “0” for the family record to which the employee in the current recitation order belongs in the family table (step 1106). . Furthermore, the flow progress processing unit 22 sets AFF to “1” for the family record to which the employee in the next reconstitution order belongs in the family table (step 1107).

このように、本実施の形態においては、回議される申請書が位置しているファミリに属するメンバについては、メンバテーブルのレコード中、AMFが「1」となっている。また、回議が終了した(つまり、必要なアクションが実行済み)のメンバについては、メンバテーブルのレコード中、FMFが「1」となっている。また、回議される申請書が位置しているファミリについては、ファミリテーブルの該当レコード中、AFFが「1」となっている。また、回議が終了した(つまり、所属するメンバの全てのアクションが実行済み)のファミリについては、FFFが「1」となっている。本実施の形態では、これらフラグにより、現在申請書が位置しており、アクションが必要となっているメンバや、当該メンバが属するファミリ、或いは、回議が終了したメンバおよびファミリを特定することができる。   Thus, in the present embodiment, AMF is “1” in the record of the member table for members belonging to the family where the application to be circulated is located. In addition, for members whose reconsideration has ended (that is, necessary actions have been executed), FMF is “1” in the record of the member table. For the family where the application to be reconsidered is located, AFF is “1” in the corresponding record of the family table. In addition, FFF is “1” for the family for which the recitation has ended (that is, all the actions of the members to which it belongs have been executed). In this embodiment, these flags can identify the member where the application is currently located and the action is required, the family to which the member belongs, or the member and family for which the meeting has ended. .

たとえば、「社員A」がクライアントを操作して、申請書を申請すると、制御サーバ10のフロー進行処理部22は、メンバテーブル、ファミリテーブル、メンバ連結テーブルおよびファミリ連結テーブルを参照して、次の回議順の社員を特定する。この例では、「社員B(社員コード=Bの社員)」が次の回議順の社員となる。フロー進行処理部22がメンバテーブルを参照すると、次の回議順の「社員B」は、「社員A」と同一ファミリでないことがわかるため(図11のステップ1102でノー)、以下、ステップ1104から1107の処理が実行されて、メンバテーブルおよびファミリテーブルのフラグが書き換えられる(図9(b)の符号901、902参照)。テーブルの更新が終了すると、次の回議順の「社員B」のクライアントに対してメールが送信され、「社員B」による承認待ちの状態となる。   For example, when “Employee A” operates the client to apply for an application, the flow progress processing unit 22 of the control server 10 refers to the member table, the family table, the member connection table, and the family connection table, and Identify employees in order of recollections. In this example, “employee B (employee of employee code = B)” is the employee in the next order of recollections. When the flow progress processing unit 22 refers to the member table, it can be seen that “employee B” in the next reconciled order is not in the same family as “employee A” (No in step 1102 in FIG. 11). The processing of 1107 is executed, and the flags of the member table and family table are rewritten (see reference numerals 901 and 902 in FIG. 9B). When the update of the table is completed, an e-mail is transmitted to the client of “employee B” in the next reconference order, and the state of waiting for approval by “employee B” is entered.

「社員B」がクライアントを操作すると、制御サーバ10が経費申請書承認画面(図示せず)をクライアントに送信し、クライアントの表示装置上に表示する。経費申請書承認画面は、経費申請画面(図7参照)に類似するものである。   When “Employee B” operates the client, the control server 10 transmits an expense application approval screen (not shown) to the client and displays it on the display device of the client. The expense application form approval screen is similar to the expense application screen (see FIG. 7).

「社員B」がクライアントを操作して、申請書を承認すると、制御サーバ10のフロー進行処理部22は、メンバテーブル、ファミリテーブル、メンバ連結テーブルおよびファミリ連結テーブルを参照して、次の回議順の社員を特定する。この例では、「社員C(社員コード=Cの社員)」が次の回議順の社員となる。フロー進行処理部22がメンバテーブルを参照すると、次の回議順の「社員C」は、「社員B」と同一のファミリであることがわかるため、ステップ1102でイエス(Yes)と判断されメンバテーブルの一部レコードのフラグが更新される(図9(c)の符号903参照)。   When “Employee B” operates the client and approves the application, the flow progress processing unit 22 of the control server 10 refers to the member table, the family table, the member connection table, and the family connection table, and determines Identify employees. In this example, “employee C (employee of employee code = C)” is the employee in the next order of recollections. When the flow progress processing unit 22 refers to the member table, it is found that “employee C” in the next reconcilation order is the same family as “employee B”. Are updated (see reference numeral 903 in FIG. 9C).

図10(a)に示すように、次の回議順の「社員C(社員コード=C)」の承認時には、「社員C」とさらに次の回議順の「社員D(社員コード=Dの社員)」とが同一のファミリであるため、メンバテーブルの一部のレコードが更新される(符号1001参照)。図10(b)に示すように、「社員D(社員コード=D)の社員」の承認時には、「社員D」とさらに次の回議順の「社員E(社員コード=Eの社員)」とが同一のファミリではないため、メンバテーブルおよびファミリテーブルのレコードのフラグが更新される(符号1002、1003参照)。図10(c)は、社員Eの決裁時に、フロー進行処理部22により更新されたメンバテーブルおよびファミリテーブルを示す。図11のフローには示していないが、次の回議順が存在しない場合には、フロー進行処理部22は、メンバテーブルおよびファミリテーブルにおいて、決裁或いは承認した社員のレコードのFMFおよびFFFをそれぞれ「1」にするとともに、AMFおよびAFFを「0」にリセットする。   As shown in FIG. 10 (a), upon approval of “Employee C (employee code = C)” in the next round of discussion, “Employee C” and “Employee D (employee code = D) in the next round of turn” ) ”Is the same family, and some records in the member table are updated (see reference numeral 1001). As shown in FIG. 10B, upon approval of “employee D (employee code = D)”, “employee D” and “employee E (employee code = E)” in the next round of discussion Are not the same family, the flag of the record of the member table and family table is updated (see reference numerals 1002 and 1003). FIG. 10C shows the member table and family table updated by the flow progress processing unit 22 when the employee E is approved. Although not shown in the flow of FIG. 11, when there is no next order of recollection, the flow progress processing unit 22 sets the FMF and FFF of the employee record approved or approved in the member table and the family table, respectively. 1 "and AMF and AFF are reset to" 0 ".

このように、回議順の追加や変更、或いは、申請者による申請や承認者による承認の際には、メンバテーブルおよびファミリテーブルのレコードの更新が生じる。そこで、本実施の形態においては、テーブルDB18をアクセスしてレコードを実際に更新するDB制御部24を設け、テーブル管理部20やフロー進行処理部22はDB制御部24にレコードの更新を指示するように構成される。   As described above, when adding or changing the order of reconsideration, or when applying by the applicant or approval by the approver, the records of the member table and the family table are updated. Therefore, in the present embodiment, a DB control unit 24 that accesses the table DB 18 and actually updates the record is provided, and the table management unit 20 and the flow progress processing unit 22 instruct the DB control unit 24 to update the record. Configured as follows.

以下、DB制御部24による処理について説明する。図12は、制御サーバ10のDB制御部24、および、テーブルDB18などを含む記憶装置の構成を示すブロック図である。図12に示すように、記憶装置1200は、テーブルDB18を含む。図12には図示しないが、記憶装置1200は、マスタDB16も含む。ここにいう記憶装置1200は、物理的には、制御サーバ10のハードディスク装置およびRAMなどのメモリを含む。   Hereinafter, processing by the DB control unit 24 will be described. FIG. 12 is a block diagram illustrating a configuration of a storage device including the DB control unit 24 and the table DB 18 of the control server 10. As shown in FIG. 12, the storage device 1200 includes a table DB 18. Although not shown in FIG. 12, the storage device 1200 also includes a master DB 16. The storage device 1200 here physically includes a hard disk device of the control server 10 and a memory such as a RAM.

図12に示すように、記憶装置1200には、さらに、複数のワークテーブル群を含み得る。本実施の形態においては、DB制御部24により、記憶装置1200中に10個のワークテーブル群1201−1〜1201−10が作成され得る。ワークテーブル群(たとえば、ワークテーブル群1201)には、テーブルDB18中のテーブルの所定数のレコードがコピーされ、或いは、新規に所定項目を有する所定数のレコードが作成される。   As illustrated in FIG. 12, the storage device 1200 may further include a plurality of work table groups. In the present embodiment, ten work table groups 1201-1 to 1201-10 can be created in the storage device 1200 by the DB control unit 24. In the work table group (for example, the work table group 1201), a predetermined number of records in the table in the table DB 18 are copied, or a predetermined number of records having predetermined items are newly created.

図13および図14は、本実施の形態にかかる制御サーバ10において、テーブルDB18のテーブルのレコードを作成する際に実行される処理を示すフローチャートである。図13に示すように、
ユーザI/F26が、クライアント14からのログオンを受信すると(ステップ1301)、セッションIDを採番する(ステップ1302)。セッションIDはクライアント14にも送信され、このセッションにおいては、クライアント14は受信したセッションIDを利用する。
FIG. 13 and FIG. 14 are flowcharts showing processing executed when creating a record of a table in the table DB 18 in the control server 10 according to the present embodiment. As shown in FIG.
When the user I / F 26 receives a logon from the client 14 (step 1301), it assigns a session ID (step 1302). The session ID is also transmitted to the client 14, and the client 14 uses the received session ID in this session.

なお、クライアントのログオンの際には制御サーバ10はユーザ認証を実行する。ユーザ認証などの後、ユーザI/F26が、クライアント14から申請書選択情報を受信すると、たとえば、テーブル管理部20に、受信した申請書選択情報を通知する(ステップ1303)。テーブル管理部20は、申請書選択情報を参照して、申請書ID、社員コードなどを特定する。これにより、テーブル管理部20は、ファミリテーブル、メンバテーブル、ファミリ連結テーブルおよびメンバ連結テーブルなど、各種テーブルにおいて、申請書に関連する一連のレコード群を特定する(ステップ1304)。ここで、申請書IDおよび社員コードと、メンバテーブル等のフラグを参照して、制御サーバ10にアクセスしたクライアントを操作する社員の元に申請書が位置しているか、つまり、当該社員が申請書を申請し或いは承認する状態であるかを判断して、当該社員の元に申請書が位置している場合のみ、ステップ1304以降の処理を実行するように構成しても良い。   Note that the control server 10 performs user authentication when the client logs on. After the user authentication or the like, when the user I / F 26 receives the application form selection information from the client 14, for example, the table management unit 20 is notified of the received application form selection information (step 1303). The table management unit 20 refers to the application form selection information and identifies the application form ID, employee code, and the like. As a result, the table management unit 20 identifies a series of records related to the application form in various tables such as the family table, member table, family connection table, and member connection table (step 1304). Here, with reference to the application form ID and employee code and a flag such as the member table, whether the application form is located at the employee who operates the client who has accessed the control server 10, that is, the employee It may be configured that the process after step 1304 is executed only when the application form is located under the employee.

ステップ1304においては、たとえば、それぞれのテーブルにおいて、申請書選択情報にて示される申請書IDと同じ申請書IDをもつようなレコード群を特定すればよい。ここでは、ファミリテーブル、メンバテーブル、ファミリ連結テーブルおよびメンバ連結テーブルについて詳細に説明するが、他のテーブルについても、レコードの追加、更新、削除がある場合には、同様の処理が施される。   In step 1304, for example, a record group having the same application form ID as the application form ID indicated by the application form selection information may be specified in each table. Here, the family table, member table, family connection table, and member connection table will be described in detail, but the same processing is applied to other tables when records are added, updated, or deleted.

DB制御部24は、一連のレコード群の情報の通知を受けると、DB制御部24は、記憶装置1200中に、それぞれのテーブルのワークテーブル(ファミリワークテーブル、メンバワークテーブル、ファミリ連結ワークテーブルおよびメンバ連結ワークテーブル)を含むワークテーブル群#N(図中、符号1201−Nで示す)を生成する(ステップ1305)。ステップ1305において、ワークテーブル群#Nの一連のレコードをロックする。このワークテーブル群を構成するワークテーブルには、一連のレコード群が格納される。   When the DB control unit 24 receives notification of a series of record group information, the DB control unit 24 stores the work table (family work table, member work table, family connection work table and family work table) of each table in the storage device 1200. A work table group #N (indicated by reference numeral 1201-N in the figure) including the member linked work table) is generated (step 1305). In step 1305, a series of records of the work table group #N is locked. A series of record groups is stored in the work table constituting the work table group.

なお、本実施の形態においては、ワークテーブル群#Nの番号「N」は、セッションIDの末尾一桁の数字を使用する。これにより、最大で10個のワークテーブル群を生成することが可能となる。   In the present embodiment, the number “N” of work table group #N uses the last digit of the session ID. As a result, a maximum of 10 work table groups can be generated.

このような処理が終了すると、たとえば、テーブル管理部20は、経費申請画面を作成して、ユーザI/F26に伝達する(ステップ1306)。ユーザI/F26は、経費申請画面をクライアント14に送信する(ステップ1307)。或いは、クライアント14の操作者が、承認者である場合には、フロー進行処理部22が、経費申請書承認画面を作成し、ユーザI/F26が、経費申請書承認画面をクライアント14に送信する。   When such processing ends, for example, the table management unit 20 creates an expense application screen and transmits it to the user I / F 26 (step 1306). The user I / F 26 transmits an expense application screen to the client 14 (step 1307). Alternatively, when the operator of the client 14 is an approver, the flow progress processing unit 22 creates an expense application approval screen, and the user I / F 26 transmits the expense application approval screen to the client 14. .

図14に示すように、ユーザI/F26が、クライアント14からのアクションを受信すると(ステップ1401)、その情報が、テーブル管理部20やフロー進行処理部22に伝達される。アクションには、申請書の申請や承認が含まれる。以下、クライアント14から、申請や承認などのアクションが送信され、フロー進行処理部22が、図11に示すようにテーブルのフラグを更新すべく処理を実行する場合について説明する。しかしながら、以下の処理は、クライアント14からユーザI/F26にファミリやメンバの追加(図5(a)、(b)、図7および図8参照)の指示が与えられた場合にも同様に実行される。   As shown in FIG. 14, when the user I / F 26 receives an action from the client 14 (step 1401), the information is transmitted to the table management unit 20 and the flow progress processing unit 22. Actions include application and approval of application forms. Hereinafter, a case where an action such as application or approval is transmitted from the client 14 and the flow progress processing unit 22 executes processing to update the flag of the table as shown in FIG. 11 will be described. However, the following processing is executed in the same manner when an instruction to add a family or member (see FIGS. 5A, 5B, 7 and 8) is given from the client 14 to the user I / F 26. Is done.

図14に示すように、フロー進行処理部22は、メンバテーブル、ファミリテーブル、メンバ連結テーブルおよびファミリ連結テーブル中、更新すべきレコードおよび当該レコード中の項目の値を特定する(ステップ1402)。たとえば、図11に示すように、レコードのフラグを「1」にセットすること、或いは、「0」にリセットすることが該当する。更新すべきレコードおよびレコード中の項目の値の情報は、DB管理部24に伝達される。   As shown in FIG. 14, the flow progress processing unit 22 specifies the record to be updated and the value of the item in the record in the member table, family table, member connection table, and family connection table (step 1402). For example, as shown in FIG. 11, setting the flag of the record to “1” or resetting to “0” is applicable. Information about the record to be updated and the value of the item in the record is transmitted to the DB management unit 24.

DB管理部24は、ワークテーブル群#NおよびテーブルDBにおいて一連のレコードをロックする(ステップ1403)。次いで、DB管理部24は、メンバワークテーブル、ファミリワークテーブル、メンバ連結ワークテーブル、ファミリ連結ワークテーブルの、更新すべきレコードの項目の値を、伝達された情報に従って更新する(ステップ1404)。次いで、DB管理部24は、ワークテーブル群#N中のメンバワークテーブル、ファミリワークテーブル、ファミリ連結ワークテーブル、メンバ連結ワークテーブルを、それぞれ、メンバテーブル、ファミリテーブル、ファミリ連結テーブルおよびメンバ連結テーブルの対応する部分にコピーする(ステップ1405)。つまり、ワークテーブルとして取り出したレコードに、更新後のワークテーブルのレコードの値を、それぞれ書き込む。その後、DB管理部44は、ワークテーブル群#Nを削除し(ステップ1405)、ワークテーブル群#NおよびテーブルDB18において、メンバテーブル、ファミリテーブル、メンバ連結テーブル、ファミリ連結テーブルの一連のレコードのロックを解除する(ステップ1406)。   The DB management unit 24 locks a series of records in the work table group #N and the table DB (step 1403). Next, the DB management unit 24 updates the values of the record items to be updated in the member work table, the family work table, the member linked work table, and the family linked work table in accordance with the transmitted information (step 1404). Next, the DB management unit 24 stores the member work table, family work table, family connection work table, and member connection work table in the work table group #N in the member table, family table, family connection table, and member connection table, respectively. Copy to the corresponding part (step 1405). That is, the updated values of the work table record are written in the records taken out as the work table. Thereafter, the DB management unit 44 deletes the work table group #N (step 1405), and locks a series of records of the member table, family table, member connection table, and family connection table in the work table group #N and the table DB 18. Is released (step 1406).

DB制御部24はテーブルのレコードの更新が終了し、ロックを解除したことをフロー進行処理部22に通知する。この通知は、ユーザI/F26にも伝達される。ユーザI/F26は、クライアント14に処理終了を通知する(ステップ1407)。   The DB control unit 24 notifies the flow progress processing unit 22 that the update of the record in the table has been completed and the lock has been released. This notification is also transmitted to the user I / F 26. The user I / F 26 notifies the client 14 of the end of processing (step 1407).

なお、処理が完了する前にクライアント14がログオフし、或いは、何らかの理由で、クライアント14とワークフロー制御サーバ10との間のセッションが途切れた場合には、DB制御部24は、ワークテーブル群#Nを削除し、テーブルDB18のテーブルの一連のロックを解除する。たとえば、図13の処理により、クライアント14に経費申請画面が送信された状態で、クライアント14がログオフした場合には、上述の通り、DB制御部24は、ワークテーブル群#Nの削除と、テーブルのロックの解除とを実行する。   If the client 14 logs off before the process is completed or the session between the client 14 and the workflow control server 10 is interrupted for some reason, the DB control unit 24 sets the work table group #N. Is deleted, and a series of locks of the table in the table DB 18 is released. For example, when the client 14 logs off in the state where the expense application screen is transmitted to the client 14 by the processing of FIG. 13, as described above, the DB control unit 24 deletes the work table group #N, And release the lock.

図13および図14の処理は、並列的に実行される。たとえば、あるクライアント(クライアント14−1)からのログオンにより、その末尾が「0」であるようなセッションIDが採番され、ワークテーブル群#0が生成され、ワークテーブル群#0の更新が行われ地得る状態で、他のクライアント(クライアント14−2)からのログオンにより、その末尾が「1」であるようなセッションIDが採番されれば、ワークテーブル群#1が生成され、ワークテーブル群#0の更新と並列的に、ワークテーブル群#1が更新され得る。   The processes of FIGS. 13 and 14 are executed in parallel. For example, by logging on from a certain client (client 14-1), a session ID whose number ends with “0” is assigned, work table group # 0 is generated, and work table group # 0 is updated. If a session ID such as “1” at the end is assigned by logon from another client (client 14-2) in a state where it is possible to obtain a work table group # 1, a work table is generated. The work table group # 1 can be updated in parallel with the update of the group # 0.

本実施の形態によれば、更新の対象となるテーブルのそれぞれについて、一連のレコード群(同じ申請書IDをもつ一連のレコード群)からなるワークテーブルを生成し、テーブル中の一連のレコード群をコピーする。本実施の形態においては、ワークテーブル群は複数生成できるようになっており、たとえば、クライアントのアクセスに対して制御サーバ10が与えたセッションIDの末尾の数字Nと同じ値を有するワークテーブル群#Nが生成される。つまり、セッションIDの末尾の数字に基づいて、ワークテーブル群が割り当てられる。これにより、複数のクライアントからの指示にしたがって、複数の申請書を作成し、或いは、複数の申請書を回議する場合であっても、テーブル更新に伴うロックによりロック待ちになる状態が生じる可能性を減じることができる。   According to the present embodiment, for each table to be updated, a work table composed of a series of record groups (a series of record groups having the same application form ID) is generated, and the series of record groups in the table is make a copy. In the present embodiment, a plurality of work table groups can be generated. For example, a work table group # having the same value as the number N at the end of the session ID given by the control server 10 for client access. N is generated. That is, a work table group is assigned based on the number at the end of the session ID. As a result, even if multiple applications are created or multiple applications are circulated according to instructions from multiple clients, there is a possibility that a lock wait state may occur due to a lock associated with table update. Can be reduced.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

たとえば、前記実施の形態においては、セッションIDの末尾の数字に基づいて、ワークテーブル群を割り当てていたがこれに限定されるものではなく、クライアントのログオン順に、ワークテーブル群の割り当てを決定しても良い。或いは、ログオンしたクライアントを操作している社員の社員IDの末尾一桁の数字に基づいて、ワークテーブル群を割り当てても良い。また、前記実施の形態においては、10個のワークテーブル群を生成可能としているが、これに限定されるものではない。   For example, in the above embodiment, work table groups are assigned based on the number at the end of the session ID. However, the present invention is not limited to this, and work table group assignments are determined in the order of client logon. Also good. Alternatively, the work table group may be assigned based on the last digit of the employee ID of the employee operating the logged-on client. In the above embodiment, ten work table groups can be generated. However, the present invention is not limited to this.

さらに、前記実施の形態においては、回議順は、メンバテーブル、ファミリテーブル、ファミリ連結テーブルおよびメンバ連結テーブルの4つのテーブルにより特定できるように構成されている。本実施の形態においては、メンバの集合体としてファミリという概念を導入し、ファミリ内を構成するメンバを特定するためのテーブル(メンバテーブル)およびファミリ内のメンバの回議順を特定するためのテーブル(メンバ連結テーブル)を設けるとともに、申請書を回議させるべきファミリを特定するためのテーブル(ファミリテーブル)およびファミリ間の回議順を特定するためのテーブル(ファミリ連結テーブル)を採用している。   Furthermore, in the above-described embodiment, the order of reconsideration can be specified by four tables: a member table, a family table, a family connection table, and a member connection table. In the present embodiment, the concept of a family is introduced as an aggregate of members, a table (member table) for specifying members constituting the family, and a table for specifying the order of recollections of members in the family (member table). In addition to providing a member connection table, a table (family table) for specifying a family to which an application is to be circulated and a table (family connection table) for specifying the order of refusal between families are employed.

しかしながら、回議順を特定するテーブルは上記構成に限定されるものではない。たとえば、メンバテーブルおよびメンバ連結テーブルにより回議順を決定するように構成しても良いし、単一のルートテーブルにより回議順を決定するように構成しても良い。つまり、本実施の形態においては、申請書ごとに回議すべきメンバおよび間の順序がテーブルに格納されていれば良い。図15(a)、(b)は、それぞれ、本発明の他の実施の形態にかかるメンバテーブルおよびメンバ連結テーブルの部分の例を示す図である。これは、図6(a)、(b)に示すように、ある申請書IDをもつ申請書について、「社員A(社員コード=Aの社員)」〜「社員E(社員コード=E)」の社員に至るまで、「社員A」〜「社員E」の順で回議順が決定されている状態を示している。他の実施の形態においては、メンバテーブルは図16(a)に示すように、図4(d)に示すメンバテーブルからファミリIDを除いたような項目を有している。また、図16(b)に示すように、メンバ連結テーブルも、図4(g)に示すメンバ連結テーブルからファミリIDを除いた構成となっている。   However, the table for specifying the order of reconsideration is not limited to the above configuration. For example, the order of reconsideration may be determined by a member table and a member connection table, or the order of reconsideration may be determined by a single route table. That is, in the present embodiment, the members to be circulated for each application form and the order between them may be stored in the table. FIGS. 15A and 15B are diagrams showing examples of a member table and a member connection table according to another embodiment of the present invention, respectively. As shown in FIGS. 6A and 6B, for an application form having a certain application form ID, “employee A (employee code = A employee)” to “employee E (employee code = E)”. In this case, the order of reconsideration is determined in the order of “Employee A” to “Employee E”. In another embodiment, as shown in FIG. 16 (a), the member table has items such as those obtained by removing the family ID from the member table shown in FIG. 4 (d). Further, as shown in FIG. 16B, the member connection table is also configured by removing the family ID from the member connection table shown in FIG.

他の実施の形態においても、制御サーバ10は、図13および図14に示す処理ステップにしたがって、図15(a)、(b)に示すような、メンバテーブルおよびメンバ連結テーブルにおいて、同じ申請書IDを有する一連のレコード群がロックされ(ステップ1304、1305等)、セッションIDに基づいて、所定番号のワークテーブル群が生成されて、メンバテーブルのレコード群が、メンバワークテーブルにコピーされるとともに、メンバ連結テーブルのレコード群が、メンバ連結ワークテーブルにコピーされることになる。その後、ワークテーブル群のワークテーブルの該当レコードが更新され(ステップ1404)、ワークテーブルのレコードが、テーブルのレコードにコピーされる(ステップ1405)。このような処理の後、レコード群のロックが解除される(ステップ1406)。   Also in other embodiments, the control server 10 performs the same application form in the member table and the member connection table as shown in FIGS. 15A and 15B according to the processing steps shown in FIGS. A series of record groups having IDs are locked (steps 1304, 1305, etc.), a work table group having a predetermined number is generated based on the session ID, and the record group of the member table is copied to the member work table. The record group of the member connection table is copied to the member connection work table. Thereafter, the corresponding record of the work table of the work table group is updated (step 1404), and the record of the work table is copied to the record of the table (step 1405). After such processing, the record group is unlocked (step 1406).

先に述べたように、回議を構成するメンバおよびメンバ間の回議順が、単一のルートテーブルにより表される場合であっても本発明を適用することができる。たとえば、特許文献1に示すように、ルートテーブルを利用することができる。   As described above, the present invention can be applied even when the members constituting the reciprocation and the reordering order between the members are represented by a single route table. For example, as shown in Patent Document 1, a route table can be used.

図1は、本発明の実施の形態にかかるワークフロー制御サーバを含む全体構成を示すブロックダイヤグラムである。FIG. 1 is a block diagram showing an overall configuration including a workflow control server according to an embodiment of the present invention. 図2は、本実施の形態にかかる制御サーバにおける処理の概要、並びに、マスタDBおよびテーブルDBに格納されたマスタおよびテーブルを示す図である。FIG. 2 is a diagram showing an outline of processing in the control server according to the present embodiment, and masters and tables stored in the master DB and the table DB. 図3(a)〜(h)は、それぞれ、本実施の形態にかかる社員マスタ、部署マスタ、役職マスタ、役割マスタ、アサインマスタ、文書マスタ、ルートマスタおよび権限マスタのレコードに含まれる項目を示す図である。FIGS. 3A to 3H show items included in the records of the employee master, department master, post master, role master, assignment master, document master, root master, and authority master according to the present embodiment, respectively. FIG. 図4(a)〜(f)は、それぞれ、実申請書テーブル、履歴テーブル、ファミリテーブル、メンバテーブル、ファミリ連結テーブル、メンバ連結テーブル、添付書類テーブルのレコードに含まれる項目を示す図である。4A to 4F are diagrams showing items included in the records of the actual application form table, history table, family table, member table, family connection table, member connection table, and attachment document table, respectively. 図5(a)、(b)は、それぞれ、ある申請書の回議順の例を示す図である。FIGS. 5A and 5B are diagrams showing examples of the order of reconsideration of a certain application form. 図6(a)、(b)は、それぞれ、図5(a)、(b)に示す回議順を表すメンバテーブルおよびファミリテーブルのレコードの部分を示す図である。FIGS. 6A and 6B are diagrams showing record portions of the member table and the family table showing the order of reconstitution shown in FIGS. 5A and 5B, respectively. 図7は、クライアントの表示装置に表示される画面の例を示す図である。FIG. 7 is a diagram illustrating an example of a screen displayed on the display device of the client. 図8は、クライアントの表示装置に表示される画面の例を示す図である。FIG. 8 is a diagram illustrating an example of a screen displayed on the display device of the client. 図9(a)〜(c)は、それぞれ、社員Aの申請前、社員Aの申請時および社員Bの承認時におけるメンバテーブル、ファミリテーブルの状態を示す図である。FIGS. 9A to 9C are views showing the states of the member table and the family table before the application of the employee A, the application of the employee A, and the approval of the employee B, respectively. 図10(a)〜(c)は、それぞれ、社員Cの承認時、社員Dの承認時および社員Eの決裁時におけるメンバテーブル、ファミリテーブルの状態を示す図である。FIGS. 10A to 10C are views showing states of the member table and the family table when the employee C is approved, when the employee D is approved, and when the employee E is approved. 図11は、本実施の形態にかかるワークフロー更新処理の例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of workflow update processing according to the present embodiment. 図12は、制御サーバのDB制御部、および、テーブルDBなどを含む記憶装置の構成を示すブロック図である。FIG. 12 is a block diagram illustrating a configuration of a storage device including a DB control unit of the control server, a table DB, and the like. 図13は、本実施の形態にかかる制御サーバにおいて、テーブルDBのテーブルのレコードを作成する際に実行される処理を示すフローチャートである。FIG. 13 is a flowchart showing a process executed when a record of a table in the table DB is created in the control server according to the present embodiment. 図14は、本実施の形態にかかる制御サーバにおいて、テーブルDBのテーブルのレコードを作成する際に実行される処理を示すフローチャートである。FIG. 14 is a flowchart showing a process executed when a record of a table in the table DB is created in the control server according to the present embodiment. 図15(a)、(b)は、それぞれ、本発明の他の実施の形態にかかるメンバテーブルおよびメンバ連結テーブルの部分の例を示す図である。FIGS. 15A and 15B are diagrams showing examples of a member table and a member connection table according to another embodiment of the present invention, respectively. 図16(a)、(b)は、それぞれ、他の実施の形態にかかるメンバテーブルおよびメンバ連結テーブルのレコードに含まれる項目を示す図である。FIGS. 16A and 16B are diagrams illustrating items included in the records of the member table and the member connection table according to another embodiment, respectively.

符号の説明Explanation of symbols

10 ワークフロー制御サーバ
12 ネットワーク
14 クライアント
16 マスタDB
18 テーブルDB
20 テーブル管理部
22 フロー進行処理部
24 DB制御部
26 ユーザI/F
10 Workflow control server 12 Network 14 Client 16 Master DB
18 Table DB
20 Table management unit 22 Flow progress processing unit 24 DB control unit 26 User I / F

Claims (12)

回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバであって、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御手段と、
前記クライアントからのメンバの追加、更新或いは削除の指示の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、回議順において隣接するメンバとメンバとの間に新たなメンバを追加し、ある回議順のメンバを変更し、或いは、ある回議順のメンバを削除することを示す指示を受信して、前記1以上のテーブルにおいて、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を特定するテーブル管理手段と、を備え、
前記テーブル制御手段が、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックし、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納し、
前記テーブル管理手段からの、前記1以上のテーブルにおける、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を示す情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードの追加、更新、削除を実行し、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、追加、更新或いは削除されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納し、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するように構成されたことを特徴とするワークフロー制御サーバ。
It has a record including an application ID that identifies an application to be circulated, information that indicates a member to whom the application is to be circulated and the order in which the application is circulated, and information that identifies a member that is required to perform some action on the application. A table group including one or more tables is provided, and the data of the application form identified by the application form ID is sent to the client of the member identified according to the order of recitation based on the records of the one or more tables constituting the table group. A workflow control server that circulates the application by sending it over a network,
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, Table control means that can generate a plurality of work table groups composed of the above tables;
In accordance with reception of an instruction to add, update, or delete a member from the client, a new member is added between adjacent members in the order of reconstitution in one or more tables constituting the table group. In the one or more tables, the record to be added and its position, the record to be updated, and its position in the one or more tables are received. Or a table management means for specifying the record to be deleted and its position,
The table control means is
According to the reception of the information specifying the application form ID, in one or more tables constituting the table group, a series of record groups based on the received information is locked,
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And
Based on information indicating the record to be added and its position, the record to be updated and its position, or the record to be deleted and its position in the one or more tables from the table management means Add, update, and delete records in each of the worktables that make up the worktable group.
Each of the one or more work tables constituting the work table group stores records added, updated or deleted in one or more tables constituting the table group,
Thereafter, in one or more tables constituting the table group, the workflow control server is configured to unlock a series of record groups.
回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバであって、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御手段と
前記クライアントからの申請書IDにて特定される申請書について、申請或いは承認を含むアクションの受信にしたがって、前記テーブル群を構成する1以上のテーブルを参照して、前記回議順において、申請書について次にアクションが求められるメンバを特定して、当該テーブルのレコードにおいて、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードを特定するワークフロー進行処理手段と、を備え、
前記テーブル制御手段が、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックし、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納し、
前記ワークフロー進行処理手段からの、前記1以上のテーブルにおける、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードの情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードを更新し、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、更新されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納し、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するように構成されたことを特徴とするワークフロー制御サーバ。
It has a record including an application ID that identifies an application to be circulated, information that indicates a member to whom the application is to be circulated and the order in which the application is circulated, and information that identifies a member that is required to perform some action on the application. A table group including one or more tables is provided, and the data of the application form identified by the application form ID is sent to the client of the member identified according to the order of recitation based on the records of the one or more tables constituting the table group. A workflow control server that circulates the application by sending it over a network,
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, The table control means configured from the above table and capable of generating a plurality of work table groups, and the application specified by the application ID from the client, according to reception of an action including application or approval, the table Referring to one or more tables that make up the group, in the order of reconsideration, identify the member who is required to take the next action for the application form, and identify the member for which some action is required for the application form in the record of the table Workflow progress processor that identifies the record that should be updated A stage,
The table control means is
According to the reception of the information specifying the application form ID, in one or more tables constituting the table group, a series of record groups based on the received information is locked,
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And
Work pieces that constitute the generated work table group based on the information of the record to be updated in the one or more tables from the workflow progress processing means, the information specifying the member for which some action is required for the application form. Update the record in each of the tables,
Storing updated records of each of the one or more work tables constituting the work table group in one or more tables constituting the table group;
Thereafter, in one or more tables constituting the table group, the workflow control server is configured to unlock a series of record groups.
前記テーブル群を構成する1以上のテーブルのレコードが、当該レコードにかかるメンバが何らかのアクションをすべきであることを示すアクティブメンバフラグと、アクションが終了していることを示すアクション終了フラグを含み、前記ワークフロー進行処理手段が、前記テーブル群を構成する1以上のテーブルにおいて、アクティブメンバフラグおよび/またはアクション終了フラグを更新すべきレコードを特定し、
前記テーブル制御手段が、前記ワークテーブル群を構成する1以上のワークテーブルにおいて、前記特定されたレコードのアクティブメンバフラグおよび/またはアクション終了フラグを更新するように構成されたことを特徴とする請求項2に記載のワークフロー制御サーバ。
The records of one or more tables constituting the table group include an active member flag indicating that a member related to the record should take some action, and an action end flag indicating that the action has ended, The workflow progress processing means specifies a record in which an active member flag and / or an action end flag are to be updated in one or more tables constituting the table group,
The table control means is configured to update an active member flag and / or an action end flag of the specified record in one or more work tables constituting the work table group. 2. The workflow control server according to 2.
前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、並びに、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブルを含み、
前記テーブル制御手段が、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブルおよび前記メンバ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載のワークフロー制御サーバ。
The table group has a record including an application ID for identifying an application to be circulated, information for identifying a member to be circulated for the application, and information for identifying a member for which some action is required for the application. A member connection table having a record including a member table, the application ID, information for specifying a start member that precedes two adjacent members in the order of reconstitution, and information for specifying a subsequent end member;
The table control means is configured to generate a work table group including the work tables of the member table and the member connection table as one of the plurality of work table groups that can be generated. The workflow control server according to any one of claims 1 to 3, wherein the workflow control server is provided.
前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、当該メンバが属する、一定のメンバの集合体であるファミリを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブル、前記申請書IDと、前記ファミリを特定する情報と、前記申請書について何らかのアクションが求められるメンバが属するファミリを特定する情報と、を含むファミリテーブル、並びに、前記申請書IDと、回議順において隣接する2つのファミリにおいて先行するスタートファミリを特定する情報と、後続するエンドファミリを特定する情報とを含むレコードを有するファミリ連結テーブルを含み、
前記テーブル制御手段が、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブル、メンバ連結テーブル、ファミリテーブルおよびファミリ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載のワークフロー制御サーバ。
The table group includes an application ID for identifying an application to be circulated, information for identifying a member to which the application is to be circulated, information for identifying a family that is a set of certain members to which the member belongs. , A member table having a record including information for identifying a member for whom some action is required for the application form, the application form ID, information for specifying a preceding start member in two adjacent members in the order of reconsideration, and the following A member connection table having a record including information for specifying an end member, the application ID, information for specifying the family, and information for specifying a family to which a member to which an action is required for the application belongs. Family table that includes the application ID and the two adjacent in the order of reconsideration Includes information specifying a start families preceding the family, the family connection table having a record including the information specifying the end family subsequent,
A work table group in which the table control means includes each work table of the member table, the member connection table, the family table, and the family connection table as one of the plurality of work table groups that can be generated. The workflow control server according to any one of claims 1 to 3, wherein the workflow control server is configured to generate.
前記テーブル制御手段が、前記クライアントと前記制御サーバとの間のセッションについて、前記制御サーバが付与したセッションIDに基づいて、前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成することを特徴とする請求項1ないし5の何れか一項に記載のワークフロー制御サーバ。   For the session between the client and the control server, the table control means selects any one work table group from among the plurality of work table groups that can be generated based on a session ID assigned by the control server. The workflow control server according to claim 1, wherein the workflow control server is generated. 回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバにおいて、前記ワークフロー制御サーバに、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御ステップ、並びに、
前記クライアントからのメンバの追加、更新或いは削除の指示の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、回議順において隣接するメンバとメンバとの間に新たなメンバを追加し、ある回議順のメンバを変更し、或いは、ある回議順のメンバを削除することを示す指示を受信して、前記1以上のテーブルにおいて、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を特定するテーブル管理ステップを実行させ、かつ、
前記ワークフロー制御サーバに、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックするステップと、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納するステップと、
前記テーブル管理手段からの、前記1以上のテーブルにおける、追加すべきレコードおよびその位置、更新すべきレコードおよびその位置、或いは、削除すべきレコードおよびその位置を示す情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードの追加、更新、削除を実行するステップと、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、追加、更新或いは削除されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納するステップと、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するステップと、を実行させることを特徴とするワークフロー制御プログラム。
It has a record including an application ID that identifies an application to be circulated, information that indicates a member to whom the application is to be circulated and the order in which the application is circulated, and information that identifies a member that is required to perform some action on the application. A table group including one or more tables is provided, and the data of the application form identified by the application form ID is sent to the client of the member identified according to the order of recitation based on the records of the one or more tables constituting the table group. In the workflow control server that circulates the application by sending it through the network, the workflow control server
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, A table control step that can generate a plurality of work table groups composed of the above tables, and
In accordance with reception of an instruction to add, update, or delete a member from the client, a new member is added between adjacent members in the order of reconstitution in one or more tables constituting the table group. In the one or more tables, the record to be added and its position, the record to be updated, and its position in the one or more tables are received. Alternatively, a table management step for specifying a record to be deleted and its position is executed, and
In the workflow control server,
Locking a series of record groups based on the received information in one or more tables constituting the table group in accordance with reception of information specifying the application form ID;
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And steps to
Based on information indicating the record to be added and its position, the record to be updated and its position, or the record to be deleted and its position in the one or more tables from the table management means A step of adding, updating, and deleting records in each of the work tables constituting the work table group;
Storing each added, updated or deleted record of one or more work tables constituting the work table group in one or more tables constituting the table group;
Thereafter, a step of releasing a lock of a series of record groups in one or more tables constituting the table group is executed.
回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバおよびその回議順を示す情報と、申請書について何らかのアクションが求められるメンバを特定する情報と、を含むレコードを有する、1以上のテーブルからなるテーブル群を備え、申請書IDにて特定される申請書のデータを、前記テーブル群を構成する1以上のテーブルのレコードに基づいた回議順にしたがって特定されたメンバのクライアントに、ネットワークを介して送信することにより、前記申請書を回議するワークフロー制御サーバにおいて、前記ワークフロー制御サーバに、
クライアントからの申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記申請書IDにて特定されるテーブルのレコードの更新を制御するために、それぞれが1以上のテーブルから構成される、複数のワークテーブル群を生成可能なテーブル制御ステップ、並びに、
前記クライアントからの申請書IDにて特定される申請書について、申請或いは承認を含むアクションの受信にしたがって、前記テーブル群を構成する1以上のテーブルを参照して、前記回議順において、申請書について次にアクションが求められるメンバを特定して、当該テーブルのレコードにおいて、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードを特定するワークフロー進行処理手段を実行させ、かつ、
前記ワークフロー制御サーバに、
前記申請書IDを指定する情報の受信にしたがって、前記テーブル群を構成する1以上のテーブルにおいて、前記受信した情報に基づく一連のレコード群をロックするステップと、
前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成し、当該ワークテーブル群を構成する1以上のワークテーブルに、前記1以上のテーブルでそれぞれロックされたレコード群を格納するステップと、
前記ワークフロー進行処理手段からの、前記1以上のテーブルにおける、申請書について何らかのアクションが求められるメンバを特定する情報を更新すべきレコードの情報に基づいて、前記生成されたワークテーブル群を構成するワークテーブルのそれぞれにおいて、レコードを更新するステップと、
前記ワークテーブル群を構成する1以上のワークテーブルのそれぞれの、更新されたレコードを、前記テーブル群を構成する1以上のテーブルに、それぞれ格納するステップと、
その後、前記テーブル群を構成する1以上のテーブルにおいて、一連のレコード群のロックを解除するステップと、を実行させることを特徴とするワークフロー制御プログラム。
It has a record including an application ID that identifies an application to be circulated, information that indicates a member to whom the application is to be circulated and the order in which the application is circulated, and information that identifies a member that is required to perform some action on the application. A table group including one or more tables is provided, and the data of the application form identified by the application form ID is sent to the client of the member identified according to the order of recitation based on the records of the one or more tables constituting the table group. In the workflow control server that circulates the application by sending it through the network, the workflow control server
In order to control the update of the record of the table specified by the application form ID in one or more tables constituting the table group in accordance with reception of information specifying the application form ID from the client, A table control step that can generate a plurality of work table groups composed of the above tables, and
With respect to the application specified by the application ID from the client, referring to one or more tables constituting the table group in accordance with reception of an action including application or approval, the application is determined in the order of reconsideration. Next, a member for which an action is required is specified, and in the record of the table, a workflow progress processing unit for specifying a record for updating information for specifying a member for which an action is required for an application form is executed, and
In the workflow control server,
Locking a series of record groups based on the received information in one or more tables constituting the table group in accordance with reception of information specifying the application form ID;
One of the plurality of work table groups that can be generated is generated, and a record group locked by each of the one or more tables is stored in one or more work tables constituting the work table group. And steps to
Work pieces that constitute the generated work table group based on the information of the record to be updated in the one or more tables from the workflow progress processing means, the information specifying the member for which some action is required for the application form. Updating each record in each of the tables;
Storing each updated record of each of the one or more work tables constituting the work table group in one or more tables constituting the table group;
Thereafter, a step of releasing a lock of a series of record groups in one or more tables constituting the table group is executed.
前記テーブル群を構成する1以上のテーブルのレコードが、当該レコードにかかるメンバが何らかのアクションをすべきであることを示すアクティブメンバフラグと、アクションが終了していることを示すアクション終了フラグを含み、
前記ワークフロー進行処理ステップにおいて、前記ワークフロー制御サーバに、前記テーブル群を構成する1以上のテーブルにおいて、アクティブメンバフラグおよび/またはアクション終了フラグを更新すべきレコードを特定するステップを実行させ、かつ、
前記ワークフロー制御サーバに、
前記ワークテーブル群を構成する1以上のワークテーブルにおいて、前記特定されたレコードのアクティブメンバフラグおよび/またはアクション終了フラグを更新するステップを実行させることを特徴とする請求項8に記載のワークフロー制御プログラム。
The records of one or more tables constituting the table group include an active member flag indicating that a member related to the record should take some action, and an action end flag indicating that the action has ended,
In the workflow progress processing step, causing the workflow control server to execute a step of identifying a record in which an active member flag and / or an action end flag should be updated in one or more tables constituting the table group; and
In the workflow control server,
9. The workflow control program according to claim 8, wherein a step of updating an active member flag and / or an action end flag of the specified record is executed in one or more work tables constituting the work table group. .
前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、並びに、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブルを含み、
前記ワークフロー制御サーバに、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブルおよび前記メンバ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するステップを実行させることを特徴とする請求項7ないし9の何れか一項に記載のワークフロー制御プログラム。
The table group has a record including an application ID for identifying an application to be circulated, information for identifying a member to be circulated for the application, and information for identifying a member for which some action is required for the application. A member connection table having a record including a member table, the application ID, information for specifying a start member that precedes two adjacent members in the order of reconstitution, and information for specifying a subsequent end member;
A step of generating a work table group including the work tables of the member table and the member connection table as any one of a plurality of work table groups that can be generated in the workflow control server is executed. The workflow control program according to claim 7, wherein the workflow control program is executed.
前記テーブル群が、回議すべき申請書を特定する申請書IDと、申請書を回議すべきメンバを特定する情報と、当該メンバが属する、一定のメンバの集合体であるファミリを特定する情報と、申請書について何らかのアクションが求められるメンバを特定する情報とを含むレコードを有するメンバテーブル、前記申請書IDと、回議順において隣接する2つのメンバにおいて先行するスタートメンバを特定する情報と、後続するエンドメンバを特定する情報とを含むレコードを有するメンバ連結テーブル、前記申請書IDと、前記ファミリを特定する情報と、前記申請書について何らかのアクションが求められるメンバが属するファミリを特定する情報と、を含むファミリテーブル、並びに、前記申請書IDと、回議順において隣接する2つのファミリにおいて先行するスタートファミリを特定する情報と、後続するエンドファミリを特定する情報とを含むレコードを有するファミリ連結テーブルを含み、
前記ワークフロー制御サーバに、複数生成可能なワークテーブル群のうちの、何れか1つのワークテーブル群として、前記メンバテーブル、メンバ連結テーブル、ファミリテーブルおよびファミリ連結テーブルのそれぞれのワークテーブルを含むワークテーブル群を生成するステップを実行させることを特徴とする請求項7ないし9の何れか一項に記載のワークフロー制御プログラム。
The table group includes an application ID for identifying an application to be circulated, information for identifying a member to which the application is to be circulated, information for identifying a family that is a set of certain members to which the member belongs. , A member table having a record including information for identifying a member for whom some action is required for the application form, the application form ID, information for specifying a preceding start member in two adjacent members in the order of reconsideration, and the following A member connection table having a record including information for specifying an end member, the application ID, information for specifying the family, and information for specifying a family to which a member to which an action is required for the application belongs. Family table that includes the application ID and the two adjacent in the order of reconsideration Includes information specifying a start families preceding the family, the family connection table having a record including the information specifying the end family subsequent,
A work table group including, as one work table group among a plurality of work table groups that can be generated in the workflow control server, the member table, the member connection table, the family table, and the family connection table. The workflow control program according to any one of claims 7 to 9, wherein a step of generating the step is executed.
前記テーブル制御ステップにおいて、前記ワークフロー制御サーバに、前記クライアントと前記制御サーバとの間のセッションについて、前記制御サーバが付与したセッションIDに基づいて、前記複数生成可能なワークテーブル群のうち、何れか1つのワークテーブル群を生成するステップを実行させることを特徴とする請求項7ないし11の何れか一項に記載のワークフロー制御プログラム。   In the table control step, any one of the plurality of work table groups that can be generated based on a session ID given by the control server for a session between the client and the control server to the workflow control server. 12. The workflow control program according to claim 7, wherein a step of generating one work table group is executed.
JP2006277180A 2006-10-11 2006-10-11 Workflow control system and workflow control program Expired - Fee Related JP5011463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006277180A JP5011463B2 (en) 2006-10-11 2006-10-11 Workflow control system and workflow control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006277180A JP5011463B2 (en) 2006-10-11 2006-10-11 Workflow control system and workflow control program

Publications (2)

Publication Number Publication Date
JP2008097243A true JP2008097243A (en) 2008-04-24
JP5011463B2 JP5011463B2 (en) 2012-08-29

Family

ID=39380036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006277180A Expired - Fee Related JP5011463B2 (en) 2006-10-11 2006-10-11 Workflow control system and workflow control program

Country Status (1)

Country Link
JP (1) JP5011463B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0855162A (en) * 1994-08-09 1996-02-27 Fuji Xerox Co Ltd Information processing system
JPH08137947A (en) * 1994-11-11 1996-05-31 Hitachi Ltd Work flow management system
JP2000348111A (en) * 1999-06-01 2000-12-15 Hitachi Ltd Workflow managing method and its implementing device, and recording medium where processing program thereof is recorded
JP2002132935A (en) * 2000-10-30 2002-05-10 Fujitsu Ltd Medical information system
JP2003050904A (en) * 2001-08-07 2003-02-21 Ns Solutions Corp Device and system for information processing, operation flow support method, storage medium, and program
JP2003331095A (en) * 2002-05-13 2003-11-21 Nec Software Kyushu Ltd Workflow (application approval operation) by management of db
JP2005056114A (en) * 2003-08-04 2005-03-03 Nippon Telegr & Teleph Corp <Ntt> Work flow processing method, server device for realizing the method, server retrieving device, client device and programs to be used for the devices
JP2005092620A (en) * 2003-09-18 2005-04-07 Fuji Electric Systems Co Ltd Business process management system
JP2005092544A (en) * 2003-09-18 2005-04-07 Nippon Telegr & Teleph Corp <Ntt> Work flow generation management processing method, work flow processing system and work flow control program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0855162A (en) * 1994-08-09 1996-02-27 Fuji Xerox Co Ltd Information processing system
JPH08137947A (en) * 1994-11-11 1996-05-31 Hitachi Ltd Work flow management system
JP2000348111A (en) * 1999-06-01 2000-12-15 Hitachi Ltd Workflow managing method and its implementing device, and recording medium where processing program thereof is recorded
JP2002132935A (en) * 2000-10-30 2002-05-10 Fujitsu Ltd Medical information system
JP2003050904A (en) * 2001-08-07 2003-02-21 Ns Solutions Corp Device and system for information processing, operation flow support method, storage medium, and program
JP2003331095A (en) * 2002-05-13 2003-11-21 Nec Software Kyushu Ltd Workflow (application approval operation) by management of db
JP2005056114A (en) * 2003-08-04 2005-03-03 Nippon Telegr & Teleph Corp <Ntt> Work flow processing method, server device for realizing the method, server retrieving device, client device and programs to be used for the devices
JP2005092620A (en) * 2003-09-18 2005-04-07 Fuji Electric Systems Co Ltd Business process management system
JP2005092544A (en) * 2003-09-18 2005-04-07 Nippon Telegr & Teleph Corp <Ntt> Work flow generation management processing method, work flow processing system and work flow control program

Also Published As

Publication number Publication date
JP5011463B2 (en) 2012-08-29

Similar Documents

Publication Publication Date Title
US6151583A (en) Workflow management method and apparatus
US9916552B2 (en) Workflow system and method with skip function
JP2007328791A (en) Use of database in network-based project schedule management system
JPH10228402A (en) Document sharing management method
JP2007328792A (en) Integration of member schedule with project schedule in network based project schedule management system
JP2004062438A (en) Workflow system, workflow server, workflow engine, method of consolidating workfloaw process, and program
JP2000040104A (en) Workflow management method
JP2009505226A (en) Server-side project manager
JP2002082836A (en) Decision system
JP2005038145A (en) Approval route decision method and program for electronic approval system
US10140590B2 (en) Data approval system and method
JP2005327228A (en) Work flow system capable of specifying multiple approvers in same approval order
JP5011463B2 (en) Workflow control system and workflow control program
JP2000347921A (en) Data managing method and device for executing the method
JP2002342542A (en) System and server for workflow, information processing terminal, operation process managing method, program, and storage medium
JP4777057B2 (en) HR management server
JP5570278B2 (en) Document management system and document management method
JP2023049637A (en) Information processing apparatus, program, three-dimensional data management system, and three-dimensional data management method
JP2001306522A (en) Method and system for verifying access to network environment
JP4348770B2 (en) Design drawing editing history management system
US20030182377A1 (en) Flexible routing engine
JP2002024499A (en) Device and method for circulating draft for sanction and computer-readable recording medium
JP2005284765A (en) System and program for workflow control
JP2003030391A (en) Workflow system and its item deleting method, and program regarding the same method
US20220327534A1 (en) Security system and method that allows users to securely setup and maintain system security for all business systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091008

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20110825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111128

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120313

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20120330

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120330

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120403

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5011463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees