Question

Hi everyone,

I'm facing a problem in the business process , when I try to save the business process element , the following message appears: ' Error occurred when saving : Collection item  with unique identifier not found '

Like

0 comments
Log in or register to comment
Question

Hi,

I want to know what is the purpose of the files inside the 'bin' folder (Terrasoft.Configuration - > bin), and can I delete these files or not , because the size of this folder is too big.

Like

1 comments

Dear Mohamad,

Those files present in bin folder are libraries that store core logic of the application and we strongly don't recommend to delete anything from there since it will destroy the application completely. Those files are core logic and "heart" of the application so they are not supposed to be deleted.

Best regards,

Oscar

Log in or register to comment
Question

I have a detail in a page , when I open the page  , it loads then the grid will load after couple of seconds , what I want is to show a loader in the page and hide it when the grid is rendered.

How to know when the grid is rendered (finished loading), also in the case that I have more than 1 detail, how to check if all details are loaded and finished

Like

1 comments

It's a very strange idea to stop using multithreading - one of the most powerful JS features. Please make sure that you need this. 

Anyway, details are loading asynchronously and they don't have an "onDetailLoaded" event. One of the latest loading methods will be "onGridDataLoaded" in the BaseGridDetail. Please feel free to use it as an indicator of the fact that a detail was loaded. 

In order to indicate a complete loading of all details please use threading control on a page. Please find more information about threads in the article by the link below.

https://stackoverflow.com/questions/30036/javascript-and-threads

Log in or register to comment
Question

 

I have a button in a page , when I press that button , it performs a save and close operation.Also in this page I have a virtual detail, the problem is that when I press the button no data is saved in the page object when the page is in combinet Mode , if I refresh the page (no longer in combinet mode) and click the button the data is saved

- The code of the Approval Button is :

onApprovalButtonClicked: function(){
 
 
var self= this;
self.set("StStatus", {value: "BFBE5A54-08C6-4830-AE3F-09969C626C4B", displayValue:"Closed"});
self.save();
if (self.tryShowNextPrcElCard()) {
	return;
}
var isLastProcessElement = self.get("IsProcessMode") && !self.get("NextPrcElReady");
if ((self.get("IsInChain") || self.get("IsSeparateMode")) || isLastProcessElement) {
if (!self.destroyed) {
	self.sandbox.publish("BackHistoryState");
}
return;
}
self.sandbox.publish("CloseCard", null, [self.sandbox.id]);
self.hideBodyMask();
 
}

 

- it gives me that error when the button is pressed:

Uncaught Terrasoft.UnsupportedTypeException: Message DetailValidated is not defined in CardModuleV2 (SectionModuleV2_StWorkOrder1Section_CardModuleV2) module 

 

Like

1 comments

Hello Mohammad,
 

To fix the issue please flush Redis and compile all items. That should do the trick. 

Regards,
Alex

Log in or register to comment
Question

Hi;
Where I can find the values of parameters the running process was started with?

 

Regards

Tomek

Like

3 comments

Hello.

It is not enabled by default for the sake for performance. However, you can enable process tracing in order to see which values were passed on the every stage of the process. You can read more about it below:

https://academy.bpmonline.com/documents/technic-bpms/7-13/how-trace-pro…

Best regards,

Matt

Matt Watts,

thanks Matt;

I describe a case I have
we run the process in Call Center.

the customer Action Element is open but the connection has been broken.
New conection has been taken by another worker.
So I would like to find the old proces by proces id and input paramenter to close it.
So i would like to query Database looking for parameters for patiqular process

Regards

Tomwek

tomasz.branicki,

Unfortunately it is not possible to get the parameters of the business process that has already started without process tracing checkbox. 

Best regards, 
Dennis

Log in or register to comment
Question

Hi community!

How are you?

When i select a row from a detail, appear the business Process list that i can run

 

How can I hide a business process option from the list based on the condition of some field in that row?

King Regards,

Ezequiel

Like

1 comments

The menu is bound to the "RunProcessButtonMenuItems" attribute in the "BaseGridDetailV2" module. You can override the getProcessButtonVisible method in the detail module or change the attribute after modifying a value by the mentioned condition. 

Log in or register to comment
Question

Dear Team,

                  Here I Created one web service. Here my problem is the Web service working fine when already login with credentials. 

 My question:  How to access web service without authentication(without login)?

  Here I attached below my screen shots

 

Like

2 comments

Bpm'online - its an asp.net application. Please deploy it on-site and modify the web service for working without authorization using Microsoft documentation. If you need to modify the application files for this, please send a list of the modifications to support@bpmonline.com and the team will apply them in the cloud. 
Please use GeneratedObjectWebFormService as an example. It doesn't require authorization. 

Thank You Eugene.

Log in or register to comment
Question

Hi;

I run the process from button on editpage

but when i want to move to process page it doesnt work

I do it this way:

this.sandbox.publish("PushHistoryState", {hash: "ProcessCardModuleV2/AutoGeneratedPageV2/377caef9-d9ed-48ee-8458-3106e61dfdc6"});

When i Change the hash to {hash: "IntroPage/StudioIntro"} it work

by the way.

What is the syntax for this when i want to do it from c#

i try Terrasoft.Configuration.MsgChannelUtilities.PostMessage(Get<UserConnection>("UserConnection"),"PushHistoryState","{{hash: \"IntroPage/StudioIntro\"}}"); but it dosn't work

 

Regards Tomek

 

Like

1 comments

Dear Tomek,

Seems like the provided URL is not correct and does not exist. Please try to use https://webplatform.github.io/docs/apis/location/assign/ using relative or full path to the page. This approach will save browser history like that you're trying to use before.

What about changing the browser location from the back-end (C#) code, of course, this is impossible to do directly, but you can use web-sockets to publish message from C#, subscribe to this message on some page. And if this page will be opened when back-end message will appear, you can change window.location inside the callback function of the javascript subscribe method.

Here the example of the publishing and subscribing described in the comments:
https://community.bpmonline.com/questions/refresh-page-fields-after-pro…

Hope you will find it helpful.

Regards,

Anastasia

Log in or register to comment
Question

Hi Community,

In the database where is this Access rights lets say of [Product Record] being saved?

 

 

Like

1 comments

Dear Fulgen, 

The information about Rights for records of certain object is stored in the Sys<objectname>Right, in your case - SysProductRight. 

Best regards, 
Dennis

Log in or register to comment
Question

Hello. I am working with serveral new, out of the box, environments.

I have been looking into the Forecast funtions and learning about it. I have notice that no matter how I seem to change my Opportunities and sales, the Pipeline values are all 0, and are not updated when I run the Calculate function. The Closed/Actual values are working normally.

Since I have this issue on more than one environment, I thought there might be some central issue at the moment. Is anyone else having the same issue?

tl;dr Pipeline value not calulated by running the Calculate action on Forecast

https://academy.bpmonline.com/documents/sales-enterprise/7-13/how-calcu…

Best regards,

Like

3 comments

Dear Julius,

Hope you are doing great today.

As for now, the section Forecast works without any issues. Since you face some problems with the section, we have to look through your system settings to identify the reason for them. Therefore, I'd like to suggest you to contact our support team by email support@bpmonline.com for further investigation in your particular environments. 

Best regards,

Dean

I can only get Pipeline values Calculated on Forecasts set to Period type: Year.

Pipeline values are not calculated for any forecast with Period type: Month. These are always zero.

I'll take this info to Support

Dear Julius,

Our support team will be glad to assist you.

Have a great day ahead.

Best regards,

Dean

Log in or register to comment