このページの内容

プロセスマイニング関数

プロセスマイニングに固有の関数です。イベントシーケンスとプロセスフローを分析できます。

プロセスマイニング関数の概要

これらの関数を使うと、ケース内のアクティビティの順序を分析できます。

  • 直後に続く:アクティビティAの直後にアクティビティBが続きます(間にアクティビティはありません)。
  • 後に続く:アクティビティAの後のどこかでアクティビティBが発生します(間に他のアクティビティが入る場合があります)。

よく使うパターン

  • 直後のシーケンスを確認:

    directlyFollowedBy("Submit", "Review")
    // Returns true if Submit → Review with no events between
  • 後続のシーケンスを確認:

    eventuallyFollowedBy("Order Placed", "Order Shipped")
    // Returns true even if there are activities between
  • プロセスの逸脱を検出:

    // Cases where approval was skipped
    eventuallyFollowedBy("Request", "Complete") && 
    not eventuallyFollowedBy("Request", "Approve")
  • 手戻りパターンを特定:

    // Activity repeats immediately (self-loop)
    directlyFollowedBy("Review", "Review")
  • コンプライアンスチェック:

    // Verify mandatory sequence
    if(eventuallyFollowedBy("Create", "Approve"), "Compliant", "Missing Approval")

directlyFollowedBy

(activity1, activity2)

ケース内で、あるアクティビティの直後に別のアクティビティが続くかどうかを確認します。

パラメーター
activity1 string 最初のアクティビティ名
activity2 string 直後に続くアクティビティ
戻り値 ブール値
directlyFollowedBy("Submit", "Review") Submitの直後にReviewが続く場合はtrue
関連項目

eventuallyFollowedBy

(activity1, activity2)

ケース内で、あるアクティビティの後に別のアクティビティが続くかどうかを確認します。

パラメーター
activity1 string 最初のアクティビティ名
activity2 string 後に続くアクティビティ
戻り値 ブール値
eventuallyFollowedBy("Order", "Ship") Orderの後にShipが現れる場合はtrue
注記

2つのアクティビティの間に別のアクティビティがあってもtrueを返します。

関連項目

関連トピック