2.7.3 BPMN定義一覧ファイルの詳細
BPMN定義一覧ファイルの詳細を次に示します。
(1) BPMN定義一覧ファイルの記述形式
BPMN定義一覧ファイルの記述形式を次に示します。
-
プロパティの値は「列」,BPMN要素または定義種別ごとの値は「行」に記述されます。
-
1 行目にはヘッダ情報が記述され,2 行目以降には各ヘッダ情報に対応するプロパティの値が記述されます。
-
データの区切りはコンマです。
-
値はすべて,半角ダブルクォーテーション「"」で囲まれます。ただし,プロパティの値が未設定,または空文字列が設定されている場合には,そのプロパティについては何も記述されません。
また,プロパティの値の中に半角ダブルクォーテーション「"」が含まれる場合は,プロパティの値の中の「"」の直前に「"」が1つ付加されて,「""」となります。
-
改行コードは「CRLF」です。
-
文字コードはUTF-8です。
- ヒント
-
BPMN定義一覧ファイルをExcelで開いた場合,文字コードがUTF-8であってもS-JISとして認識されます。この状態でExcelで編集作業をすると,BPMN定義一覧ファイル中にUTF-8とS-JISの文字コードが混在します。 ExcelでBPMN定義一覧ファイルの文字コードUTF-8としてを開く方法の例を次に示します。
[データ]-[データの取得と変換]グループの[テキストまたはCSVから]で「Unicode (UTF-8)」を指定
BPMN定義一覧ファイルの記述例を次に示します。この例では,「"""スタートイベント""です"」は,プロパティ値が「"スタートイベント"です」であることを表しています。
"Id","Type","Name","Documentation","Default flow","MessageRef","OperationRef","ErrorRef", … "pool1","Pool","プール1","プール1です",,,,, … "lane1","Lane","レーン1","レーン1です",,,,, … "UTask1","UserTask","ユーザタスク1","ユーザタスク1です",,,,, … "STask1","ServiceTask","サービスタスク1","サービスタスク1です","flow1",,"ope1",, … "STask2","ServiceTask","サービスタスク2","サービスタスク2です",,,"ope2",, … "Start1","TopLevelStart","スタート","""スタートイベント""です",,,,, …
(2) BPMN定義一覧ファイルのプロパティ値
BPMN定義一覧ファイルのプロパティ値は,BPMNエディタのタブで設定できる値です。BPMN定義一覧ファイルのプロパティ値は,ここで示す記述形式でエクスポートされます。
BPMN定義一覧ファイルのプロパティ値の記述形式,およびプロパティ値を設定できるタブを次に示します。なお,BPMN定義一覧ファイルの見出し行には,次の表のプロパティ名が記述されます。
プロパティ名 |
プロパティ値の記述形式 |
設定できるタブ |
---|---|---|
Id |
文字列 |
|
Type |
文字列 BPMN要素または定義種別ごとのType列の値については,「表2‒5 BPMN要素または定義種別ごとのプロパティ値とType列の値およびプロパティを設定できるタブの関係」を参照してください。 |
― |
Name |
文字列 |
|
Documentation |
文字列 |
|
Default flow |
文字列 |
General |
Message ref |
文字列 |
Main config |
Operation ref |
文字列 |
Main config |
Error ref |
文字列 |
Main config |
Called element |
文字列 |
Main config |
Text |
文字列 |
Main config |
Condition |
文字列 |
Main config |
LinkEventDefinition name |
文字列 |
Main config |
ErrorCode |
文字列 |
Errors |
Sequential |
Boolean 次のどちらかの文字列になります。
|
Multi instance |
Loop cardinality |
文字列 |
Multi instance |
Completion condition |
文字列 |
|
Ordering |
次のどちらかの文字列になります。
|
Main config |
Cancel remaining instances |
Boolean 次のどちらかの文字列になります。
|
Main config |
Timer Definition Type |
BPMNエディタ上でのタイマールールの設定によって,次のどれかの文字列になります。
BPMNエディタ上でタイマールールが設定されていない場合は空になります。 |
TimerDefinition |
Fixed date and time |
次の形式の文字列です。※ yyyy-MM-ddThh:mm:00 BPMNエディタ上でタイマールールが設定されていない場合,または「Fixed date and time」以外を指定している場合は空になります。 BPMNエディタで指定する場合は,秒フィールドは「00」固定です。 |
TimerDefinition |
Duration |
次のどれかの形式の文字列です。※
BPMNエディタ上でタイマールールが設定されていない場合,または「Duration」以外を指定している場合は空になります。 |
TimerDefinitionx |
Periodic date and time |
次の形式の文字列です。※ *-M-dTh:m BPMNエディタ上でタイマールールが設定されていない場合,または「Periodic date and time」以外を指定している場合は空になります。 |
TimerDefinition |
Number of executions |
Boolean
BPMNエディタ上でタイマールールが設定されていない場合,または「Fixed date and time」が指定されている場合は空になります。 |
TimerDefinition |
Specify the number of executions |
1~9999の整数です。 BPMNエディタ上でタイマールールが設定されていない場合,「Fixed date and time」が指定されている場合,または[Specify the number of executions]ラジオボタンが選択されていない場合は空になります。 |
TimerDefinition |
Use the process data |
Boolean
|
|
Process data key name |
文字列 BPMNエディタ上で,[TimerDefinition]タブの[Use the process data as the timer rule]ラジオボタン,または[Participant]タブの[Use the process data as the participant]ラジオボタンが選択されていない場合は空になります。 |
|
- (凡例)
-
−:該当なし
- 注※
-
文字列の形式については,「1.4.3 タイマーイベントのタイマールール動的変更」を参照してください。
BPMN要素または定義種別ごとに,エクスポートされるプロパティ値とそのときにType列に出力される値,およびプロパティ値を設定できるタブについて次に示します。
カテゴリ |
BPMN要素・定義種別 |
Type列の値 |
設定できるタブ |
プロパティ値 |
---|---|---|---|---|
イベント |
開始(タイプなし) |
Top-LevelStart |
General |
|
Documentation |
Documentation |
|||
開始(メッセージ) |
Top-LevelMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
イベント・サブプロセス非中断開始(メッセージ) ※1 |
EvSub-Non-InterruptingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
イベント・サブプロセス中断開始(メッセージ) ※1 |
EvSub-InterruptingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
イベント・サブプロセス中断開始(エラー) |
EvSub-InterruptingError |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Error ref |
|||
開始(タイマー) |
Top-LevelTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
イベント・サブプロセス非中断開始(タイマー) ※1 |
EvSub-Non-InterruptingTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
イベント・サブプロセス中断開始(タイマー) ※1 |
EvSub-InterruptingTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
キャッチ(メッセージ) |
CatchingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
キャッチ(リンク) |
CatchingLink |
General |
|
|
Documentation |
Documentation |
|||
Main config |
LinkEventDefinition name |
|||
キャッチ(タイマー) |
CatchingTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
スロー(メッセージ) |
ThrowingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
スロー(リンク) |
ThrowingLink |
General |
|
|
Documentation |
Documentation |
|||
Main config |
LinkEventDefinition name |
|||
境界非中断(メッセージ) ※2 |
BoundEv-Non-InterruptingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
境界中断(メッセージ) ※2 |
BoundEv-InterruptingMessage |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
境界中断(エラー) |
BoundEv-InterruptingError |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Error ref |
|||
境界非中断(タイマー) ※2 |
BoundEv-Non-InterruptingTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
境界中断(タイマー) ※2 |
BoundEv-InterruptingTimer |
General |
|
|
Documentation |
Documentation |
|||
Timer Definition |
|
|||
終了(タイプなし) |
EndEvent-None |
General |
|
|
Documentation |
Documentation |
|||
終了(メッセージ) |
EndEvent-Message |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Message ref |
|||
終了(エラー) |
EndEvent-Error |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Error ref |
|||
強制終了 |
EndEvent-Terminate |
General |
|
|
Documentation |
Documentation |
|||
アクティビティ |
ユーザタスク |
UserTask |
General |
|
Documentation |
Documentation |
|||
Multi instance |
|
|||
Participant |
|
|||
サービスタスク |
ServiceTask |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Operation ref |
|||
Multi instance |
|
|||
ビジネスルールタスク |
BusinessRuleTask |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Operation ref |
|||
Multi instance |
|
|||
コールアクティビティ |
CallActivity-Collapsed |
General |
|
|
Documentation |
Documentation |
|||
Main config |
Called element |
|||
Multi instance |
|
|||
ゲートウェイ |
並列ゲートウェイ |
ParallelGateway |
General |
|
Documentation |
Documentation |
|||
排他ゲートウェイ |
ExclusiveGateway |
General |
|
|
Documentation |
Documentation |
|||
排他イベントゲートウェイ |
Event-BasedGateway |
General |
|
|
Documentation |
Documentation |
|||
接続オブジェクト |
シーケンスフロー |
SequenceFlow |
General |
|
Documentation |
Documentation |
|||
Main config |
Condition |
|||
デフォルトシーケンスフロー |
DefaultSequenceFlow |
General |
|
|
Documentation |
Documentation |
|||
メッセージフロー |
MessageFlow |
General |
|
|
関連 |
Association |
General |
Id |
|
データの関連 |
DataAssociation |
General |
|
|
Documentation |
Documentation |
|||
データ |
データオブジェクト |
DataObject |
General |
|
Documentation |
Documentation |
|||
データストア |
DataStore |
General |
|
|
Documentation |
Documentation |
|||
コンテナ |
プール |
Pool |
General |
|
レーン |
Lane |
General |
|
|
サブプロセス※3 |
SubProcess |
General |
|
|
Documentation |
Documentation |
|||
Multi instance |
|
|||
イベント・サブプロセス |
EventSubProcess |
General |
|
|
Documentation |
Documentation |
|||
アドホック・サブプロセス ※4 |
AdHocSubProcess |
General |
|
|
Documentation |
Documentation |
|||
Main config |
|
|||
その他 |
テキスト注釈 |
TextAnnotation |
General |
Id |
Main config |
Text |
|||
グループ |
Group |
General |
|
|
Documentation |
Documentation |
|||
プロセス |
Process |
Process |
|
|
メッセージ定義 |
MessageDefinitions |
Messages |
|
|
エラー定義 |
ErrorDefinitions |
Errors |
|
- 注※1
-
Type列の値は,isInterruptingプロパティの値によって変わり,isInterruptingプロパティの値がtrueの場合は中断イベント,falseの場合は非中断イベントとして出力されます。なお,isInterruptingはBPMN定義一覧ファイルには出力されません。
- 注※2
-
Type列の値は,Cancel activityプロパティの値によって変わり,Cancel activityプロパティの値がtrueの場合は中断イベント,falseの場合は非中断イベントとして出力されます。なお,Cancel activityはBPMN定義一覧ファイルには出力されません。
- 注※3
-
展開されたサブプロセスと折りたたまれたサブプロセスは区別しません。
- 注※4
-
展開されたアドホック・サブプロセスと折りたたまれたアドホック・サブプロセスは区別しません。