OutSystems Forge 日本語データベース

BPT_HSLA

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2015-03-12 1.0.0 Rui Barbosa 9.0.0.19 All All How-tos
BPTの使い方 - ヒューマンアクティビティが期日になると終了します。
このパターンを使用して、人間の活動期限日が経過したときにアクションをトリガーすることができます。 この例では、各ヒューマン・アクティビティーが期限切れのプロパティーに自分のWaitForTimeOutを渡してインスタンス化することがわかります。 どのヒューマンアクティビティがどのタイムアウトに関連しているかを追跡するために、両方のアクティビティIDを持つ単純なテーブルが存在します。 ヒューマンアクティビティが正常に終了すると、それはWaitForTimeOutを閉じます。 期日が経過すると、WaitForTimeOutのタイムアウトがトリガされ、ヒューマンアクティビティが終了し、パラメータIsTimeOutがtrueに設定されます。 OnCloseイベントにいくつかのログインが追加され、アクティビティが既に閉じられているかどうかがチェックされ、クリーンアップが行われます。 この例では、WaitForTimeOutビヘイビアー修飾子もあり、期限に達すると一次承認者のヒューマン・タスクは終了しますが、二次承認者がタイムアウトするとNotifySomeOneアクションがトリガーされます。

[Overview]
How To - BPT - Human Activity Close when due date is reached
[Detail]
You can use this pattern to trigger an action when the human activity due date has elapsed. In this example you can see that each of the human activities instanciate their own WaitForTimeOut passing their due date to the time out property. In order to keep track of which human activity relates to which time out there is a simple table with both activity id's. If a human activity is closed normaly it then closes the WaitForTimeOut. If the due date elapses, the time out on the WaitForTimeOut is triggered signaling the human activity to close and passing a parameter IsTimeOut set to true. There is some added login in the OnClose events to check if the activities are already closed and do some clean up. In this example there is also a WaitForTimeOut behaviour modifier, the primary approver human task should close once the due date is reached, but if the Secondary Approver times out then the NotifySomeOne Action is triggered.
戻る