[FlexResponse] Getting recipients from incident

I need a solution

Hello,

For couple days I was struggling with getting recipients out of DLP Incident. I managed to somehow access this collection, but I get “exception: NullPointerException ” at the end.

ContentItem contentItem = incident.getContentItem();
ExchangeItem exchangeItem = (ExchangeItem)contentItem;

And then for example in order to get atleast one recipients as a string:

String recipient = exchangeItem.getRecipients().iterator().next();

I just need to pull all recipients from the incident, but I get only null or i can’t get my plugin to work. I tried to follow example scripts and docs, but it doesn’t explain this specific case. I’ve seen some posts about it on the forums, but didn’t manage to find any solution here.

Please if someone can post here some example showing how to pull recipients, I would be really happy!

Cheers!

0

1571653404

Related:

  • No Related Posts

7005431: How to Remove a DSfW server, Domain, and Forest

  • Remove the aux class “domainDNS” and “xadFlags” (depending on the patch level “xad-Domain-Flag” might be present instead of “xadFlags”) from the domain partition root. Since domainDNS and xadFlags are aux classes, to remove them go to the extensions of the object.

    For Console One right click on the container, select extensions of this object, select the domainDNS aux class and click remove Extension. Do the same for xadFlags.

    For iManager click the Schema role, Object Extensions task, browse to the container, select the domainDNS aux class and click remove. Do the same for xadFlags. Note: xadFlags is new starting OES2sp3.

  • Related:

    • No Related Posts

    question about Function change life cycle State in Properties page

    Function change life cycle State in Properties page

    When we search for documents using the “search template” and click the Get Info icon for an object, its properties and system properties appear on the Properties page, In Workplace provides the capability to change “Life Cycle State”. On other hand WorkplaceXT not provides this function, Would it be possible to provides the capability for change “Life Cycle State” in WorkplaceXT?

    ![alt text][1]

    ![alt text][2]

    [1]: /answers/storage/temp/19302-download.png
    [2]: /answers/storage/temp/19304-download1.png

    Related:

    Multiple Contexts in MDM Engine

    **This question applies to MDM Standard Edition version 10.1**

    I have custom program that does memput interaction. In the program I create a pool of Context objects (madison.mpi.Context). Each Context object in the context pool connects to the same engine instance.

    After the context objects are created I noticed that the first Context object created has the list of Implementation Defined Segments (IDS) in field **m_metaCtx.m_segDefTab**. But the remaining Context objects (second, third and so forth) do not have the IDS values in the above collection.

    Is this behaviour by design or is there a bug when instantiating multiple Context objects.

    Related:

    Reservation objects/documents throw error in all version search in ICN

    While searching all version documents, it throws error as ReservationType property is not available in property collections for reserved objects. It happens with normal user. admin user doesn’t get the error.
    We have “change pre processor” created for document class. Object store has “exclusive” checkout defined. Here is the link referred, https://www.ibm.com/support/knowledgecenter/en/SSNW2F_5.2.0/com.ibm.p8.ce.dev.ce.doc/changepreprocessor_concepts.htm
    which mentions —->A side effect of a checkout on a current version is that a reservation object gets passed as a source object. In this case, the properties collection passed to the preprocessor includes any reservation properties submitted with the action, plus any copy-to-reservation properties from the originating source object. Therefore, a property definition with a CopytoReservation property set to false prevents a property instance from being copied to a reservation object’s collection.

    Related:

    Re: D2 Object Limit within Folder or Cabinet

    Hello OpenText Community.

    I have a question regarding the D2 Browsing limit for Objects within 1 folder. Initially the limitation set in D2FS.PROPERTIES was 1000.

    We ran into a situation where our Security Tester ran a program that generated more than 1000 objects within a container.

    The result was that no new object was accessible or searchable within D2, since Objects were ordered by name and a counter, the NEWEST object would be last, and inaccessible through the cabinet structure, UNTIL we increased the limit set within the properties to 2000.

    It seems very counter intuitive for an enterprise platform to limit the # of objects that are accessible within a container.

    What is the TRUE object count limit?

    At what # is the functionality of the application impacted?

    Related:

    D2 Object Limit within Folder or Cabinet

    Hello OpenText Community.

    I have a question regarding the D2 Browsing limit for Objects within 1 folder. Initially the limitation set in D2FS.PROPERTIES was 1000.

    We ran into a situation where our Security Tester ran a program that generated more than 1000 objects within a container.

    The result was that no new object was accessible or searchable within D2, since Objects were ordered by name and a counter, the NEWEST object would be last, and inaccessible through the cabinet structure, UNTIL we increased the limit set within the properties to 2000.

    It seems very counter intuitive for an enterprise platform to limit the # of objects that are accessible within a container.

    What is the TRUE object count limit?

    At what # is the functionality of the application impacted?

    Related: