Is there a setting that controls auto logout of users after a period of inactivity?

Like 0

Like

0 comments
Show all comments

Is there a way to stop the software from logging users out automatically due to inactivity?  I'm guessing there is a timer setting somewhere that controls this.

Like 0

Like

8 comments

Dear Scott, 

There is the system setting called "User session timeout" that is responsible for that. However, you can't stop system from logging users out completely using base system tools. Could you specify your business task for this functionality?  

Best regards, 

Dennis 

thanks, that fixed it

Dennis Hudson,

Hi Dennis. We have a similar use case where, during a specific period of time, we do not want a user to be auto-logged out irrespective of inactivity. Can we achieve this through configuration/customization?? 



In other words, can we forcibly extend a user's session irrespective of in-activity?

Hello Shrikanth,

 

By default, the system has the next time range for the "User session timeout" parameter: the minimal value is 10 minutes and the maximum value is 720 minutes (12 hours). So you can set the needed value in system settings for all users ("User session timeout") according to this range:

 

Also, you can open user profile and set the personal time out period for the specific user (need to go to the  "Access Rules" tab):

 

If you need to increase the time out session range (for example, up to 16 hours), please contact our supoprt team if it's cloud installed application or you will be able to set it by yourself for on-site application:

 

go to --> WebApp.Loader\SysSettings.config

 

<sysSetting key="UserSessionTimeout" valueType="int" operation="min" value="10"/> <sysSetting key="UserSessionTimeout" valueType="int" operation="max" value="720"/>

 

Unfortunately, there is no possibility to set the different session timeouts for specific periods of time for the out-of-the-box version of the application.

 

Best regards,

Roman

Roman Rak,

Hi Roman. Thank you for your response.



Is there a recommended upper limit to how much we can push the max value of UserSessionTimeout? For Eg, Can I increase it to 10080 (A week) inside WebApp.Loader\SysSettings.config?

M Shrikanth,

 

It's better not to set any higher limits. We strongly recommend setting 720 minutes as a maximum timeout limit.

 

Best regards,

Bogdan S.

