Question

http://jsfiddle.net/pmrotule/w7aakdbb/

see the link same functionality i want to implement in bpm online and data is store in database.

Can you please guide me how to approach 

Like

3 comments

Hello!

It is possible to implement the following idea with the help of a detail on the page. You can read the implementation instruction in the article below:

https://academy.bpmonline.com/documents/technic-sdk/7-12/creating-detai…

Matt

but its grid 

i want to select the options in lookup(dropdown)

any one give the silution for Select multiple options in dropdown list

Log in or register to comment
Question

Hi everyone,

I need to call a sub-process from a C# script task, I found this code:

var showAdressProcessUId = new Guid("abfbf7ee-e499-45e9-9d22-b9e91a46683d");
var manager = UserConnection.ProcessSchemaManager;
var schema =  (ProcessSchema)manager.GetInstanceByUId(showAdressProcessUId);
var moduleProcess = schema.CreateProcess(UserConnection);
moduleProcess.SetPropertyValue("PageInstanceId", PageInstanceId);
moduleProcess.SetPropertyValue("ActiveTreeGridCurrentRowId", ActiveTreeGridCurrentRowId);
moduleProcess.SetPropertyValue("TreeGridSelectedRowsIds", TreeGridSelectedRowsIds);
moduleProcess.SetPropertyValue("SchemaName", "Contact");
moduleProcess.SetPropertyValue("RouteMode", false);
moduleProcess.Execute(UserConnection);

From ShowContactAddressOnMapProcess

If I use it for my process:

var _sendMailId = new Guid("84e96844-b0ae-4edc-8b5e-20d1ba13fb8b");
var _manager = UserConnection.ProcessSchemaManager;
var _schema = (ProcessSchema)_manager.GetInstanceByUId(_sendMailId);
var _moduleProcess = _schema.CreateProcess(UserConnection);
_moduleProcess.SetPropertyValue("Test1", "Something");
_moduleProcess.Execute(UserConnection);

Throws this exception :

Terrasoft.Common.InvalidObjectStateException: missing property "Test1" of type "ProcessComponentSet".

 

I would need to know how it works or another way to do it, I need to call a sub-process inside a for loop.

Thanks.

Like

2 comments

Dear Ezequiel,

It is nor recommended to use sub-processes and the processes in general for such purpose. Technically you can call a business process from a business process. But if you correct the code above and execute it  the system will freeze and the processes will block each other. All users meanwhile will not be able to use the system properly.

Please adjust the business-purpose you want to achieve in order to avoid using business-processes or find another architecture solution.

Oliver

Hi, 
I see, I'm trying to send an email inside the loop, but I can't find in any of the existing process how to send an email with a template though a script task.

If someone knows how to do it or has an example, I would appreciate it if you could explain it or show it to me.

Thanks.

Log in or register to comment
Question

How to select the multiple options in dropdown list in bpm online

Like

5 comments

The main question is what you're going to do with the selected data. You will not be able to insert multiple values into a field on a page. A field is just a cell in a table. In order to process multiple values you need either write your own JS code or use a detail.

Anyway, you can open a multiple selection lookup page with the "LookupUtilities" module. There is an "OpenLookup" method there. Specify the "multiSelect" property and you'll be able to select multiple values. 

http://prntscr.com/k72fh6

Eugene Podkovka,

selected options in dropdown  are stored in database in bpm online tool

 

Eugene Podkovka

http://jsfiddle.net/pmrotule/w7aakdbb/

see the link same functionality i want to implement in bpm online and data is store in database.

Can you please guide me how to approach 

kishore,

The detail with the multiple selection would be the closest thing you can get:

https://academy.bpmonline.com/documents/technic-sdk/7-12/creating-detai…

You will be able to place a detail on a page and  select multiple enties.

Matt

Matt Watts,

my output not like that 

my output see below link

http://jsfiddle.net/pmrotule/w7aakdbb/

Log in or register to comment
Question

Versions of application "7.11.0.3122" and configuration "7.12.1" are incompatible

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Terrasoft.Common.AppStartupException: Versions of application "7.11.0.3122" and configuration "7.12.1" are incompatible

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Like

1 comments

Dear Ruchir,

This message appears, because you are trying to update the version from 7.11.0 to 7.12.1 directly. For successful update you need to do step by step update through all intermediate versions of the instance. Please contact our support team and they will provide you with all necessary installation files. After that you should install them one by one till 7.12.1 version and it will do the trick.

Best regards,

Oscar

Log in or register to comment
Question

Is it possible to put a button (or custom link) on the side bar, where sections are? If it's not possible with the current framework - do you think it would break something if such button was placed there using jQuery?

Like

2 comments

Dear Carlos,

You may try add a usual custom section, put it at any workplace you want and then override init function in section module:
init: function() { window.location.href = "http://bpmonline.com"; }

After clicking on this section http://bpmonline.com page will be opened.

If everything works fine you can delete all unnecessary code created by Section Wizard leaving only the needed one to your section work properly.

You may add everything on the page using jquery but you should be careful with it. Of course you can break something if do it in a wrong way but it's related to any code that developers write.

Thank you very much, it worked.

Log in or register to comment