3.6.8. メッセージ通知設定¶
IM-MessageHub では メッセージ通知設定画面が提供されています。メッセージ通知設定画面については、「 IM-MessageHub プログラミングガイド 」を参照してください。IM-Workflow では、各配信メッセージに対し、メッセージ通知設定はデフォルトでは利用しない設定としています。メッセージ通知設定を有効にする場合、以下の対応を実施してください。以下の設定内容については、「 イベント設定 」を参照してください。
3.6.8.1. 設定方法¶
IM-Juggling で、設定対象のプロジェクト直下に以下の名称・パスでファイルを作成します。
plugin/jp.co.intra_mart.im_workflow.message_hub.Event_8.0.99/plugin.xml 作成したファイルに、以下の内容を記述します。<?xml version="1.0" encoding="UTF-8"?> <plugin> <extension point="jp.co.intra_mart.message_hub.Applications"> <application id="im_workflow_message" name="IM-Workflow" name-key="CAP.Z.IMW.MESSAGE.APPLICATION.NAME" version="8.0.99" rank="50"> <description message-cd="MSG.I.IMW.MESSAGE.APPLICATION.DESCRIPTION">This is the notification setting of IM-Workflow function.</description> </application> </extension> <extension point="jp.co.intra_mart.message_hub.Events"> <!-- 処理依頼 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowProcessRequest" parent-id="im_workflow_message" name="Process Request" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.PROCESS.REQUEST" version="8.0.99" rank="10"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.PROCESS.REQUEST">Process Request</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 処理結果通知 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowProcessResultNotification" parent-id="im_workflow_message" name="Process Result Notification" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.PROCESS.RESULT.NOTIFICATION" version="8.0.99" rank="20"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.PROCESS.RESULT.NOTIFICATION">Process Result Notification</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 参照依頼 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowReferenceRequest" parent-id="im_workflow_message" name="Reference Request" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.REFERENCE.REQUEST" version="8.0.99" rank="30"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.REFERENCE.REQUEST">Reference Request</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 確認依頼 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowConfirmationRequest" parent-id="im_workflow_message" name="Confirmation Request" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.CONFIRMATION.REQUEST" version="8.0.99" rank="40"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.CONFIRMATION.REQUEST">Confirmation Request</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 代理通知 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowDelegationNotification" parent-id="im_workflow_message" name="Delegation Notification" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.DELEGATION.NOTIFICATION" version="8.0.99" rank="50"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.DELEGATION.NOTIFICATION">Delegation Notification</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 振替通知 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowTransferNotification" parent-id="im_workflow_message" name="Transfer Notification" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.TRANSFER.NOTIFICATION" version="8.0.99" rank="60"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.TRANSFER.NOTIFICATION">Transfer Notification</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 自動催促 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowAutomaticReminder" parent-id="im_workflow_message" name="Automatic Reminder" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.AUTOMATIC.REMINDER" version="8.0.99" rank="70"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.AUTOMATIC.REMINDER">Automatic Reminder</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 根回し --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowNegotiation" parent-id="im_workflow_message" name="Negotiation" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.NEGOTIATION" version="8.0.99" rank="80"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.NEGOTIATION">Negotiation</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> <!-- 処理対象者変更通知 --> <event id="jp.co.intra_mart.system.workflow.message_hub.event.WorkflowProcessTargetChangeNotification" parent-id="im_workflow_message" name="Process Target Change Notification" name-key="CAP.Z.IMW.MESSAGE.EVENT.NAME.PROCESS.TARGET.CHANGE.NOTIFICATION" version="8.0.99" rank="90"> <description message-cd="MSG.I.IMW.MESSAGE.EVENT.DESCRIPTION.PROCESS.TARGET.CHANGE.NOTIFICATION">Process Target Change Notification</description> <display-setting visible="true" initial-check-state="checked" allow-user-settings="true" /> </event> </extension> </plugin>