Hitachi

uCosminexus Service Coordinator Interactive Workflow BPMN連携機能 使用の手引


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定義一覧ファイルの見出し行には,次の表のプロパティ名が記述されます。

表2‒2 プロパティ名とプロパティ値の記述形式および設定できるタブ

プロパティ名

プロパティ値の記述形式

設定できるタブ

Id

文字列

  • General

  • Process

  • Messages

  • Errors

Type

文字列

BPMN要素または定義種別ごとのType列の値については,「表2‒3 BPMN要素または定義種別ごとのプロパティ値とType列の値およびプロパティを設定できるタブの関係」を参照してください。

Name

文字列

  • General

  • Process

  • Messages

  • Errors

Documentation

文字列

  • Documentation

  • Process

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

次のどちらかの文字列になります。

  • true

  • false

Multi instance

Loop cardinality

文字列

Multi instance

Completion condition

文字列

  • Main config

  • Multi instance

Ordering

次のどちらかの文字列になります。

  • Parallel

  • Sequential

Main config

Cancel remaining instances

Boolean

次のどちらかの文字列になります。

  • true

  • false

Main config

Timer Definition Type

BPMNエディタ上でのタイマールールの設定によって,次のどれかの文字列になります。

  • Fixed date and time

    タイマールールの設定が「Fixed date and time」の場合

  • Duration

    タイマールールの設定が「Duration」の場合

  • Periodic date and time

    タイマールールの設定が「Periodic date and time」の場合

BPMNエディタ上でタイマールールが設定されていない場合は空になります。

TimerDefinition

Fixed date and time

次の形式の文字列です。

yyyy-MM-ddThh:mm:00

BPMNエディタ上でタイマールールが設定されていない場合,または「Fixed date and time」以外を指定している場合は空になります。

BPMNエディタで指定する場合は,秒フィールドは「00」固定です。

TimerDefinition

Duration

次のどれかの形式の文字列です。

  • PnyY

  • PnmM

  • PndD

  • PTnhH

  • PTnmiM

BPMNエディタ上でタイマールールが設定されていない場合,または「Duration」以外を指定している場合は空になります。

TimerDefinitionx

Periodic date and time

次の形式の文字列です。

*-M-dTh:m

BPMNエディタ上でタイマールールが設定されていない場合,または「Periodic date and time」以外を指定している場合は空になります。

TimerDefinition

Number of executions

Boolean

  • true

    BPMNエディタ上で[Specify the number of executions]ラジオボタンが選択されている場合

  • false

    BPMNエディタ上で[Specify the number of executions]ラジオボタンが選択されていない場合

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

[TimerDefinition]タブの場合
  • true

    BPMNエディタ上で[Use the process data as the timer rule]チェックボックスがチェックされているとき

  • false

    BPMNエディタ上で[Use the process data as the timer rule]チェックボックスがチェックされていないとき

BPMNエディタ上でタイマールールが設定されていない場合,空になります。

[Participant]タブの場合
  • true

    BPMNエディタ上で[Use the process data as the participant]チェックボックスがチェックされているとき

  • false

    BPMNエディタ上で[Use the process data as the participant]チェックボックスがチェックされていないとき

BPMNエディタ上でユーザタスクが設定されていない場合,空になります。

  • TimerDefinition

  • Participant

Process data key name

文字列

BPMNエディタ上で,[TimerDefinition]タブの[Use the process data as the timer rule]ラジオボタン,または[Participant]タブの[Use the process data as the participant]ラジオボタンが選択されていない場合は空になります。

  • TimerDefinition

  • Participant

(凡例)

−:該当なし

注※

文字列の形式については,「1.4.3 タイマーイベントのタイマールール動的変更」を参照してください。

BPMN要素または定義種別ごとに,エクスポートされるプロパティ値とそのときにType列に出力される値,およびプロパティ値を設定できるタブについて次に示します。

表2‒3 BPMN要素または定義種別ごとのプロパティ値とType列の値およびプロパティを設定できるタブの関係

カテゴリ

BPMN要素・定義種別

Type列の値

設定できるタブ

プロパティ値

イベント

開始(タイプなし)

Top-LevelStart

General

  • Id

  • Name

Documentation

Documentation

開始(メッセージ)

Top-LevelMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

イベント・サブプロセス非中断開始(メッセージ) ※1

EvSub-Non-InterruptingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

イベント・サブプロセス中断開始(メッセージ) ※1

EvSub-InterruptingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

イベント・サブプロセス中断開始(エラー)

EvSub-InterruptingError

General

  • Id

  • Name

Documentation

Documentation

Main config

Error ref

開始(タイマー)

Top-LevelTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

イベント・サブプロセス非中断開始(タイマー) ※1

EvSub-Non-InterruptingTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

イベント・サブプロセス中断開始(タイマー) ※1

