Dear Team,

                  Problem: business process not trigger from web service.

                  How to trigger business process in wcf web service.Please guid me how to trigger?

        Thanks in advance.

Regards,

Sekhar.

Like 0

Like

5 comments

Dear Sekhar,

Here is the example of how to start business process with parameter from server side code.

using Terrasoft.Core;

using Terrasoft.Core.Process;

using Terrasoft.Core.Process.Configuration;

 

ProcessSchema schema = UserConnection.ProcessSchemaManager.GetInstanceByName("LeadManagement");

//schema = UserConnection.ProcessSchemaManager.GetInstanceByUId(leadManagementProcessUId);

 

//different engines for interpretable and compiled BP

bool canUseFlowEngine = ProcessSchemaManager.GetCanUseFlowEngine(UserConnection, schema);

if(canUseFlowEngine) {

    var flowEngine = new FlowEngine(UserConnection);

    var param = new Dictionary<string, string>();

    param["LeadId"] = Entity.Id.ToString();

    flowEngine.RunProcess(schema, param);

} else {

    Process process = schema.CreateProcess(UserConnection);

    process.SetPropertyValue("LeadId", Entity.Id);

    process.Execute(UserConnection);

}   

Hope you will find it helpful.

Regards,

Anastasia

Anastasia Botezat,

Hi Anastasia. Your code illustrates how to call a BP by passing parameters. How would one go about reading BP parameters after the execution of the business process??

 

M Shrikanth,

 

Hello,

 

You've already created a thread here https://community.creatio.com/questions/read-business-process-parameter… so we will discuss this topic there.

 

Best regards,

Oscar

Anastasia Botezat,



Hello,



Is the method async or not?

I just run a test and it did not wait for the result.



Best regards,

Solem A.

Solem Khan Abdusalam,

 

Hello,

 

This is a synchronous call, also tested out-of-the-box by calling a process with 10 000 repetitions of data reading in a cycle.

Show all comments

Hi , 

I want to restrict certain products to display . These products were used earlier in the organisation , now are not in use  , Could you please suggest the best way to do it . 

 

TIA 

Shailey 

Like 0

Like

1 comments

Hello!

You have two ways how to manage this issue. Firstly, you can create a folder for products, which are in use currently and use not all list of products, but only products from this folder. Or you can set up access rights so that only system administrator has access right to read, edit or delete certain records. In this case, for other users, these products won't be displayed.

Best regards,

Anastasia

Show all comments

Hi,

I am trying to track the events on the website such as number of visits each day, number of clicks each day etc on the website.

What object do I use to create the dashboards?

Also, does it work like how wordpress works, counting the number of events(visits and clicks) on the website even if the user is not registered in the CRM? Say someone just visits the website and a cookie is created, but they do not enter any details on the site, so can I still have a counter for how many visits I had on that page and how many clicks I had on the buttons I am tracking?

Please let me know, if possible, how we can do that and if someone has an example to share, that'd be awesome.

 

Thanks in advance.

Regards,

AK

Like 0

Like

3 comments

Hello,

You can create a "metric" dashboard that reads "Website event" object and in filtering conditions you can specify the type of the event, date range and so on. See an example on my screenshot http://prntscr.com/nme3tv - it will represent the amount of "download materials" events for "Antiviruses" product.

As for your second question - yes, it also tracks the activity of unregistered contacts of the system and generate leads. The whole explanation on how website events tracking works can be found here.

Unfortunately we don't have examples of particular realisation of webtracking on site's side, but you can also read how to set it up generally here.

Best regards,

Oscar

Oscar Dylan,

For how long is this information stored in the contacts history?

aaykay,

This information on events tracking is stored for 2 days in contact's history and erases after two days pass. We do also have a problem for our R&D team so they could implement new logic of changing this period in one of future versions of the application. I will also notify them about your request so to raise the priority of the problem.

Thank you for helping us to make our application better!

Best regards,

Oscar

Show all comments

Does the "Exclude from folder" option here not work for Dynamic Folders?

