Время создания
Filters
Feed
FreedomUI
8.0

Hi.

Is there anyone experiencing problem in Feeds?

I tried adding a new entry in feed (contact) after I hit enter it shows automatically in timeline but in the Feed side panel it doesn't. 

I did try toggling Feeds open/close but did not work.
I did try Enable Live Update in Social Message but did not work.

I still need to refresh the page completely for it to appear. 

Open for suggestion.

Like 0

Like

0 comments
Show all comments
Compile_into_a_separate_assembly
OOTB

Hi,

I created a class UsrAccountAddressEventListener in my package. I want this class to inherit OOTB AccountAddressEventListener (Package CrtCustomer360App, assembly CrtCustomer360App.dll, Namespace Terrasoft.Configuration.CrtCustomer360App).

But because CrtCustomer360App is configured with Compile into a separate assembly, I cannot add a using Terrasoft.Configuration.CrtCustomer360App without a compilation error.

 

What can I do to fix this ?

 

 

Like 0

Like

0 comments
Show all comments
bpm. processes
script task
Studio_Creatio
8.0

Hello,

I am trying to invoke a business process from C# script. Below is my code, 

ProcessSchema schema = UserConnection.ProcessSchemaManager.GetInstanceByName("Cw AI Process");

Process process = schema.CreateProcess(UserConnection);
process.SetPropertyValue("RecordId", Guid.Parse("e308b781-3c5b-4ecb-89ef-5c1ed4da488e"));
process.SetPropertyValue("RecordType", "Account");
process.Execute(UserConnection);
var result = process.GetPropertyValue("OutputVar");

 

And this is the error I am seeing. Both RecordId and RecordType are input parameters of the business process.

Property "RecordId" is missing in type "ProcessComponentSet".

Like 0

Like

3 comments

Hi,

 

You will find it in academy : https://academy.creatio.com/docs/developer/integrations_and_api/busines…

or do something like this : 

			var uc = Get<UserConnection>("UserConnection");
 
			var parameters = new Dictionary<string, string>() {
				{"vExerciceUsager", ExerciceUsagerId.ToString()},
				{"vRegleCalcul", RegleCalculId.ToString()},
				{"vBloc", BlocId.ToString()}
			};
 
			IProcessExecutor processExecutor = uc.ProcessEngine.ProcessExecutor;
			processExecutor.Execute(ProcessSchemaUId, parameters);
			return true;

 

Jerome BERGES,

Thank you I got that..
I have a question.. How do I read the value from output parameter.. Below is my code.. am I missing something?

UserConnection userConnection = UserConnection;
IProcessExecutor processExecutor = userConnection.ProcessEngine.ProcessExecutor;
/* Collection of incoming parameters.*/
var inputParameters = new Dictionary<string, string> {
   ["RecordId"] = "ecb-89ef-5c1ed4da488e",
   ["RecordType"] = "Account"
}; 
/* Collection of outgoing parameters.*/
var resultParameterNames = new string[] { 
   "strValue",
};
string processSchemaName = "UsrProcess_6ff6f";
/* Runs the process via the schema name using transferred incoming and received outgoing parameters.*/
ProcessDescriptor processDescriptor = processExecutor.Execute(processSchemaName, inputParameters, resultParameterNames);
string AiResponseValue = processDescriptor.ResultParameterValues["strValue"];


return true;

I never done this with output parameters, but it may be that your process is in background mode (which is not allowed), or your parameter is not of type "Output"

Show all comments

Hi Team,

We are trying to automate the data import process in every page (for every data models) of Creatio, instead of manually selecting and importing the excel data into creatio. Is this possible in creatio? If possible to automate what would be the requirements ? Please let me know.

Like 0

Like

1 comments

Anybody can help on this ?

Show all comments

Hi Everyone,

I have a List page connected to my page-level data source. Each of these records also has related entries in the SocialMessage table, which stores comments and likes for my records. I want to show Number of Likes count and Number of Comments count on my List view, alongside fields from the main datasource object.

In Freedom UI, the list view is typically bound to a single data source, and while I can fetch and display these additional related columns via Model.load on the Form page (as labels, after the record is opened), How to integrate these related fields from other tables into my List page layout, so they can appear as columns with the rest of the fields.

The related column setting on the List page doesn't show the SocialMessage table to select those fields.  What is. Workaround for this?

Thanks in advance!

Ajay

Like 0

Like

0 comments
Show all comments