EmailAddRelation

Description

This activity allow to add a relation between an Email and a Profile. The result is the ID of the new relation.

It is possible to relate an email and a profile if they have a connection of any kind. It is useful to create this type of relationship in order to improve the search possibilities. In fact, it is possible to search for all the emails related to a profile (activity GetEmailsRelatedToProfile) and vice versa (activity GetProfilesRelatedToEmail).

DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Email

MailExternalId InArgument<String>

The Id of the email to be related.

MailId InArgument<Guid>

The Id of the email to be related.


Misc

Result OutArgument<Guid>


Profile

ObjectId InArgument<Guid>

The ObjectId of the profile to be related.


Settigns

ThrowIfEmailOrProfileNotFound InArgument<Boolean>

The default value is TRUE. Set this argument to FALSE to return the default instead of throwing an exception if the email or profile does not exist.

ThrowIfRelationAlreadyExists InArgument<Boolean>

The default value is TRUE. Set this argument to FALSE to return the default instead of throwing an exception if the email and profile are already related.