Hi guys,
I am currently developing a new connector for Data Synchronizer and I have some problems with it. I would like to process e-mail messages only when they are moved to a specific folder (e.g., a folder 'To be processed' in an user's inbox). When mail messages are moved to this folder, I would like my connector to process these messages. Messages that are added to other folders should be ignored.
How can I achieve this work flow? I can subscribe to every e-mail message that arrives, and by doing so I get a notification when a message is moved to another folder, but the problem with this approach is that I don't receive the original details (subject, content, etc.) of the original message in the move event. I only get the content of a message when it is received the first time, it seems.
This implies that I either have to store the contents of every e-mail that is ever received (for every user), regardless of whether it should be processed or not. I'm afraid that this approach would consume way too much storage.
Another approach I was thinking of was to subscribe to every AddMail event and to request the contents of the e-mail item when I get the notification that a message is moved. I was thinking to send a direct query to the GroupWise connector in combination with getItemRequest, but it turned out that I get an error from GroupWise because the itemID of the message is invalid (specifically, it is missing the part after '@' - for instance, the ID returned by the datasync event is '48F60187.domain1.po1.100.16A6163.1.138B.1' while the GroupWise SOAP interface is expecting something like '48F60187.domain1.po1.100.16A6163.1.138B.1@1:7.dom ain1.po1.100.0.1.0.1@16'). This means that this approach is not usable, although I might be overlooking some methods or other documentation.
My primary question is how I can achieve the functionality described above: I want to get the complete content of an e-mail message only when it is moved to a specific folder, without storing the contents of _all_ messages. Is this possible with standard Data Synchronizer functionality? As an additional question, I am wondering how I can use the direct query functionality offered by Data Synchronizer and the GroupWise connector. How can I translate the objectID to an usable ID which the GroupWise connector can handle?
Thanks in advance!
Geert
I am currently developing a new connector for Data Synchronizer and I have some problems with it. I would like to process e-mail messages only when they are moved to a specific folder (e.g., a folder 'To be processed' in an user's inbox). When mail messages are moved to this folder, I would like my connector to process these messages. Messages that are added to other folders should be ignored.
How can I achieve this work flow? I can subscribe to every e-mail message that arrives, and by doing so I get a notification when a message is moved to another folder, but the problem with this approach is that I don't receive the original details (subject, content, etc.) of the original message in the move event. I only get the content of a message when it is received the first time, it seems.
This implies that I either have to store the contents of every e-mail that is ever received (for every user), regardless of whether it should be processed or not. I'm afraid that this approach would consume way too much storage.
Another approach I was thinking of was to subscribe to every AddMail event and to request the contents of the e-mail item when I get the notification that a message is moved. I was thinking to send a direct query to the GroupWise connector in combination with getItemRequest, but it turned out that I get an error from GroupWise because the itemID of the message is invalid (specifically, it is missing the part after '@' - for instance, the ID returned by the datasync event is '48F60187.domain1.po1.100.16A6163.1.138B.1' while the GroupWise SOAP interface is expecting something like '48F60187.domain1.po1.100.16A6163.1.138B.1@1:7.dom ain1.po1.100.0.1.0.1@16'). This means that this approach is not usable, although I might be overlooking some methods or other documentation.
My primary question is how I can achieve the functionality described above: I want to get the complete content of an e-mail message only when it is moved to a specific folder, without storing the contents of _all_ messages. Is this possible with standard Data Synchronizer functionality? As an additional question, I am wondering how I can use the direct query functionality offered by Data Synchronizer and the GroupWise connector. How can I translate the objectID to an usable ID which the GroupWise connector can handle?
Thanks in advance!
Geert