I have a bunch of dynamic and static folders. "Exclude from folder" is working for Static folder but can't seem to make it work for Dynamic folders.

 

Not sure if that's even possible. Looking for some information.

 

Thanks in advance.

 

Regards,

AK

Like 0

Like

2 comments

Hi,

Static folders are filled manually and dynamic folders are filled automatically according to the filters set for specific folder. To exclude records from dynamic folder it must be altered in a way that makes it not suitable for such folder. "Exclude from folder" can be used only for static folders.

Angela Reyes,

 Alright thanks :)

Show all comments

Hi Community,

I am getting Oracle error ''ORA-01691: unable to extend lob segment DLD_CRM.SYS_LOB0000118070C00012$$ by 128 in tablespace USERS" when trying to install custom package from dev to prod instance using "Export to pacakges to archive" and "Installed Applications->Add Application->Install from file" (Please see image below).

Both dev and prod instance are using oracle database.

 

Like 0

Like

3 comments

Dear Fulgen,

It seems that this issue is connected with Oracle database structure. I think this article may help you with this issue: http://www.dba-oracle.com/t_ora_01691.htm

Best regards,

Angela

Angela Reyes,

Thanks Angela, we have already fixed the oracle database structure and we can now install package successfully.

We still have issue with our oracle database, we are encountering Oracle error "(ORA-00942) table or view does not exist" on submit case landing page.

 





We have already done other landing pages before in bpm online instance which uses ms sql database, and the system is working fine. So we are sure we did the same thing the only difference is that this time the bpm online instance is using oracle database. Hope you can help us, solve this issue.

Fulgen Ninofranco,

Have you checked server logs? They might have the information about missing table. 

Show all comments

Hi Community,

Any idea how can i get the value being searched in lookup object (please see image below). What I want to achieve is when the user will search the specific contact then if not found in crm, i will search that value on third party database using webservice. But my problem is how can i retrieve in, lets say CasePage this value being searched by user.

 

 

Like 0

Like

1 comments

Hi Fulgen, 



Theoretically, this is possible. However, such development case is kind of ambitious.



This modal window is a separate schema called "LookupPage". Logic that is responsible for searching is located in "LookupPageViewModelGenerator" schema. 