Is this still the case? We were looking to increase the timeout, ideally to indefinite, since users will be logging in via SSO and will have the SLO side of things to cause them to be logged out. What we really want is for users to be automatically logged in via SSO if they are already logged in with Entra ID (Azure AD's new name) and to remain logged in to Creatio until they are logged out of Entra ID.

Hello,

 

Yes, the maximum value is still 720 minutes (12 hours). We've registered this question in our R&D team backlog for consideration. Perhaps it will change in future releases.

 

Best regards, Mariia

Show all comments

I have an entity with a BLOB column. In a script task I get a C# byte array. Now I would like to save that array in the object using Add data block. The problem is that I don't know how to pass that data since I cannot find any process parameter type for binary data.

As an alternative I tried to convert the binary data to Base64 and save it in Unlimited length text column. In this case the problem was that the unlimited length column was limited and only part of the string got saved to the database.

Do you know how to deal with those problems?

Like 0

Like

2 comments

if the process is interpreted then use in scriptask method

Set ("component name. Property name", value)

The value needs to be serialeze to string

But it is better to use InsertQuery or UpdateQuery or esq as

Stream stream = new MemoryStream(UTF8Encoding.UTF8.GetBytes(serializedString));
stream.Position = 0;
var manager = UserConnection.GetSchemaManager("EntitySchemaManager") as Terrasoft.Core.Entities.EntitySchemaManager;
	var entitySchema = manager.GetInstanceByName("FileContactVisa");
	Entity entity = entitySchema.CreateEntity(UserConnection);
	var valueColumn = entitySchema.Columns.GetByUId(StoringColumnUId);
	entity.SetStreamValue("Blob", stream);
	entity.Save();
 
or
 
var _caseFile = new Terrasoft.Configuration.CaseFile(UserConnection);
_caseFile.FetchFromDB(recordId); 
_caseFile.SetStreamValue("Blob", memo);
_caseFile.Save();

 

Grigoriy,

Ok, I used ESQ. Thanks.

Show all comments

Hi All,

 

We have a google account with multiple domain aliases. The primary domain is not the business domain we need to use (domain1). We have set up our business domain as an alias (domain2) in Google.

example

we log into google using: 123@domain1.com

We want emails to be sent as: 123@domain2.com so that the replies can come back to that address as well.

Anyone know the settings for this?

 

 

Like 0

Like

1 comments

Dear Alex, 

Unfortunately, there is no functionality that changes the sender email as you send the letter. The best way would be to register the second domain in your system, add the corresponding mailbox and send emails from this mailbox. If you need more people in the system to see it you can set up shared access to that mailbox.

Best regards,

Dennis 

Show all comments

I noticed that you can put tag and markerValue properties on a button but I was unable to find out what are those used for. Do you know what's their purpose?

Like 0

Like

2 comments

markerValue  - for automated testing,

tag - can be used in the event handler. for example, assign one method to several buttons and, using this property, understand which element caused the event

Grigoriy,

Ok, thank you for the explanation.

Show all comments

I'm using ConfirmationDialog to show a confirmation modal when user clicks a button. That's the method I use:

confirmClick: function(eventName, modelMethod, model, tag) {
	this.showConfirmationDialog(this.get("Resources.Strings.ConfirmMessage"),
	function(returnCode) {
		if (returnCode === this.Terrasoft.MessageBoxButtons.YES.returnCode) {
			this.onProcessActionButtonClick(eventName, modelMethod, model, tag);
		}
	},
	[this.Terrasoft.MessageBoxButtons.YES.returnCode, this.Terrasoft.MessageBoxButtons.NO.returnCode],
	null);
}

The problem is that the YES and NO buttons don't get translated to my language:

Do you know what should I do to translate them?

Like 0

Like

1 comments

Dear Carlos,

The buttons' captions are stored in the system core resources. Therefore, button captions are set in accordance with the user profile language. In case you have deployed/supplied with application, that has your language by default, but captions are in English, please give us an email to support@bpmonline.com and we will investigate the issue further.

Regards,

Anastasia

Show all comments

I tried to add a custom button to an edit page, so I inserted the following code to the diff array:

{
	"operation": "insert",
	"parentName": "LeftContainer",
	"propertyName": "items",
	"name": "CustomButton",
	"values": {
		"itemType": Terrasoft.ViewItemType.BUTTON,
		"caption": {"bindTo": "Resources.Strings.CustomButtonCaption"},
		"classes": {"textClass": "actions-button-margin-right"},
		"click": {"bindTo": "customAction"},
		"style": Terrasoft.controls.ButtonEnums.style.GREEN,
		"tag": "custom",
		"markerValue": "CustomButton"
	},
	"visible": true,
	"index": 4
}

The button is shown if I enter the edit page directly by coping and pasting its URL or refreshing the page but if I enter it from the section's main page, it is not shown. Do you know how to fix this problem?

Like 0

Like

4 comments

Hello!

You need to add the following button to the section schema as well and you will see the button you need.

Matt

I tried to do that and my code in UsrCustomEntitySection.js is:

 

{
	"operation": "insert",
	"parentName": "SeparateModeActionButtonsLeftContainer",
	"propertyName": "items",
	"name": "CustomButton",
	"values": {
		"itemType": Terrasoft.ViewItemType.BUTTON,
		"caption": {"bindTo": "Resources.Strings.CustomButtonCaption"},
		"classes": {"textClass": "actions-button-margin-right"},
		"click": {"bindTo": "customAction"},
		"style": Terrasoft.controls.ButtonEnums.style.GREEN,
		"tag": "custom",
		"markerValue": "CustomButton",
	},
	"index": 4
}

The button appears on the section page but still not on the edit page (except when reloading it).

Carlos Zaldivar Batista,

Hello.

Please make sure you have done the necessary modifications according to the article below:

https://academy.bpmonline.com/documents/technic-sdk/7-12/adding-button-…

Matt

Matt Watts,

Ok, thank you, it works. I didn't find this article myself.

Show all comments

Hi Community,

How can I debug a script task from like setting some break point and tracing codes line by line.

Thanks

Like 0

Like

6 comments

See this

Dear Fulgen,

You can use the link provided in the previous comment by Grigory:

https://academy.bpmonline.com/documents/technic-sdk/7-12/working-server…

Since Script Task is the chunk of C# code, it can be treated as other C# code in the system.

The article provides steps to perform debugging, please use them to debug Script Task.

Regards,

Anastasia

Anastasia Botezat,

Hi Anastasia,

When I do download package to file system there is no .cs file under my business process folder, this business process should contain the script task of my business process for me to debug it in visual studio

Dear Fulgen,

I am sorry to hear that you experiences difficulties with this approach. I would like to offer you another approach to debug server code. I hope you will find it more suitable to work with:

https://academy.bpmonline.com/documents/technic-sdk/7-12/server-code-debugging

Regards,

Anastasia

Anastasia Botezat,

Hi Anastasia,

I already done this application setup below

I also made sure that the value of CompilerSourcesTempFolderPath directory is existing. But no schema source code was exported.

 

Dear Fulgen,

Please revert all that you do on the screenshot, this approach is deprecated. Afterwards, please change only one thing from the main article https://academy.bpmonline.com/documents/technic-sdk/7-12/visual-studio-… and this thing is setting:

<fileDesignMode enabled="true" /> in the main Web.config file and <add key="UseStaticFileContent" value="false" />



After that compile the application, and within the compilation following folder will be populated with all of the .cs files that you need:

your_path_to_bpmonline\Terrasoft.WebApp\Terrasoft.Configuration\Autogenerated\Src

Taking the file that you need into the new visual studio library project, you can attach the project to the IIS bpm'online process and debug the file as it described in the old article:

https://academy.bpmonline.com/documents/technic-sdk/7-12/server-code-de…

but skipping the part of the configuration. This will be the simplest approach: To take configuring steps from the new article but debugging from the old one.

Also, you may need to compile the system twice, before and after connecting to the IIS process in order to .cs files be exactly the same, in another case if files will be different, the breakpoints in visual studio will be gray and will not work.

Moreover, try to copy the file to a new project and place breakpoints in them, and try to drag and drop the original file from Terrasoft.WebApp\Terrasoft.Configuration\Autogenerated\Src to the main window of visual studio and place breakpoints in them too, after the attaching to the process and compiling the system, one of the approaches will definitely work for you.

 

Show all comments

Hi Team,

Does anybody worked on Single sign on between BPMonline and other application? I have a button in the Contacts object which will redirects to the another cloud application. This button will open app in a seperate tab and user needs to login manually. I need to login to other application with BPM User name and password automatically. Currently my BPMOnline application is a cloud instance. I have read about one login and I am able to login to other application from one login but not from BPMOnline.

Please help if you have any solution.

Thanks,

Venkat.

Like 0

Like

1 comments

Hello,

You can use the SSO credentials to enter bpmonline system as well as other websites you choose, but you can’t use bpm’online credentials to log in to the external resources.

Show all comments

Question :

On the Product edit page, develop a new button or action for calculating product popularity. Popularity is calculated as the ratio of the number 

 of products in invoice records that contain the current product, to the total number of products in invoice records. Display the calculation result 

 as a percentage using the message window.

how to solve it by esq?

Like 0

Like

1 comments

Dear Mohamad,

Please see the ESQ example below. The method can be triggered by the button click on th product page.

checkProductNumber: function() {
				var currentProduct = this.get("Id");
				var esq = Ext.create("Terrasoft.EntitySchemaQuery", { rootSchemaName: "InvoiceProduct" });
				esq.addColumn("Product");
				esq.filters.add("Product", Terrasoft.createColumnFilterWithParameter(
					Terrasoft.ComparisonType.EQUAL, "Product", currentProduct));
				esq.getEntityCollection(function(response) {
					if (response &amp;&amp; response.success) {
						var quantity = response.collection.collection.length;
						if (quantity &gt; 0) {
							var esq1 = Ext.create("Terrasoft.EntitySchemaQuery", { rootSchemaName: "InvoiceProduct" });
							esq1.addColumn("Id");
							esq1.getEntityCollection(function(result) {
								if (result &amp;&amp; result.success) {
									var total = result.collection.collection.length;
									this.showInformationDialog(quantity / total);
								}
							}, this);
						} else {
							this.showInformationDialog("This product is not indicated in any invoice.");
						}
					}
				}, this);
			}

Hope you will find it helpful.

Regards, 

Anastasia

Show all comments