Question

Hi, 

There is any way to get contactId by cotnact mobile number from API?

 

Greetings,
Cezary Rynkowski

Like

1 comments

It can be implemented in 2 ways:

1) by using $filter expression of the OData protocol. Please feel free to find examples in the article by the link below:  https://academy.bpmonline.com/documents/technic-sdk/7-13/examples-requests-filter-selection

2) by creating a custom configuration service. The article by the link below describes the entire process of implementation: https://academy.bpmonline.com/documents/technic-sdk/7-13/how-create-custom-configuration-service

 

Log in or register to comment
Question

Hi

We have a use case where we need to send outgoing Emails from business processes through an generic SMTP Email server (Not an email service provider like Office365 etc). We have the IP , port number and service credentials of the SMTP server. Find below a few questions we would like get clarity on - 

1. We understand that the typical way would be to add the SMTP Server in the Email providers lookup, create a mailbox for a valid Email account attached to the Email server and use it in the Email process element in the Business process designer. We suspect that the SMTP server we are dealing with is a generic one setup on the client's premises and not that of an actual Email service provider like Office365. Is there a way to send Emails through this SMTP server without having to explicitly create a mailbox for it?

2. We notice a few System variables related to SMTP like 'SMTP Login' , 'SMTP Username' etc. Where are they used and what are they meant for? Can these be used to send outgoing Emails through SMTP without explicitly creating a mailbox?

Greatly appreciate any help here!

Regards
Shrikanth

 

 

Like

0 comments
Log in or register to comment
Question

Hi , 

 

If I have to change the the Order Name like Opportunity Name +Order Num , how can we do it ?

 

Like

1 comments

Dear Shailey,

You can do that with business process which would trigger anytime a new order is created, read the order name and its opportunity name and modify the number with simple formula http://prntscr.com/p840wa which will combine the Order number and Opportunity name. Once the process is executed- you will get the required result http://prntscr.com/p841am

Best regards,

Dean

Log in or register to comment
Question

How is the email address that Need Help emails are sent to determined?  Can it be set to a local resource rather than bpm'online?  As we release processes to our users, I would want Need Help emails to go to our System Administrators, or have it spawn a custom request process, rather than going to bpm'online, so that our System Administrators review any help requests before they are escalated to bpm'online support.

Like

1 comments

I believe this is stored in the "Emails to connect our technical support" system setting (code "SupportEmailDef")

Ryan

Log in or register to comment
Question

Hi,

In the release notes for 7.14.4 there is a new feature that allows you to have a single field with a multiple choice selector. Our platform has been upgraded, but I cannot find how to add such a field to one of my pages.

Is there any further information on this feature, as we have been wanting such a thing for a while now.

You can now create details with multiple values (connection of “many-to-many”) using a separate junction table. For example, multiple values are available for selection in the [Activity results] lookup.

Source - https://academy.bpmonline.com/documents/bpmonline-release-notes-7-14-4

Like

3 comments

If it can be done in Low Code, it would be great

 

Stéphane Banon2,

Well that is what the release notes indicate, but as I cannot find it I am unsure. There is no new field type on the left list and within the Lookup field type settings there is nothing related to it being a multi select field.

I am sure they are not teasing us all, as the custom coded method is WAY to complicated to expect users to implement across their instances.

Any comment from bpm'online ?

Log in or register to comment
Question

I have this Email template using Lead object as base.
The macro for the Owner Email will not work, but the MobilePhone and other will work perfectly.

Template

Result:

Like

0 comments
Log in or register to comment
Question

We created a virtual object, that is loaded with an external service. We add a button “Open” to the list rows that should open a new link page with more detailed information related to the selected row, do you have an example with that?

Like

7 comments

Dear Marcelo,

You can create a modal window, which will be displaying the needed data. General properties and behavior of modal windows are specified in the ModalBox and ModalBoxSchemaModulemodules of the NUI package. 
We do not have a exactly fitting example, though you can use and modify the following.

The algorithm of adding modal windows is:

1. Create a page for modal window. Use Base modal box page schema as a parent object:

 define("UsrMyModalPage", [], function() {
	return {
		attributes: {
			"TestText": {
				dataValueType: Terrasoft.DataValueType.TEXT,
				type: Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
				value: "Test value for modal"
			}
		},
		messages: {
		},
		methods: {
			init: function(callback, scope) {
				this.callParent(arguments);
			},
			getHeader: function() {
				return this.get("Resources.Strings.PageCaption");
			},
			onRender: function() {
				this.callParent(arguments);
				var moduleInfo = this.get("moduleInfo");
				var boxSizes = moduleInfo.modalBoxSize;
				var width = boxSizes.width;
				var height = boxSizes.height;
				this.updateSize(width, height);
			}
		},
		//Insert already existed Iframe
		diff: [
			{
				"operation": "insert",
				"parentName": "CardContentContainer",
				"propertyName": "items",
				"name": "MyGridContainer",
				"values": {
					"itemType": Terrasoft.ViewItemType.GRID_LAYOUT,
					"items": []
				}
			},
			{
				"operation": "insert",
				"parentName": "MyGridContainer",
				"propertyName": "items",
				"name": "TestText",
				"values": {
					"bindTo": "TestText",
					"caption": "Test text",
					"layout": {"column": 0, "row": 0, "colSpan": 10}
				}
			}
		]
	};
});

2. Insert modal box as a dependency to the page where it should be called and bind button click to modal window open function:

define("ContactPageV2", [ "MaskHelper"],
	function(MaskHelper) {
	return {
		entitySchemaName: "Contact",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		modules: /**SCHEMA_MODULES*/{}/**SCHEMA_MODULES*/,
		diff: /**SCHEMA_DIFF*/[
			{
				"operation": "insert",
				"name": "DonateButton",
				"values": {
					"itemType": Terrasoft.ViewItemType.BUTTON,
					"style": Terrasoft.controls.ButtonEnums.style.RED,
					"caption": "test",
					"click": {
						"bindTo": "donateButtonClick"
					}
				},
				"parentName": "RightContainer",
				"propertyName": "items",
				"index": 1
			}
		]/**SCHEMA_DIFF*/,
		messages: 
			{
				"GetModuleInfo": {
					direction: Terrasoft.MessageDirectionType.SUBSCRIBE,
					mode: Terrasoft.MessageMode.PTP
			}
		},
		attributes: {},
		mixins: {},
		methods: {
			subscribeSandboxEvents: function() {
				this.callParent(arguments);
				this.sandbox.subscribe("GetModuleInfo", this.getDonateModalBoxConfig, this,
					[this.getDonateModalBoxId()]);
			},
			donateButtonClick: function() {
				this.sandbox.loadModule("ModalBoxSchemaModule", {
					id: this.getDonateModalBoxId()
				});
			},
			getDonateModalBoxConfig: function() {
				return {
					"schemaName": "UsrMyModalPage",
					"modalBoxSize": {
						"width": "680px",
						"height": "400px"
					}
				};
			},
			getDonateModalBoxId: function() {
				return this.sandbox.id + "_DonateModalBox";
			}
		}
	};
});

You can add styles as well.

Hope you will find it helpful.

Regards,

Anastasia

Anastasia Botezat,

Hi Anastasia,

Thanks for the answer.  I tried to replicate what you reported, but my modal opens empty. Do you have any idea what it might be? Thanks.

Marcelo,

I have improved the code, so now it is only two schemas. Please check my first edited answer.

Regards,

Anastasia

Marcelo,

Hi Anastasia,

It worked! Now I need to know how to send my list values to Modal and add a close button in Modal. Thank you very much!

Marcelo,

Since you do not have data in the database, you can fetch it as you do it for the section. On the other hand, you can pass current context with its scope along to the modal while clicking on the button. Pick which approach you prefer more.

Regards,
Anastasia

Anastasia Botezat,

Do you have an example of how I can pass the context to modal? Thanks! 

Marcelo,

Check the article on sandbox messages. Draw your attention to the second parameter of the message, which can pass arguments.

https://academy.bpmonline.com/documents/technic-sdk/7-13/sandbox-module-message-exchange

Log in or register to comment
Question

I created a page to inherit from "FileDetailV2" and I need to open the linkpage I created from "LinkPageV2". Double clicking on the grid is called the original page and not the one I created. Thanks!

Like

1 comments

Dear Marcelo,

Firstly, there is no such function in the FileDetailV2 as "merge". The function you want to override is "init".

If you intend to change parent schema method realization you need to create a replacing schema and in its methods block you write the function with its original name, since otherwise how would JS engine know you want to override exactly this function. If you intend to modify the basic code, you copy the whole basic code from the function and modify just the needed part, leaving other as it is.

Secondly, "merge" operation is legit only for the diff section of the schema.

Regards,

Anastasia

Log in or register to comment
Question

Hi

I have been trying to install bpm'online on localhost (Windows 10). But, MicroSoft .NET Framework 4.7.2 is not supporting in windows 10. So, I was unable to move to the next step. Can anyone please help me?

Like

7 comments

Can you elaborate on the error you get? 

Hope you are following the instructions given in https://academy.bpmonline.com/documents/administration/7-13/installing-bpmonline?document=studio. Also make sure that Web Server IIS and Windows components are enabled and installed.

I have tried bpm'online installation in windows 8.1. I have done all the steps which are there in the bpm'online academy. At last I got below error.
 

 

Kindly check if you have created an IIS APPPOOL\databasename in Microsoft SQL server Management studio

Ideally once the "Restore Database" is complete, and in IIS when "Add website" action is done, an Application pool is created. Please make sure that the Site Name is the same as the name used in Microsoft SQL server Management studio, where the Restore Database is done. 

In Microsoft SQL server Management studio, Security->Logins->New login
Provide the login name as IIS APPPOOL\Your_db_name. Also check if the Server Roles tab inside the New Login has all server roles tick marked except "bulkadmin".

 

Hello,

The error description tells you what is the reason - you cannot connect to SQL database using parameters specified in Connection.String.config file when trying to login to the application. It is as a must to use database administrator user in Connection.String.config file (please read about it here). Seems that your user is not a database administrator with full access rights. Also you need to specify Windows administrator system user login parameters (with domain name) in "Identity" parameter of IIS application pool settings http://prntscr.com/p7a2u8, recycle pool and refresh the application and if everything is set properly - you will be able to login.

Best regards,

Oscar

Thanks to all for your quick response. I have installed bpm'online on localhost.

Log in or register to comment
Question

I have been struggling very much with handling collection type response parameters in web services.

When response parameters are or normal type they are very easy to handle in the business processes. Here we are able to handle them as parameters on the Call web service process element. And use these in the process right away.

When there is a Collection which is returned, this is very different. Now the Call web service element parameter is of type Collection of Objects with attributes.

It seems to me that this parameter-type is very difficult to handle in the business process. I can't seem to find documentation in the Academy about how to extract and loop through the contents of the Collection of Objects with attributes.

What I have found in the academy is this article about setting up the Web service.
https://academy.bpmonline.com/documents/administration/7-14/adding-resp…

What I need to learn is how to handle them in bpm'online business processes.
Is there something about this in the Academy?
Is writing source code the only option? It's difficult to debug.

Like

3 comments

Dear Julius,

Unfortunately, it is impossible to handle parameters that have the “collection of object” type without using the source code.

Therefore, in this case we recommend using “ScriptTask” element for both calling the web-service and processing the results of call.

For more detailed assistance, please contact technical support.

Best regards,

Norton

Norton Lingard, Thank you. Is there anything like this in the academy? Because there is a special bpm'online syntax to go by in the source-code.

Dear Julius,

The service call in a "Script task” business process element can be implemented via native C#. Please find a lot of examples on how to do that in Google. For example, several links below:

https://stackoverflow.com/questions/9620278/how-do-i-make-calls-to-a-rest-api-using-c

https://code-maze.com/different-ways-consume-restful-api-csharp/

Please note that it is possible to use the native C# collections instead of working with the the special bpmonline collections.

Best regards,

Norton

Log in or register to comment