JP2009122985A - System and program for sub-process execution - Google Patents
System and program for sub-process execution Download PDFInfo
- Publication number
- JP2009122985A JP2009122985A JP2007296607A JP2007296607A JP2009122985A JP 2009122985 A JP2009122985 A JP 2009122985A JP 2007296607 A JP2007296607 A JP 2007296607A JP 2007296607 A JP2007296607 A JP 2007296607A JP 2009122985 A JP2009122985 A JP 2009122985A
- Authority
- JP
- Japan
- Prior art keywords
- definition
- sub
- execution
- main process
- subprocess
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
この発明は、メインプロセスと、メインプロセスに関連付けられたサブプロセスとを実行するサブプロセス実行システム及びサブプロセス実行プログラムに関する。 The present invention relates to a sub-process execution system and a sub-process execution program that execute a main process and a sub-process associated with the main process.
従来のビジネスプロセスは、
(1)単一のプロセスとして定義されている、
あるいは、
(2)メインプロセス定義とサブプロセス定義に分割され、メインプロセス定義にサブプロセスを呼び出すことを明示的に定義されている、
というものであり、実行エンジンはこの静的な情報を元にビジネスプロセスを実行していた。これに対して、下記の特許文献1では、部門間をまたがるプロセスにおいて各部門で実行するプロセス(サブプロセス)を自動的に決定し、また、サブプロセスの決定は、受け渡されたデータをもとに行うという技術を開示している。
(1) defined as a single process,
Or
(2) It is divided into main process definition and sub process definition, and it is explicitly defined to call sub process in main process definition.
The execution engine executed business processes based on this static information. On the other hand, in the following
従来のビジネスプロセス処理方式では、
(1)部門ごとに異なる固有処理がある良く似たプロセス定義でも、別々のプロセス定義として作成する必要がある。
(2)共通的な処理を入れる場合、対象となるプロセス定義をすべてを編集する必要があるという課題があった。図11は、共通な処理を入れる場合を説明するための図である。従来では、「見積依頼プロセス11」と「発注プロセス12」とのFinalに共通な処理として「確認処理プロセス13」を入れようとする場合、対象となるプロセス定義をすべてを編集する必要があった。
In the conventional business process processing method,
(1) Even a similar process definition having a unique process different for each department needs to be created as a separate process definition.
(2) When common processing is put in, there is a problem that it is necessary to edit all target process definitions. FIG. 11 is a diagram for explaining a case where common processing is performed. Conventionally, when the “
これらの課題に対して特許文献1の技術を適用することで課題(1)については解決可能と見込まれるが、課題(2)については解決できない。
It is expected that the problem (1) can be solved by applying the technique of
本発明は、上記の課題(2)を解決するためのもので、既に存在するビジネスプロセスに対して共通的な処理を入れる場合に、対象となるビジネスプロセスを編集することなくビジネスプロセスを実行することを目的とする。 The present invention is for solving the above problem (2), and when a common process is put into an existing business process, the business process is executed without editing the target business process. For the purpose.
この発明のサブプロセス実行システムは、
メインプロセスの一部として実行されるサブプロセスを示す識別子と、前記サブプロセスが実行される対象である対象メインプロセスを特定する特定条件と、前記対象メインプロセスにおける前記サブプロセスの実行の実行タイミングとの関係を定義したサブプロセス実行条件定義を格納する実行条件定義格納部と、
前記メインプロセスのファイルであるメインプロセス定義と、前記サブプロセスのファイルであるととともに前記サブプロセスを示す識別子を含むサブプロセス定義とを格納するプロセス定義格納部と、
前記プロセス定義格納部に格納された前記メインプロセス定義と、前記サブプロセス定義とを読み込み、
読み込まれた前記メインプロセス定義から指定に従って所定のメインプロセス定義の示す所定のメインプロセスを実行するとともに、前記所定のメインプロセスを実行するときには、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記特定条件を参照することにより前記所定のメインプロセスが前記対象メインプロセスに該当するかどうかを判定し、前記対象メインプロセスに該当すると判定すると、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記識別子を参照することにより前記所定のメインプロセスに対して実行されるサブプロセスを示す前記サブプロセス定義を読み込まれた前記サブプロセス定義から検索し、検索によりヒットすると、ヒットした前記サブプロセス定義の示す前記サブプロセスを前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の実行タイミングで実行するサブプロセス処理部と
を備えたことを特徴とする。
The sub-process execution system of this invention is
An identifier indicating a sub-process executed as a part of the main process, a specific condition for specifying a target main process on which the sub-process is executed, and an execution timing of execution of the sub-process in the target main process, An execution condition definition storage for storing subprocess execution condition definitions that define the relationship
A process definition storage unit that stores a main process definition that is a file of the main process and a subprocess definition that is the file of the sub process and includes an identifier indicating the sub process;
Read the main process definition and the sub-process definition stored in the process definition storage unit,
The predetermined main process indicated by the predetermined main process definition is executed according to the designation from the read main process definition, and the sub-process execution stored in the execution condition definition storage unit is executed when the predetermined main process is executed. It is determined whether or not the predetermined main process corresponds to the target main process by referring to the specific condition of the condition definition. If it is determined that the predetermined main process corresponds to the target main process, the execution condition definition storage unit stores When the subprocess definition indicating the subprocess to be executed for the predetermined main process is searched from the read subprocess definition by referring to the identifier of the subprocess execution condition definition and hit by the search, The subprocess definition that was hit Characterized in that a sub-processing section that executes the execution timing of the subprocess is stored in the execution condition defined storage the sub-process execution condition definition.
本発明により、既に存在するビジネスプロセスに対してサブプロセスを入れる場合に、対象となるビジネスプロセスを編集することなくビジネスプロセスを実行する手段を提供できる。 According to the present invention, it is possible to provide means for executing a business process without editing the target business process when a sub-process is added to an existing business process.
実施の形態1.
図1は、コンピュータであるビジネスプロセス実行システム1000(サブプロセス実行システム)の外観の一例を示す図である。図1において、ビジネスプロセス実行システム1000は、システムユニット830、CRT(Cathode・Ray・Tube)やLCD(液晶)の表示画面を有する表示装置813、キーボード814(Key・Board:K/B)、マウス815、FDD817(Flexible・Disk・ Drive)、コンパクトディスク装置818(CDD:Compact Disk Drive)、プリンタ装置819などのハードウェア資源を備え、これらはケーブルや信号線で接続されている。
FIG. 1 is a diagram showing an example of the appearance of a business process execution system 1000 (sub-process execution system) that is a computer. In FIG. 1, a business
図2は、実施の形態1におけるビジネスプロセス実行システム1000のハードウェア資源の一例を示す図である。図2において、ビジネスプロセス実行システム1000は、プログラムを実行するCPU810(中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。CPU810は、バス825を介してROM(Read Only Memory)811、RAM(Random Access Memory)812、表示装置813、キーボード814、マウス815、通信ボード816、FDD817、CDD818、プリンタ装置819、磁気ディスク装置820と接続され、これらのハードウェアデバイスを制御する。磁気ディスク装置820の代わりに、光ディスク装置、フラッシュメモリなどの記憶装置でもよい。
FIG. 2 is a diagram illustrating an example of hardware resources of the business
RAM812は、揮発性メモリの一例である。ROM811、FDD817、CDD818、磁気ディスク装置820等の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置あるいは記憶部、格納部、バッファの一例である。通信ボード816、キーボード814、FDD817などは、入力部、入力装置の一例である。また、通信ボード816、表示装置813、プリンタ装置819などは、出力部、出力装置の一例である。
The
通信ボード816は、ネットワーク(LAN等)に接続されている。通信ボード816は、LANに限らず、インターネット、ISDN等のWAN(ワイドエリアネットワーク)などに接続されていても構わない。
The
磁気ディスク装置820には、オペレーティングシステム821(OS)、ウィンドウシステム822、プログラム群823、ファイル群824が記憶されている。プログラム群823のプログラムは、CPU810、オペレーティングシステム821、ウィンドウシステム822により実行される。
The
上記プログラム群823には、以下に述べる実施の形態の説明において「〜部」、及び「実行インスタンス」として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU810により読み出され実行される。
The
ファイル群824には、以下に述べる実施の形態の説明において、「サブプロセス実行条件定義」、「メイン/サブプロセス定義」、「実行インスタンス」として説明する情報や、「〜の判定結果」、「〜の算出結果」、「〜の抽出結果」、「〜の生成結果」、「〜の処理結果」として説明する情報や、データや信号値や変数値やパラメータなどが、「〜ファイル」や「〜データベース」の各項目として記憶されている。「〜ファイル」や「〜データベース」は、ディスクやメモリなどの記録媒体に記憶される。ディスクやメモリなどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU810によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示などのCPUの動作に用いられる。抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。
The
また、以下に述べる実施の形態の説明においては、データや信号値は、RAM812のメモリ、FDD817のフレキシブルディスク、CDD818のコンパクトディスク、磁気ディスク装置820の磁気ディスク、その他光ディスク、ミニディスク、DVD(Digital・Versatile・Disk)等の記録媒体に記録される。また、データや信号は、バス825や信号線やケーブルその他の伝送媒体によりオンライン伝送される。
In the description of the embodiment described below, data and signal values are stored in the memory of
また、以下に述べる実施の形態の説明において、「〜部」、「実行インスタンス」として説明するものは、「〜部」、「手段」、「〜回路」、「〜機器」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。すなわち、「〜部」、「実行インスタンス」として説明するものは、ROM811に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。プログラムはCPU810により読み出され、CPU810により実行される。すなわち、プログラムは、以下に述べる「〜部」、「実行インスタンス」としてコンピュータを機能させるものである。あるいは、以下に述べる「〜部」、「実行インスタンス」の手順や方法をコンピュータに実行させるものである。
In the description of the embodiments described below, what is described as “to part” and “execution instance” may be “to part”, “means”, “to circuit”, and “to device”. Also, “to step”, “to procedure”, and “to processing” may be used. That is, what is described as “˜unit” and “execution instance” may be realized by firmware stored in the
図3に、本実施の形態1に係るビジネスプロセス実行システム1000の構成ブロック図を示す。ビジネスプロセス実行システム1000は、ビジネスプロセス実行エンジン100、サブプロセス実行条件定義格納部200、プロセス定義格納部300、業務APP400(以下、業務APP(application)と表記する)から構成される。
FIG. 3 shows a configuration block diagram of the business
ビジネスプロセス実行エンジン100は、業務アプリケーション連携部111(受信)、業務アプリケーション連携部112(送信)、プロセス実行部120、サブプロセス処理部130を備える。なお、業務アプリケーション連携部111及び業務アプリケーション連携部112は、以下、業務APP連携部111、業務APP連携部112と記す。
The business process execution engine 100 includes a business application cooperation unit 111 (reception), a business application cooperation unit 112 (transmission), a
サブプロセス処理部130は、プロセス定義解析部131、実行インスタンス132、サブプロセス実行判定部133を備えている。
The sub-process processing unit 130 includes a process
ビジネスプロセス実行エンジン100と業務APP400との間は、ネットワークを介しても良いし、もしくは、同一マシン上で接続されてもよい。
The business process execution engine 100 and the
(サブプロセス実行条件定義)
図4は、サブプロセス実行条件定義格納部200に格納されるサブプロセス実行条件定義201の例を示す。図4参照して、サブプロセス実行条件定義201を説明する。サブプロセス実行条件定義201とは、メインプロセスの一部として実行されるサブプロセスを示す識別子と、サブプロセスが実行される対象である対象メインプロセスを抽出(特定)する抽出条件(特定条件)と、対象メインプロセスにおけるサブプロセスの実行の実行タイミングとの関係を定義した情報である。図4のサブプロセス実行条件定義201では、実行対象とするサブプロセスの識別子、このサブプロセスの実行の対象となる対象プロセス(対象メインプロセス)の抽出条件、及び識別子で示されるサブプロセスの実行タイミング条件を定義している。
(1)「抽出条件」は、メイン/サブプロセス定義(プロセス定義格納部に格納されたメインプロセス定義、及びサブプロセス定義)に指定されている付加情報(プロセス定義名/メイン、サブなどのプロセスの種類/対象組織など)や、プロセス実行時に生成された実行情報(プロセスを起動したユーザ情報/業務アプリケーションから渡されるデータの内容など)を使用して、その条件が定義できる。また条件を指定しないことも可能である。
(2)「実行タイミング」は、プロセスの開始時/終了時や、特定の処理の実行前・実行後(例、サブ1の終了後)のような指定が可能である。
(Subprocess execution condition definition)
FIG. 4 shows an example of the subprocess execution condition definition 201 stored in the subprocess execution condition
(1) The “extraction condition” is the additional information (process definition name / main, sub, etc.) specified in the main / sub process definition (main process definition and sub process definition stored in the process definition storage unit) The conditions can be defined using the execution information generated during process execution (such as the user information that started the process / the contents of data passed from the business application). It is also possible to specify no condition.
(2) “Execution timing” can be specified at the start / end of a process or before or after execution of a specific process (eg, after the end of sub 1).
(動作の概要説明)
業務APP400は、ビジネスプロセス実行エンジン100に対して処理要求を行う。ビジネスプロセス実行エンジン100では、業務APP400から受信した処理要求に応じて後述する処理を行う。その処理の結果、場合によっては業務APP400(これは処理要求を行った業務アプリケーションと同一の場合と、異なる場合が存在する)に対して処理要求が行われる。
(Overview of operation)
The
図5、図6を参照して、ビジネスプロセス実行システム1000の動作を説明する。図5、図6は、ビジネスプロセス実行システム1000の動作を説明するためのシーケンス図である。また、図7は、メインプロセス(定義名:メイン1)の例を示す図である。図8は、開始時に実行するサブプロセス(定義名:サブ1)を示す。図9は、終了時に実行するサブプロセス(定義名:サブ2)を示す。図10は、この設例を概念的に示した図である。
The operation of the business
図5、図6のシーケンス図は、図7のメインプロセスに図8、図9のサブプロセスを適用する場合の例を示している。また、図4は、この設例におけるのサブプロセス実行条件定義を示している。 The sequence diagrams of FIGS. 5 and 6 show an example in which the sub-process of FIGS. 8 and 9 is applied to the main process of FIG. FIG. 4 shows the sub-process execution condition definition in this example.
(初期処理)
図5は、この設例における初期処理時を示すシーケンスである。初期処理時には、プロセス定義解析部131が、プロセス定義格納部300に格納されているメイン/サブプロセスのプロセス定義ファイルの全部を読み込み、処理用に形式を変えて保持する。プロセス定義ファイルには、業務APP400と連携するためのインタフェース定義が記述されているので、そのインタフェース定義を元に、図5に示すように、「初期化1.1」、「初期化1.1.1」及び「初期化1.2」、「初期化1.2.1」による業務APP連携部の初期化を実施する。これにより、例えば、Webサービスとしてのインタフェースが生成される。
(Initial processing)
FIG. 5 is a sequence showing the initial processing time in this example. At the time of initial processing, the process
(リクエストの処理)
次に図6を参照して説明する。図6は、業務APP400からリクエストが送信された場合の処理を示すシーケンスである。図6において「2:リクエスト」は、図7の「受信待ち(1)」に対応するリクエストである。「3:リクエスト」は、図7の「受信待ち(2)」に対応するリクエストである。以下に、図6における業務APP連携部111等の個別の動作を説明し、その後に図6の動作を説明する。
(Request processing)
Next, a description will be given with reference to FIG. FIG. 6 is a sequence showing processing when a request is transmitted from the
(業務APP連携部111(受信))
業務APP連携部111は、業務APP400からリクエストを受信する。このリクエストには、メインプロセスを指定する識別子が含まれている。この設例では図6に示すように「メイン1」の識別子が含まれている。業務APP連携部111は、受信したリクエストの形式を変換(内部処理用)したリクエストメッセージと、対応するプロセス定義の識別子(前記メイン1)をプロセス実行部120に送信する。
(Business APP Linking Unit 111 (Reception))
The business
(プロセス実行部120)
プロセス実行部120は、プロセス定義の識別子(前記メイン1)に基づき、業務APP連携部111から受信したリクエストを対応するメイン1のプロセス定義解析部131に送信する。
(Process execution unit 120)
The
(プロセス定義解析部131)
メイン1のプロセス定義解析部131は、そのプロセス定義(メイン1)の最初のリクエストの場合には、実行インスタンスを生成する。プロセス定義の途中のリクエスト(例えば、図7の「受信待ち(2)」に対応する「3:リクエスト」)の場合には、対応する実行インスタンスを検索し、実行要求の送信を行う。
(Process definition analysis unit 131)
In the case of the first request of the process definition (main 1), the main 1 process
(実行インスタンス132)
実行インスタンス132は、生成された時に、サブプロセス実行判定部133に問い合わせを行ない、サブプロセス実行条件定義201に該当するサブプロセスがある場合には実行してもらう。即ち、サブプロセス実行判定部133は、該当するサブプロセスがあると、該当するサブプロセスのプロセス定義解析部131にインスタンス生成のリクエストを送信する。プロセス定義解析部131は、このリクエストに応答して、実行インスタンスを生成する。また、実行インスタンスは、実行要求がきた場合には、関連を持つプロセス定義解析部131から次に実施すべきタスクの情報(例えば、図7の初期状態で受信待ち(1)ならば、「タスク1」が該当)を取得し実施する。実行インスタンス132は、実施後にプロセスの実行状態(初期、〜ステップ実行後、〜待ち、終了など)を更新し、サブプロセス実行判定部133に対して問い合わせをする。
(Execution instance 132)
When the
(サブプロセス実行判定部133)
サブプロセス実行判定部133は、実行インスタンスから問い合わせを受けると、どのプロセス定義か(メインプロセス、対象部門=資材、対象者=一般社員)、実行状態は何か(初期化、〜ステップ実行後、終了など)受信したメッセージの情報を貰い、サブプロセス実行条件定義201と比較し、サブプロセス実行条件定義201が満たされ、実行可能タイミングが現在の実行インスタンスの実行状態と一致する場合には、対応するサブプロセスを実行する(当該サブプロセスの実行をプロセス定義解析部に要求する)。
(Sub-process execution determination unit 133)
Upon receiving an inquiry from the execution instance, the sub-process
(2、2.1)
図6において、業務APP連携部111が、「2:リクエスト(メイン1)」を受信した場合を説明する。業務APP連携部111は、「2:リクエスト(メイン1)」を受信すると、受信したリクエストの形式を変換(内部処理用)したリクエストメッセージと、対応するプロセス定義の識別子(前記メイン1)をプロセス実行部120に送信する。
(2, 2.1)
In FIG. 6, a case where the business
(2.1.1)
プロセス実行部120は、「リクエスト(メイン1)」を受信すると、プロセス定義の識別子(メイン1)に基づき、このリクエストを対応する「メイン1」のプロセス定義解析部131に送信する。
(2.1.1)
Upon receipt of “request (main 1)”, the
(2.1.1.1)
プロセス定義解析部131は、受信したリクエストは「メイン1」の最初のリクエストであるので、図7の「メインプロセス1」の実行インスタンスを生成する。
(2.1.1.1)
Since the received request is the first request of “main 1”, the process
(2.1.1.1.1)
実行インスタンス132は、生成時であるため、サブプロセス実行判定部133に問い合わせを行ない、サブプロセス実行条件定義201に該当するサブプロセスがある場合には実行してもらう。
(2.1.1.1.1)
Since the
(2.1.1.1.1.1)
サブプロセス実行判定部133は、問い合せを受けた場合、該当するサブプロセスがあると、該当するサブプロセスのプロセス定義解析部131にインスタンス生成のリクエストを送信する。この設例では、サブプロセス実行判定部133は、サブ1のプロセス定義解析部131にリクエストを送信する。
(2.1.1.1.1.1)
When receiving an inquiry, if there is a corresponding subprocess, the subprocess
(2.1.1.1.1.1.1)
該当するプロセス定義解析部131は、このリクエストに応答して、実行インスタンスを生成する。この設例では、サブ1のプロセス定義解析部131がサブプロセス1の実行インスタンスを生成する。
(2.1.1.1.1.1.1)
The corresponding process
(2.1.1.1.1.1.2)
サブ1のプロセス定義解析部131は、生成したサブ1の実行インスタンスに対して、実行要求を送信する。サブ1の実行インスタンス132は、実行要求を受信すると、図8の「完了メールの通知」を実行する。
(2.1.1.1.1.1.2)
The sub-1 process
(2.1.1.2)
「完了メールの通知」が実行されると、メイン1のプロセス定義解析部131は、メイン1の実行インスタンスに対して「実行要求」を送信する。
(2.1.1.2)
When “completion mail notification” is executed, the process
(2.1.1.2.1)
「実行要求」を受信すると、メイン1の実行インスタンス132は、タスク1を実行し(この場合は、図7の注文書作成が該当する)、実行後に実行状態を更新し、例えば、この場合は、「タスク1実行後」と更新し、サブプロセス実行判定部133に問い合わせを送信する。サブプロセス実行判定部133では、サブプロセス実行条件定義201の実行タイミングには「タスク1実行後」は定義されていないので、問い合せには応答しない。
(2.1.1.2.1)
When the “execution request” is received, the
以上が、「2:リクエスト」に対する処理動作である。 The above is the processing operation for “2: request”.
(3/3.1)
次に、「3:リクエスト」に対する処理動作を説明する。図6において、業務APP連携部111が、「3:リクエスト(メイン1)」(図7の受信待ち(2)に相当)を受信した場合を説明する。業務APP連携部111は、「3:リクエスト(メイン1)」を受信すると、受信したリクエストの形式を変換(内部処理用)したリクエストメッセージと、対応するプロセス定義の識別子(前記メイン1)を「リクエスト(メイン1)」としてプロセス実行部120に送信する(3.1)。
(3 / 3.1)
Next, the processing operation for “3: request” will be described. In FIG. 6, a case where the business
(3.1.1)
プロセス実行部120は、「リクエスト(メイン1)」を受信すると、プロセス定義の識別子(メイン1)に基づき、このリクエストを、対応する「メイン1」のプロセス定義解析部131に送信する。
(3.1.1)
Upon receiving “request (main 1)”, the
(3.1.1.1)
プロセス定義解析部131は、この場合の受信した「リクエスト(メイン1)」は、プロセス定義の途中のリクエストであるので、対応する実行インスタンスを検索し、「実行要求」の送信を行う。
(3.1.1.1)
Since the received “request (main 1)” in this case is a request in the middle of the process definition, the process
(4.)
メイン1の実行インスタンス132は、「実行要求」がきた場合には、関連を持つプロセス定義解析部131から次に実施すべきタスクの情報(この設例では図7の注文実施(タスク2))を取得し、注文実施(タスク2)を実施する。実行インスタンス132は、タスク2を実施後に、プロセスの実行状態(初期、〜ステップ実行後、〜待ち、終了など)を更新し、サブプロセス実行判定部133に対して問い合わせをする。この設例では、注文実施(タスク2)の実施後は、プロセスの実行状態は「終了」となる。
(4.)
When the “execution request” is received, the
(4.1)
サブプロセス実行判定部133は、問い合せを受けた場合、該当するサブプロセスがあると、該当するサブプロセスのプロセス定義解析部131にインスタンス生成のリクエストを送信する。図4のサブプロセス実行条件定義201に示すように、「実行タイミング=終了時」にサブプロセス2を実行する条件となっている。したがってサブプロセス実行判定部133は、サブ2のプロセス定義解析部131に、サブ2のインスタンス生成のリクエストを送信する。
(4.1)
When receiving an inquiry, if there is a corresponding subprocess, the subprocess
(4.1.1)
該当するサブ2のプロセス定義解析部131は、このリクエストに応答して、サブ2の実行インスタンスを生成する。
(4.1.1)
The corresponding sub-2 process
(4.1.2)
サブ2のプロセス定義解析部131は、生成したサブ2の実行インスタンスに対して、実行要求を送信する。サブ2の実行インスタンス132は、実行要求を受信すると、図9の「課長承認待ち」を実行する。これにより処理が終了する。
(4.1.2)
The sub-2 process
以上の実施の形態1のビジネスプロセス実行システム1000により、既に存在するビジネスプロセスに対してサブプロセスを入れる場合に、対象となるビジネスプロセスを編集することなくビジネスプロセスを実行することができる。
With the business
11 見積依頼プロセス、12 発注プロセス、13 確認処理プロセス、100 ビジネスプロセス実行エンジン、111 業務APP連携部、112 業務APP連携部、120 プロセス実行部、130 サブプロセス処理部、131 プロセス定義解析部、132 実行インスタンス、133 サブプロセス実行判定部、200 サブプロセス実行条件定義格納部、201 サブプロセス実行条件定義、300 プロセス定義格納部、400 業務APP、1000 ビジネスプロセス実行システム。 11 Quotation Request Process, 12 Ordering Process, 13 Confirmation Process, 100 Business Process Execution Engine, 111 Business APP Coordination Unit, 112 Business APP Coordination Unit, 120 Process Execution Unit, 130 Sub-Process Processing Unit, 131 Process Definition Analysis Unit, 132 Execution instance, 133 sub-process execution determination unit, 200 sub-process execution condition definition storage unit, 201 sub-process execution condition definition, 300 process definition storage unit, 400 business APP, 1000 business process execution system.
Claims (3)
前記メインプロセスのファイルであるメインプロセス定義と、前記サブプロセスのファイルであるととともに前記サブプロセスを示す識別子を含むサブプロセス定義とを格納するプロセス定義格納部と、
前記プロセス定義格納部に格納された前記メインプロセス定義と、前記サブプロセス定義とを読み込み、
読み込まれた前記メインプロセス定義から指定に従って所定のメインプロセス定義の示す所定のメインプロセスを実行するとともに、前記所定のメインプロセスを実行するときには、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記特定条件を参照することにより前記所定のメインプロセスが前記対象メインプロセスに該当するかどうかを判定し、前記対象メインプロセスに該当すると判定すると、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記識別子を参照することにより前記所定のメインプロセスに対して実行されるサブプロセスを示す前記サブプロセス定義を読み込まれた前記サブプロセス定義から検索し、検索によりヒットすると、ヒットした前記サブプロセス定義の示す前記サブプロセスを前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の実行タイミングで実行するサブプロセス処理部と
を備えたことを特徴とするサブプロセス実行システム。 An identifier indicating a sub-process executed as a part of the main process, a specific condition for specifying a target main process on which the sub-process is executed, and an execution timing of execution of the sub-process in the target main process, An execution condition definition storage for storing subprocess execution condition definitions that define the relationship
A process definition storage unit that stores a main process definition that is a file of the main process and a subprocess definition that is the file of the sub process and includes an identifier indicating the sub process;
Read the main process definition and the sub-process definition stored in the process definition storage unit,
Executing the predetermined main process indicated by the predetermined main process definition according to the specification from the read main process definition, and executing the sub-process stored in the execution condition definition storage unit when executing the predetermined main process It is determined whether or not the predetermined main process corresponds to the target main process by referring to the specific condition of the condition definition, and if it is determined that the predetermined main process corresponds to the target main process, the execution condition definition storage unit stores the determination result. When the subprocess definition indicating the subprocess to be executed for the predetermined main process is searched from the read subprocess definition by referring to the identifier of the subprocess execution condition definition and hit by the search, The subprocess definition hit Subprocess execution system, characterized in that a sub-processing section that executes in the sub-process execution timings of the execution condition definition the subprocess is stored in the execution condition definition storage unit.
前記所定のメインプロセスを実行するときには前記所定のメインプロセスの実行単位ごとに実行状態を更新するとともに、実行状態を更新するごとに前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記特定条件を参照することにより前記所定のメインプロセスが前記対象メインプロセスに該当するかどうかを判定し、前記対象メインプロセスに該当すると判定すると、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義の前記識別子を参照することにより、前記所定のメインプロセスに対して実行されるサブプロセスを示す前記サブプロセス定義を読み込まれた前記サブプロセス定義から検索し、検索によりヒットすると、前記実行条件定義格納部に格納された前記サブプロセス実行条件定義に定義された実行タイミングと更新された前記実行状態とを比較し、比較により同一の場合に、ヒットした前記サブプロセス定義の示す前記サブプロセスを実行することを特徴とする請求項1記載のサブプロセス実行システム。 The sub-process processing unit
When executing the predetermined main process, the execution state is updated for each execution unit of the predetermined main process, and each time the execution state is updated, the sub process execution condition definition stored in the execution condition definition storage unit is updated. It is determined whether the predetermined main process corresponds to the target main process by referring to the specific condition, and if it is determined that the predetermined main process corresponds to the target main process, the sub-process stored in the execution condition definition storage unit By referring to the identifier of the execution condition definition, the subprocess definition indicating the subprocess to be executed for the predetermined main process is searched from the read subprocess definition. Defined in the subprocess execution condition definition stored in the condition definition storage 2. The sub-process execution according to claim 1, wherein the execution timing and the updated execution state are compared, and the sub-process indicated by the hit sub-process definition is executed if they are identical by the comparison. system.
前記メインプロセスのファイルであるメインプロセス定義と、前記サブプロセスのファイルであるととともに前記サブプロセスを示す識別子を含むサブプロセス定義とを格納する処理と、
格納された前記メインプロセス定義と、前記サブプロセス定義とを読み込み、読み込まれた前記メインプロセス定義から指定に従って所定のメインプロセス定義の示す所定のメインプロセスを実行するとともに、前記所定のメインプロセスを実行するときには、前記サブプロセス実行条件定義の前記特定条件を参照することにより前記所定のメインプロセスが前記対象メインプロセスに該当するかどうかを判定し、前記対象メインプロセスに該当すると判定すると、前記サブプロセス実行条件定義の前記識別子を参照することにより、前記所定のメインプロセスに対して実行されるサブプロセスを示す前記サブプロセス定義を読み込まれた前記サブプロセス定義から検索し、検索によりヒットすると、ヒットした前記サブプロセス定義の示す前記サブプロセスを前記サブプロセス実行条件定義に定義されたタイミングで実行する処理と
をコンピュータに実行させることを特徴とするサブプロセス実行プログラム。 An identifier indicating a sub-process executed as a part of the main process, a specific condition for specifying a target main process on which the sub-process is executed, and an execution timing of execution of the sub-process in the target main process, Processing to store the subprocess execution condition definition that defines the relationship between
A process for storing a main process definition that is a file of the main process and a sub-process definition that is the file of the sub-process and includes an identifier indicating the sub-process;
The stored main process definition and the sub-process definition are read, the predetermined main process indicated by the predetermined main process definition is executed according to the designation from the read main process definition, and the predetermined main process is executed. When determining whether the predetermined main process corresponds to the target main process by referring to the specific condition of the sub-process execution condition definition, and determining that the predetermined main process corresponds to the target main process, By referring to the identifier of the execution condition definition, the subprocess definition indicating the subprocess to be executed with respect to the predetermined main process is searched from the read subprocess definition. Indicates the subprocess definition Subprocess execution program for causing to execute a process for performing serial subprocess defined timing to the subprocess execution conditions defined in the computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007296607A JP2009122985A (en) | 2007-11-15 | 2007-11-15 | System and program for sub-process execution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007296607A JP2009122985A (en) | 2007-11-15 | 2007-11-15 | System and program for sub-process execution |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009122985A true JP2009122985A (en) | 2009-06-04 |
Family
ID=40815069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007296607A Pending JP2009122985A (en) | 2007-11-15 | 2007-11-15 | System and program for sub-process execution |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009122985A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012014506A (en) * | 2010-07-01 | 2012-01-19 | Mitsubishi Electric Corp | Process execution apparatus, process execution system, process execution method and program |
KR20120114285A (en) * | 2009-12-04 | 2012-10-16 | 우미코레 아게 운트 코 카게 | A system and method for system automation based on interpreting a tree sequence of operations |
CN112114894A (en) * | 2020-08-14 | 2020-12-22 | 咪咕文化科技有限公司 | Process processing method and device based on Activiti process engine and electronic equipment |
-
2007
- 2007-11-15 JP JP2007296607A patent/JP2009122985A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120114285A (en) * | 2009-12-04 | 2012-10-16 | 우미코레 아게 운트 코 카게 | A system and method for system automation based on interpreting a tree sequence of operations |
KR101717454B1 (en) | 2009-12-04 | 2017-03-27 | 우미코레 아게 운트 코 카게 | A system and method for system automation based on interpreting a tree sequence of operations |
JP2012014506A (en) * | 2010-07-01 | 2012-01-19 | Mitsubishi Electric Corp | Process execution apparatus, process execution system, process execution method and program |
CN112114894A (en) * | 2020-08-14 | 2020-12-22 | 咪咕文化科技有限公司 | Process processing method and device based on Activiti process engine and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2398263C2 (en) | Preview method, system and device | |
US7266807B2 (en) | Method for integration edition of setting file and setting file integration base | |
US6915486B2 (en) | Customizing a graphical user interface of a host application | |
US11062022B1 (en) | Container packaging device | |
US7533277B2 (en) | Operating system shut down | |
US20090064171A1 (en) | Updating workflow nodes in a workflow | |
JP5483116B2 (en) | Maintenance system, maintenance method, and maintenance program | |
JP4151978B2 (en) | Server apparatus, management method, and program | |
MXPA06002683A (en) | Method and system for creating, storing, managing and consuming culture specific data. | |
MX2007011028A (en) | Resource authoring incorporating ontology. | |
JP2004500645A (en) | Visual data storage and retrieval | |
US10140166B2 (en) | Message oriented middleware with integrated rules engine | |
JP2008009861A (en) | System configuration management method | |
JP5106062B2 (en) | File search method, file search device, search system, and file search program | |
JP2009122985A (en) | System and program for sub-process execution | |
US20180007028A1 (en) | Displaying the accessibility of hyperlinked files | |
WO2018103223A1 (en) | Method and device for operating database | |
JP3348430B2 (en) | Automatic environment setting method of preinstalled application and storage medium | |
US20050120352A1 (en) | Meta directory server providing users the ability to customize work-flows | |
JP5910216B2 (en) | Information processing apparatus and information processing program | |
US8311801B2 (en) | Technology for supporting modification of messages displayed by program | |
US20080288501A1 (en) | Integrating Database Functionality with Workload Schedulers | |
US7669200B2 (en) | Resizing an install image | |
JP2006227820A (en) | Program test system and program test method | |
WO2018217406A1 (en) | Providing instant preview of cloud based file |