Skip to content
Snippets Groups Projects
Commit b4143179 authored by Christoph Manhart's avatar Christoph Manhart
Browse files

[Projekt: xRM-ContactManagement][TicketNr.: 1078253][Mailbridge setzt...

[Projekt: xRM-ContactManagement][TicketNr.: 1078253][Mailbridge setzt Verantwortlichen in Aktivität nicht]
parent a9447ec3
No related branches found
No related tags found
No related merge requests found
......@@ -198,10 +198,10 @@ IncomingEmailExecutor.prototype.createActivity = function(pAdditionalLinks)
directionKeywordId: this.activityData.direction || this.failbackActivityData.direction
};
if (vars.get("$sys.isclient")){
if (vars.get("$sys.isclient") == "true"){
activityDataForInsert.responsibleContactId = EmployeeUtils.getCurrentContactId();
} else {
activityDataForInsert.responsibleContactId = this.activityData.employeeContactId || this.failbackActivityData.employeeContactId;
activityDataForInsert.responsibleContactId = this.activityData.employeeContactId ? this.activityData.employeeContactId : this.failbackActivityData.employeeContactId;
}
var activityLinks = this.activityData.links || this.failbackActivityData.links;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment