Hi Academy,

 

We would like to make one of the sections in the 'Connections' on the activity mini page mandatory when the category is "task".

Do you have any suggestions on how we can accomplish this?

 

Thank you in advance.

Like 1

Like

2 comments

Hello,

 

It depends on which column should be required here. One particular example: this method can be added to ActivityMiniPage:

save: function(callback, scope) {
				var opportunity = this.get("Opportunity");
				if (opportunity) {
					this.callParent(arguments);
				} else {
					Terrasoft.showInformation("Opportunity is required");
				}
			}

In this case saving of the mini page is not possible in case an opportunity is not connected to an activity and the information message will be shown on the page.

Hi Oleg,

 

Thank you, it works!

Show all comments

In classic UI we used to override/extend the ActivityDashboardItemViewModel in order to handle the "Complete" activity button click.

 

How can we do this using FreedomUI?

 

Thanks!

Like 3

Like

2 comments

Hello,

 

I'm afraid we don't have any possibility to contol this behavior using page handlers. But if anyone has an example to share please share it. I've registered a task for our R&D team to make it possible to control it using no-code tools.

Oleg Drobina,

it would be great to be able to intercept it via request handlers in code too. Overriding the behaviour is essential to a lot of our customisation for clients.

Show all comments

Hi,

I have a problem with the new open Activity in an already created Lead.

I create a new lead, I add an activity on that lead and after that, I change the owner of the Lead. Unfortunately the activity owner changes too.

I want to know if it's a core functionality that changes the owner of the activity after I change the owner of it's Lead and if so, how can I deactivate it?

Thank you,

 

Rares

Like 0

Like

8 comments

Hi Ivan,

 

I think, this can be switched off with feature "ChangeEntityActivitiesAndProcessOwner"



Kind regards,

Vladimir

Vladimir Sokolov,

Hi! 

Thank you Vladimir for your response. 

I changed the state into 0 and nothing happens. I changed the code in "ActivityPageV2" and the I have the same result as before. 

Should I make other changes? 

 

Thank you, 

Rares

Could you please check if feature is switched off for every role and cache is cleared?



There is nothing to change in the Page, this functinality is implemented in the EventListener



And it would be nice if Creatio describes all implemented feature in the field 'Description'...



Kind regards,

Vladimir

Hi!

I have an older version of Creatio (8.0.0.5476) and the Feature Toggle doesn't  exists. Is there any possibility to change that from somewhere else?

 

Best regards, 

Rares 

Vladimir Sokolov,

Ivan Rares Marian,

You can find them in database and update:

Select * from "AdminUnitFeatureState" Where "FeatureId" = (Select "Id" from "Feature"

Where "Name" = 'ChangeEntityActivitiesAndProcessOwner')

 

Vladimir Sokolov,

 

Hi,

I checked and in the database the FeatureState is 1 for both of them.

What should I try now?

Best regards, 

Rares 

Update it with 0

Show all comments

Dear,

I would like to display on the Activity page detail, the modification history tab.

 

When i go into the section assistant, i can see an unregistered Detail.

 

 

Logging is enabled in the system settings change log .

 

But the history tab is not displayed in the activity detail page.

 

Does anybody have an idea to solve this issue please ?

Thank you,

Nicolas

Like 0

Like

1 comments

Hello,



There is no such OOB functionality.

You can track changes directly in the Change log section or check additional add-ons, for example:

https://marketplace.creatio.com/app/banza-change-log-creatio?_gl=1*13hf…;



 

Show all comments

Hi,

The default behaviour in Creatio cases is that any outstanding activities on a case are removed if the contact emails in and the case goes to re-opened. One of the consequencies of this, is that some of our support reps, have Outlook sync enabled and as that does not delete activities, only creates them from Creatio to Outlook, they end up with lots of orphaned activities in Outlook.

As a quick and simple fix, is it possible for individual users to have the default behaviour of the 'Show in Calendar' to be unchecked?

thanks

 

Mark

Like 0

Like

3 comments

Good afternoon, 

 

Starting from version 8.0.0 this function works correctly, unfortunately our team observed problems with versions before 8.0. 



Best regards,

Orkhan

Orkhan,

Hi Orkhan

 

Thank you for your reply. Are you saying that from v8 the full sync function with Outlook should work? We have been running v8 for a while now and have not seen any difference in the behaviour, where deletions on one side are made automatically in the other.

 

Is there a setting, we can disable on a per user basis?

 

I tried to configure Business Rules in the Activity section, and am able to create a rule to do the match, but cannot get the value to change to 'deselected' as an action.

 

thanks

 

Mark

Mark Roberts,

Good day,

Unfortunately, there is no built-in method to disable the default display in the calendar for individual users. Additionally, we do not recommend toggling this checkbox after the activity has been created, as it may create duplicate records.

Furthermore, it is worth noting that according to the default logic, when a case is closed, activities are not deleted but rather canceled. They still remain in the system and calendar.

However, as a workaround, you can add a "Show in calendar" checkbox to the mini card, allowing users to indicate the need for this option when creating activities themselves.

If you have any further questions or need additional assistance, please let me know. I'm here to help.

 

 

 

 

Show all comments

Hi, 

I'm looking for some guidance on setting up a process.

 

I want the process to run once per week, reading all Activities where the start date is <= Yesterday and the field (Result) is not filled in. 

Then I want the process to send 1 E-mail to the organiser listing the records that need the results field completing. 

 

I'm  relatively new to processes and sub processes so any guidance would be really appreciated.

 

Like 0

Like

1 comments

Hello Tom,

 

You can design your business process to run once a week with a help of "[Start timer] event" element, more detailed information is available on our Academy:

https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

 

Best regards,

Anastasiia

Show all comments

Hello,

We would like to add the City of an Account in the Visit Scheduler container. How can that be achieved ?

Thank you

Sasori

Like 0

Like

8 comments

Hello team,

Any update on this ?

Sasori Oshigaki,

Hello,

This title is composed in the schema ActivitySectionGridRowViewModel and its method getScheduleItemTitle and if you want to change the title, you need to modify this method. Keep in mind that you cannot simply override schema ActivitySectionGridRowViewModel, you need to write a new nodule with a code similar to ActivitySectionGridRowViewModel with the exception of the needed method and connect your new schema to the base schemas similar to an old ActivitySectionGridRowViewModel

Hi Creatio,

I have managed to retreive the City Valye.

My last hurdle is how to set the retrieved city string value to a global attribute inside the ESQ, because as you know ESQ is aysnc.

 

This is the Global attribute:

attributes: {
		"CityNameEsq": {
		dataValueType: this.Terrasoft.DataValueType.TEXT,
		type: this.Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN
		}	
	},

This is the method:

getScheduleItemTitle: function() {
		    this.callParent(arguments);
			var title = this.get("Title");
			var account = this.get("Account");
			var accountGuid = this.get("Account").value;
 
				var recordId = this.get("Account").value;
					var esq = Ext.create("Terrasoft.EntitySchemaQuery", {
						rootSchemaName: "Account"
					});
					esq.addColumn("City.Name", "CityName");
					esq.getEntity(recordId, function(result) {
						if (!result.success) {
							// For example, error processing/logging.
							this.showInformationDialog("Data query error");
							return;
						}
						this.set("CityNameEsq", result.entity.get("CityName"));

Sasori Oshigaki,



Here is a sample to get the result of an asynchronous function using Terrasoft.chain

getMyEntity: function(callback) {
    var esq = this.Ext.create("Terrasoft.EntitySchemaQuery", {
        rootSchemaName: schemaName
    });
    ...
    esq.getEntity(recordId, function(response) {
        ...
        if (callback) {
            callback.call(this);
        }
    }, this)
},
globalMethod: function() {
    Terrasoft.chain(
        function(next) {
            this.getMyEntity(function() {
                next();
            });
        },
        function() {
            this.doAfterGettingEntity();
        },
        this
    );
}

Also, please check this article's getentity method to synchronous!



 

 

BR,

Bhoobalan Palanivelu.

Bhoobalan Palanivelu,

Thank you very much Bhoobalan. As always you help is much appreciated.

I am still not getting the wanted result.

Here is the entire module code

define("SasActivitySectionGridRowViewModel", ["ActivitySectionGridRowViewModel","ActivitySectionGridRowViewModelResources"
	],
		function() {
 
	/**
	 * @class Terrasoft.configuration.ActivitySectionGridRowViewModel
	 */
	Ext.define("Terrasoft.configuration.SasActivitySectionGridRowViewModel", {
		alternateClassName: "Terrasoft.SasActivitySectionGridRowViewModel",
        override: "Terrasoft.ActivitySectionGridRowViewModel",
	    attributes: {
					"CityNameEsq": {
						dataValueType: this.Terrasoft.DataValueType.TEXT,
						type: this.Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN
					}
 
				},
		/**
		 * ########## ######## ######### ######## # ##########.
		 * @return {String} ######## ######### ######## # ##########.
		 */	
		getScheduleItemTitle: function() {
			Terrasoft.chain(
			function(next) {
				this.GetCityName(function() {
					next();
				});
			},
				function() {
				this.getTitleInfo();
			},
			this
		);
		},
 
		GetCityName: function(callback)
		{
			debugger;
			var recordId = this.get("Account").value;
			var esq = Ext.create("Terrasoft.EntitySchemaQuery", {
				rootSchemaName: "Account"
			});
			esq.addColumn("City.Name", "CityName");
			esq.getEntity(recordId, function(response) {
				if (!result.success) {
					this.showInformationDialog("Data query error");
					return;
				}
				this.set("CityNameEsq", result.entity.get("CityName"));
			}, this);
		},
 
		getTitleInfo: function()
		{
			var title = this.get("Title");
			var account = this.get("Account");
			var accountDisplayValue = (account) ? account.displayValue + ": " : "";
			return Ext.String.format("{0}{1}", accountDisplayValue, title,this.get("CityNameEsq"));
		}
 
	});
 
	return Terrasoft.SasActivitySectionGridRowViewModel;
});

What am in doing wrong here. Because i get

Sasori Oshigaki,



Can you please try to add in this method  getScheduleItemTitle: function()

 this.callParent(arguments);

 

Hi Bhoobalan,

Still getting the same result

after applying 

this.callParent(arguments);
	getScheduleItemTitle: function() {
			this.callParent(arguments);
			Terrasoft.chain(
			function(next) {
				this.GetCityName(function() {
					next();
				});
			},
				function() {
				this.getTitleInfo();
			},
			this
		);
 
		},

 

The esq async logic may be pretty complicated. if you have a debug mode enabled, please turn it off, this may fix the issue. If it, not the case, try to change the title in the method getScheduleItemTitle without using ESQ by setting some test value, maybe the problem isn't in the async logic but in the method itself.

Show all comments

Hello Creatio team,

I try to create a Visit Activity, and i set the start time and due time

When i click Save, and reopen the record the due time is not 20:00 ( as i specified) but 18:00 (1 hr later from start time).

This happens only for activites of category visit

Any idea how to solve this ?

Like 0

Like

2 comments

do you have your Time Zone Set for your Profile?

Hello Keith.

I dont believe this is a Time-Zone problem.

For the same user, if I choose Activity of category Task, everytih works as it should be. 

Thanks

Show all comments

Hello Creatio team,

How can i activate the Section Wizard option for the followin detail:

This feature is deactivated in the PlanningAccountDetailV2 schema part of Field package

I need to activate the wizard for this task:

Deactivate the filter that filters the accounts based on the selected employee.

Like 0

Like

2 comments
Best reply

Hello Sasori,

 

In order to deactive the filter based on employee it is just needed to click on the cross sign, and you will see all the accounts.

 

Alternatively you can create a replacing view model for the schema PlanningAccountDetailV2 and modify the method getFilters according to your needs.

 define("PlanningAccountDetailV2", [],

    function() {

        return {

            entitySchemaName: "Account",

            attributes: {},

            methods: {

                getFilters: function() {

                     this.callParent(arguments);

                    var filters = this.sandbox.publish("GetSectionFilters");

                    if (!this.Ext.isEmpty(filters.filtersValue)) {

                        this.setFilter(filters.key, filters.filtersValue);

                    }

                }},

            diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/

        };

    }

);

 

As for the section wizard, this whole detail was created with code, so it would be not possible to enable it. But the first option by clicking the cross sign would be the more simple one.

 

Best regards,

Dariy

 

Hello Sasori,

 

In order to deactive the filter based on employee it is just needed to click on the cross sign, and you will see all the accounts.

 

Alternatively you can create a replacing view model for the schema PlanningAccountDetailV2 and modify the method getFilters according to your needs.

 define("PlanningAccountDetailV2", [],

    function() {

        return {

            entitySchemaName: "Account",

            attributes: {},

            methods: {

                getFilters: function() {

                     this.callParent(arguments);

                    var filters = this.sandbox.publish("GetSectionFilters");

                    if (!this.Ext.isEmpty(filters.filtersValue)) {

                        this.setFilter(filters.key, filters.filtersValue);

                    }

                }},

            diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/

        };

    }

);

 

As for the section wizard, this whole detail was created with code, so it would be not possible to enable it. But the first option by clicking the cross sign would be the more simple one.

 

Best regards,

Dariy

 

Thank you very much Dariy.

Show all comments

Hello Creatio Community,

I have made the Activity participant detail (Activites section) as an editable list.

When I add a new record and click on the added row ( the active row doesnt behave normally) as editable lists in other sections. I think is probably sort of bug of the system, because i have tried in fresh installations and the same thing happens.

 

I overcome this by refreshing the page so that the added row behaves normaly.

I manage to refresh the page by sending a message from a business process to the Front-End and subscribe to the message. But i refresh the whole Activity (entity), i want to refresh only the Participant detail.

This snippet is implemented in ActivityPageV2

			init: function() {
				this.callParent(arguments);
				// register our onProcessMessageReceived function to get messages from the server
				Terrasoft.ServerChannel.on(Terrasoft.EventName.ON_MESSAGE, this.onProcessMessageReceived, this);
			},
			onProcessMessageReceived: function(scope, message) {
				debugger;
				var sender = message && message.Header.Sender;
					if (sender === "RefreshDetailActivityParticipantFromBP") { //"SMRefreshPaged"
					this.reloadEntity();
				}
			}

How can i manage to refresh only the Participant detail list?

I have tried also this.reloadGridData() and this.updateDetail({reloadAll: true}); without success.

Like 0

Like

3 comments

this.reloadGridData()  is not defined in the ActivityPageV2. (console)

I think that the proper solution involves using the this.reloadGridData()  method ? Should i just add the :

mixins: {
			GridUtilities: "Terrasoft.GridUtilities"
		}

in the ActivityPageV2 ?

Any updates on this Creatio team ?

Sasori Oshigaki,

this.updateDetail({ detail: "NameOfDetail" });

You can find the "NameOfDetail" value to use by looking at the details section of the page code for your detail (it's not the name of the detail schema, but the name or Id it gave it when it added it to the page). The reloadGridData function only works from within the detail schema code itself. 

 

Show all comments