Text of the search query is stored in "searchData" attribute. Search button`s click is bind to "onSearchButtonClick" method. 



You may face with difficulties while overriding Ext classes. Here is an example:

 

It is not required to copy the entire code. You should specify only those methods that you want to be replaced, and the remaining methods will remain from the base class. Thus, we avoid cases when the module breaks down after updating.

 

Example override class SummaryModule

define("UsrSummaryModuleV2", ["SummaryModuleV2"],

function() {

Ext.define("Terrasoft.SummaryModuleOverrided", {

override: "Terrasoft.SummaryModule",

/*

* @override

*/

getESQ: function() {

var esq = this.callParent(arguments);

esq.queryKind = Terrasoft.QueryKind.LIMITED;

return esq;

}});});





When you need to override, simply load the module (for example in BaseSectionV2)

define("BaseSectionV2", ["UsrSummaryModuleV2"], function() {

return {

methods: {},

details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,

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

};});

Show all comments

Hi all,

       I try to set current date when click button by function

       var today = new Date();

       this.set("UsrSentAt", { value: today });

       But system shows error "The entered value does not match the column type" and can't display value on datetime picker. How can I set value for it?

Thanks

Like 0

Like

3 comments

Hello Toan!



Please double check if the "UsrSentAt" attribute has DATE type. 

Also, you should pass the value as it is, not creating the object.

this.set("UsrSentAt",   today );

For example:

I have created attribute 

"Date": {

                dataValueType: Terrasoft.DataValueType.DATE,

                type: Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN

              }



And I was able to successfully set it :

onEntityInitialized: function(){

                this.callParent(arguments);

                debugger;

                var date  = new Date();

                this.set("Date", date);

            }

Hi Alex,

Thanks for replying, see my screenshoot

Toan Mai,

Anyway, example that I sent above should work. Just pass the raw value in the set function instead of new object. 

this.set("UsrSentAt",   today );

Show all comments

Hi all,

          I want to remove old sections which are created by section wizard, because they are obsoleted. If I delete all related object in configuration, system will show error message when compile. Please help, because there are a lot of useless objects in my package.

Thanks

Like 0

Like

1 comments

Hello,

We strongly don't recommend to delete any sections or objects since they are connected to other system entities and deleting of them can cause errors. Instead of deleting you can hide unnecessary sections, it's described in this article  https://academy.bpmonline.com/documents/administration/7-13/workplaces-setup.

Best regards,

Anastasiia

Show all comments

Hi Community,

We are able to managed to create custom CUSTOM CONFIGURATION SERVICE using below link from academy.

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-create-custom-configuration-service

Any idea how we can do custom configuration service with crm authentication? because this custom configuration service will not be used internally, it will be consumed by third party application.

 

Like 0

Like

4 comments

To execute the service, you will need to authenticate the same way that you would to use the OData API for bpm’online. This academy article walks you through the steps using Postman, the steps would be the same that you would implement in code: 

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-call-confi…

Ryan

Ryan Farley,

Thanks Ryan

Is there a way we can pass the authentication through headers so that third party application will execute only one service. Can we configure the custom configuration service to use Basic authentication instead of FORM-BASED AUTHENTICATION (COOKIES)

Fulgen Ninofranco,

No. Bpm’online doesn't work that way. You must first authenticate through 

ServiceModel/AuthService.svc/Login and then another request to the configuration service. 

Fulgen Ninofranco,

As Ryan already mentioned, the authentication should be done in the following way: firstly call ServiceModel/AuthService.svc/Login service passing your credentials. In the response you will receive cookies to use in header for the further requests. Please see this article, it has good example on integration process using Postman. 

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-call-configuration-services-using-postman

Regards,

Anastasia

Show all comments

Hi Community,

Any idea how we can show tool tip on mouse hover for action buttons on Section grid

          {

                "operation": "merge",

                "name": "DataGridActiveRowOpenAction",

                "parentName": "DataGrid",

                "propertyName": "activeRowActions",

                "values": {

                    "className": "Terrasoft.Button",

                    "style": Terrasoft.controls.ButtonEnums.style.BLUE,

                    "caption": "Open",

                    "tag": "Open",

                    "visible": true

                },

            },

 

 

Like 0

Like

4 comments

Dear Fulgen,

There is a perfect Academy article here that will fit your needs. This article describes how to add pop-up hints to buttons and will be very useful for you.

Best regards,

Oscar

Hi Oscar!

I tried using the code written in the article and I can see the tooltip only for one time, if I navigate to another contact or cancel and then go back the tooltip does not appear anymore.

If I refresh the page it shoes it again but only if refreshed the contact edit page and again the minute I leave the page I can't see it anymore until refreshing again.

Can you or someone else advise?

Oscar Dylan,

Chani Karel,

Hello!

 

Can you please provide us with the code itself that you've used when creating tips? To which entity have you added the tip?

 

I've added a test tip to the contact email address column and it is displayed correctly and doesn't disappear:

{
				"operation": "merge",
				"name": "AccountEmail",
				"values": {
					"layout": {
						"colSpan": 24,
						"rowSpan": 1,
						"column": 0,
						"row": 5
					},
                  "tip": {
                    "content": { "bindTo": "Resources.Strings.EmailTipContent" },
                    "displayMode": Terrasoft.controls.TipEnums.displayMode.WIDE
                  }
				}
			},

Best regards,

Oscar

Oscar Dylan,

Hi, Thank you!

I add the tip to the save button of the opportunity entity.

this is the code I use :

 

    "operation": "merge",

                "parentName": "LeftContainer",

                "propertyName": "items",

                "name": "SaveButton",

                "values": {

                    // Pop-up hint for a button.

                    "hint": { "bindTo": "Resources.Strings.ToolTip" } ,

                }

 

The code you provided is for a field tooltip, that one works from the article too.

The problem happens only with the tooltip for button.

In the article the button is example # 1 and the field is example # 2.

Thank you so much!

Show all comments