Learning Objectives #
After completing this unit, you’ll be able to:
- Describe what MsgTypeRel is .
- Comfortably use How to create Trigger on MsgTypeRel?
Introduction #
Skyvva provide message type feature to create Istructure repository using differnt file format. The purpose of Message Type Relationship concept is that we can use a message type in our repository from other repository if it has defined there. So we don’t need to create it again because it would be redundant if you create it again.
What is Message Type Relationship? #
Message Type Relationship is nothing but a junction table to Model the reuse case of message type. This a reuse of the same message type so that you don’t create it again and again.
Configuration of Message Type Relationship #
1. Link one(A) Message Type with another Message Type(B).
2. Link one(C) Message Type with same Message Type(C).
3. Link second (B) Message Type with previous Message Type(A).
Link one(A) Message Type with another Message Type(B). #
When we link one(A) Message Type with another Message Type(B) then new message type relation should create.
Follow the Steps to Link one (A) Message Type with another Message Type(B).
- We have to create metadata provider.
- Create Istructure Repository
- Create MessageType A and B
- Go to MessageType A detail -> Click on New MsgTypeRel -> Search on Message Type Referenced = “A”-> Click on Save button
Link one(C) Message Type with same Message Type(C). #
When we Link one(C) Message Type with same Message Type(C) then It will show alert error message” Duplicated Message Type relationship”
Follow the steps to one(C) Message Type with same Message Type(C).
- Create MessageType C
- Go to Message Type C Detail -> Click on New MsgTypeRel -> Search on Message Type Referenced =”C” -> Click on Save button
Link second (B) Message Type with previous Message Type(A). #
When we Link second (B) Message Type with previous Message Type(A) then it will show alert error message “This Message Type Relationship is already existed”.
Follow the steps to Link second (B) Message Type with previous Message Type(A).
- Go to MessageType A Detail -> MsgTypeRels(Message Type Referenced)
- Click on New MsgTypeRel -> Search on Message Type Reference= “B” -> Click on Save button