EmailDeleteRelation

Description

This activity allow to delete a relation between an Email and a Profile. It returns a boolean value that indicates whether the activity removed or not a 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). Using this activity it is possible to delete those no longer needed.

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 ExternalId of the Email to be related.

MailId InArgument<Guid>

The Id of the Email to be related.


Misc


Profile

ObjectId InArgument<Guid>

The ObjectId of the Profile to be related.


Settigns

ThrowIfEmailAndProfileAreNotRelated InArgument<Boolean>

The default value is TRUE. Set this argument to FALSE to return the default, instead of throwing an exception, if the activity is unable to delete the relation because the email and profile are not related.


Settings

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.