Hey community,
I've created a business process that puts the email in a contact object in lowercase. There are 2 signals, one when a contact is created and one when an email is updated.
When any user creates a contact, the business process runs and puts the email in lowercase.
If someone other than me updates an email, for unknown reasons, the business process don't run. If I am the one updating the email, the business process runs.
I've created many business processes and this is the only one that does that.
This is not a problem in the business process itself, as it works fine when I update an email.
The launch rights are the same as for all my other business processes.
I have admin rights on Creatio (I don't use the supervisor account, I have my own account with admin rights). Even if another admin updates the email address of a contact, the business process don't run.
Do you have any clues as to what is happening, why it is happening and how I can solve this problem?
Please feel free to ask for more details or screenshots if necessary.
EDIT :
I'm trying to update the email by editing the ContactPageV2 and the ContactMiniPageV2 directly. Here is my code but I can'tt find a way to make it work..
define("ContactPageV2", ["MultiChoiceMixin", "css!ClientUnit_MTF_ContactCustomCSS"], function() {
return {
entitySchemaName: "Contact",
attributes: {
"UsrInterests": {
"dataValueType": Terrasoft.DataValueType.LOOKUP
},
"Email": {
dependencies: [{
columns: [],
methodName: "emailToLower"
}]
}
},
/** ... */
methods: {
init: function() {
this.callParent(arguments);
this.mixins.MultiChoiceMixin.init.call(this, arguments);
},
emailToLower: function () {
this.set("Email", this.get("Email").ToLowerCase());
},
/** ... */
define("ContactMiniPage", [], function() {
return {
entitySchemaName: "Contact",
attributes: {
"Email": {
dependencies: [{
columns: [],
methodName: "emailToLower"
}]
},
/** ... **/
methods: {
emailToLower: function (){
this.set("Email", this.get("Email").ToLowerCase());
}
},
/** ... **/
Best regards,
Julien Gunther