EvSub-InterruptingTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

キャッチ(メッセージ)

CatchingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

キャッチ(リンク)

CatchingLink

General

  • Id

  • Name

Documentation

Documentation

Main config

LinkEventDefinition name

キャッチ(タイマー)

CatchingTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

スロー(メッセージ)

ThrowingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

スロー(リンク)

ThrowingLink

General

  • Id

  • Name

Documentation

Documentation

Main config

LinkEventDefinition name

境界非中断(メッセージ) ※2

BoundEv-Non-InterruptingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

境界中断(メッセージ) ※2

BoundEv-InterruptingMessage

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

境界中断(エラー)

BoundEv-InterruptingError

General

  • Id

  • Name

Documentation

Documentation

Main config

Error ref

境界非中断(タイマー) ※2

BoundEv-Non-InterruptingTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

境界中断(タイマー) ※2

BoundEv-InterruptingTimer

General

  • Id

  • Name

Documentation

Documentation

Timer Definition

  • Timer Definition Type

  • Fixed date and time

  • Duration

  • Periodic date and time

  • Number of executions

  • Specify the number of executions

  • Use the process data as the timer rule

  • Process data key name

終了(タイプなし)

EndEvent-None

General

  • Id

  • Name

Documentation

Documentation

終了(メッセージ)

EndEvent-Message

General

  • Id

  • Name

Documentation

Documentation

Main config

Message ref

終了(エラー)

EndEvent-Error

General

  • Id

  • Name

Documentation

Documentation

Main config

Error ref

強制終了

EndEvent-Terminate

General

  • Id

  • Name

Documentation

Documentation

アクティビティ

ユーザタスク

UserTask

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Multi instance

  • Sequential

  • Loop cardinality

  • Completion condition

Participant

  • Use the process data as the participant

  • Process data key name

サービスタスク

ServiceTask

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Main config

Operation ref

Multi instance

  • Sequential

  • Loop cardinality

  • Completion condition

ビジネスルールタスク

BusinessRuleTask

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Main config

Operation ref

Multi instance

  • Sequential

  • Loop cardinality

  • Completion condition

コールアクティビティ

CallActivity-Collapsed

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Main config

Called element

Multi instance

  • Sequential

  • Loop cardinality

  • Completion condition

ゲートウェイ

並列ゲートウェイ

ParallelGateway

General

  • Id

  • Name

Documentation

Documentation

排他ゲートウェイ

ExclusiveGateway

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

排他イベントゲートウェイ

Event-BasedGateway

General

  • Id

  • Name

Documentation

Documentation

接続オブジェクト

シーケンスフロー

SequenceFlow

General

  • Id

  • Name

Documentation

Documentation

Main config

Condition

デフォルトシーケンスフロー

DefaultSequenceFlow

General

  • Id

  • Name

Documentation

Documentation

メッセージフロー

MessageFlow

General

  • Id

  • Name

関連

Association

General

Id

データの関連

DataAssociation

General

  • Id

  • Name

Documentation

Documentation

データ

データオブジェクト

DataObject

General

  • Id

  • Name

Documentation

Documentation

データストア

DataStore

General

  • Id

  • Name

Documentation

Documentation

コンテナ

プール

Pool

General

  • Id

  • Name

レーン

Lane

General

  • Id

  • Name

サブプロセス※3

SubProcess

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Multi instance

  • Sequential

  • Loop cardinality

  • Completion condition

イベント・サブプロセス

EventSubProcess

General

  • Id

  • Name

Documentation

Documentation

アドホック・サブプロセス ※4

AdHocSubProcess

General

  • Id

  • Name

  • Default flow

Documentation

Documentation

Main config

  • Completion condition

  • Ordering

  • Cancel remaining instances

その他

テキスト注釈

TextAnnotation

General

Id

Main config

Text

グループ

Group

General

  • Id

  • Name

Documentation

Documentation

プロセス

Process

Process

  • Id

  • Name

  • Documentation

メッセージ定義

MessageDefinitions

Messages

  • Id

  • Name

エラー定義

ErrorDefinitions

Errors

  • Id

  • Name

  • ErrorCode

注※1

Type列の値は,isInterruptingプロパティの値によって変わり,isInterruptingプロパティの値がtrueの場合は中断イベント,falseの場合は非中断イベントとして出力されます。なお,isInterruptingはBPMN定義一覧ファイルには出力されません。

注※2

Type列の値は,Cancel activityプロパティの値によって変わり,Cancel activityプロパティの値がtrueの場合は中断イベント,falseの場合は非中断イベントとして出力されます。なお,Cancel activityはBPMN定義一覧ファイルには出力されません。

注※3

展開されたサブプロセスと折りたたまれたサブプロセスは区別しません。

注※4

展開されたアドホック・サブプロセスと折りたたまれたアドホック・サブプロセスは区別しません。