Is there a way to capture the Request message from a Call Web Service activity for debugging?

Like 0

Like

3 comments

Dear Glenn,

You can use Fiddler to catch requests that are being sent to and from the application and use it for debbuging. But you will be able to do it starting from 7.13.2 version of the applciaiton. Until that you can either create the functionality and then use it after the upgrade or create the request on c# via a script task element.

Best regards,

Oscar

Oscar Dylan,

Both bpm'online and the service are in cloud, so I cannot use fiddler.  What is the target release for 7.13.2?

Dear Glenn,

You will be able to use fiddler to catch requests even if the instance is located on-cloud. As for 7.13.2 version - please take a look at release notes here https://academy.bpmonline.com/documents/bpmonline-release-notes-7-13-2.

Best regards,

Oscar

Show all comments

I am trying to import the relationships via an excel file and have followed all the steps in making the file ready and matching the required data types etc.

The file is getting imported and I get a notification that my file has been imported but I can not see the relationships popping up under those accounts and contacts.

Could someone help me debug this or let me know if I am doing something wrong.

Thanks in advance

Regards,

Abhinav

Like 0

Like

2 comments

I get this notification: Import complete. 1 of 1 records imported from the source file "AK_Relationships.xlsx".

Hello

The Relationship table has following columns: http://prntscr.com/mkwsvu

In order to import relations you need to populate the RelationTypeId, ReverseRelationTypeId, Active, AccountAId(ContactAId) and AccountBId(ContactBId) columns. Please note, that you need to fill in the columns with the precise names in order for these relations to be connected to the existing records. Else, the duplicates might be created.

Best regards,

Matt

Show all comments

Hi Community,

Is there a way to hide some fields on search dropdown? Basically what is happening right now all fields are being shown on the list.

 

Like 0

Like

1 comments

Dear Fulgen,

You can do that in the following way:

1) Open the replacing object that is usually in the Custom package (in the configuration).

2) Open all settings of the object: http://prntscr.com/ioprlo

3) Then you can set the usage mode for the column is None.

Please note that if you set such usage mode for the column, you won't be able to filter the records by it but also you won't be able to add this field to be displayed in the tile or list view in the section. 

Best regards, 

Dennis

Show all comments

Hi, I am trying to add a new detail in the Detail wizard but it's asking for the object and not sure how to create that.

 

Any help will be appreciated.

 

Thanks.

Like 0

Like

1 comments

Dear Aaykay,

The system may request you to choose the object where you want to add the new detail. For instance, if you choose the Accounts from the list, the detail will be referring to the Accounts object http://prntscr.com/mjc55 Here is the article for more details 

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

If you need to add a new object here is another resource that will help you out:

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-entit…

Best regards,

Dean

 

Show all comments



Hi,

 

I am trying to view the tables within BPM online and the content within the tables.

 

Is there a way to view the tables and the content and be able to use queries to access the data?

 

Thanks in advance

Like 0

Like

1 comments

Hello, 

You can see all tables with it's content in the Lookup section in system designer. For that you would need to create a lookup connected to the needed object. You can't use queries in the lookup, though. for this purposes The marketplace app SQL Executor can be used. https://marketplace.bpmonline.com/app/sql-executor-bpmonline

Best regards, 

Dennis

Show all comments



Hi,

 

I am trynna use Data Import Wizard just to check the import mapping of my fields with the BPMOnline fields for the contacts table but all I get is this as in the image below. Not sure why teh fields are not showing up.

 

Any suggestions?

 

Or if I ma doing the process wrong, please let me know.

 

Thanks in advance.

Like 0

Like

3 comments
Best reply

Got it sorted by removing the columns from the Excel that would not match with the Columns in tables within Bpm Online and it worked fine.

Not sure how that worked out but was able to upload the contacts.

Angela Reyes writes:

Hello,

Please submit a case to support@bpmonline.com. We will be glad to help you!

Best regards,

Angela

Not sure what's the point of having a "community" is then if you're gonna give solutions via emails.

 

But will do that.

Got it sorted by removing the columns from the Excel that would not match with the Columns in tables within Bpm Online and it worked fine.

Not sure how that worked out but was able to upload the contacts.

Angela Reyes writes:

Show all comments

Hello,

How can we bind the value of the system setting "HasContactMiniPageAddMode" to SVN?

after changing the value to "false", we add data binding for this "SysSettingsValue" where system setting code equals to HasContactMiniPageAddMode we get a warning:

"The record with Id "a0849de9-b4e5-408d-a75c-4551e3e0b9c0" is already bound in the data "SysSettingsValue_ContactMiniPageForAddMod" of package "UIv2" for schema "System setting value"

Like 0

Like

5 comments

Hello ayman,



To achieve it you should set instalation type = Update existing and check column [Forced update]

[Update existing] - when updating a package, only those object columns that are marked with [Required for update ([Forced update]) in the [Columns] group will be updated. This type of installation is used, for example, when delivering hotfix updates!



Best regards,

Alex

Alex_Tim,

 

I still get the warning when saving the data binding with [Update existing] installation method chosen, should this not be the case? I have forced update set on the system setting I'm updating as well. Presumably this warning can be ignored, since the data is bound in another (OOTB) package which won't be installed with my package, but it does seem odd that the warning is still shown.

Hello Harvey, 

 

Could you please specify why do you need to bind the data that is already in one of the base packages?

 

Thank you in advance for your reply!

Olga. 

Hi Olga, in this case it's because I'm binding the default maximum repetitions of Business Processes system setting to the package to a higher number, but in general just to be able to bind any pre-existing System Setting to the package.

Harvey Adcock,

 

Thank you for the clarification! This warning has no impact on data binding. 

 

Best regards,

Olga. 

Show all comments

Dear Team,

                 Please help me How to Save File from base64 string in a web service.please share any sample code.

 

Regards,

Sekhar K.

Like 0

Like

2 comments

Hello Sekhar,



If we speaking about converting base64 string to a file you can check the possible realisation of this case here: https://snipplr.com/view/6034/base64-encode-or-decode-a-file/



Also, when the task is to upload file to bpmonline, OData service is used for that purposes, here is an example:  https://community.bpmonline.com/questions/how-upload-attachments-odata



If you have any questions, please specify more precisely what exactly you are trying to achieve.



Best regards,

Alex

Thanks Alex.

 

Show all comments

I'm trying to pass a Guid from a script task to a subprocess.

Here is the entire process: http://prntscr.com/mc2cmv 

The code of the script task is:

 

var pipelineId = Entity.UsrPipelineId;
 
//pass pipelineId to GenerateUBOPositionSubProcess
 
return true;

What would I have to write? The subprocess has a parameter defined that is named PipelineId (http://prntscr.com/mc2ej9).

Like 0

Like

5 comments

You can set process parameter in the script:

Set("PipelineId", pipelineId);

That sets the parameter for the process that contains the script task, but not for a subprocess that is further down the line from the script task (see the first link I included), I thought? Or do processes and subprocesses share parameters?

Dear Jonas,

You can use this coder to pass the value:

UserConnection userConnection = Get<UserConnection>("UserConnection");

IProcessEngine processEngine = userConnection.ProcessEngine;

IProcessExecutor processExecutor = processEngine.ProcessExecutor;

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

int parameter1Value = 100;

nameValues["parameter1"] = parameter1Value.ToString();

processExecutor.Execute("UsrProcessCustom", nameValues);

return true;

Best regards,

Dean

Thank you. I will start testing this today. 

Now I need to know how to get data back from that process. Is that possible?

Dear Jonas,

You can try to add another element in your subprocess and use the same script to pass the values back to the parent process. 

Dean

Show all comments

I am trying to add an auto-numbering field on Opportunity.

https://academy.bpmonline.com/documents/technic-sdk/7-13/how-add-auto-numbering-edit-page-field

I successfully did this with the Product object just like the guide said. It was very easy.

But when I try to do the same thing on Opportunity, there are some differences. Opportunity does not have the inherited Code –property or the methods called in the code under onEntityInitialized()

I have only tried the client-side solution.

Best regards,

Like 0

Like

6 comments

Hi, Julius!



As you have your own field in Opportunity (e.g. "UsrCode"), so you can use:



    onEntityInitialized: function() {

                 // onEntityInitialized method parent realization is called.

                this.callParent(arguments);

                // The code is generated only in case we create a new element or a copy of the existing element.

                if (this.isAddMode() || this.isCopyMode()) {

                    //  Call of the Terrasoft.BasePageV2.getIncrementCode base method, that generates the number 

                    // according to the previously set mask. 

                    this.getIncrementCode(function(response) {

                    // The generated number is stored in [Code] column.

                        this.set("UsrCode", response);

                    });

                }

            }

Dear Julius,

Since opportunity section does not have an existing Code column, you can create one using means of section wizard.

No special methods needed for new column, since we are calling parent realization in the onEntityinitialized method, which has the logic of working with auto incrementing. Just be sure to indicate your custom column in the this.set method by its name, but not title.

As for the back end realization of the auto incrementing, follow the instructions just the same, but indicate name of the custom column.

Regards,

Anastasia

 

Anastasia Botezat, Vladimir Sokolov,

I tried this again. But it's not working. No value gets set.

I have created the System Settings, the Property on Opportunity, And I have adjusted the JavaScript to have the correct string value, "UsrCode".

It's not working this time either. Is the on-client method unavaliable on the Opportunity object?

Maybe the Opportunity object does not know the Systems Settings i Created. The system settings code names are : OpportunityLastNumber and OpportunityCodeMask

UPDATE : It is working while using Copy. But no Code is set when adding an Opportunity with the Mini-Page. I am now working on this. Any advice appreciated.

UPDATE 2 : Creating and Copying works as long as I do not have a Mini-Page. I tried to add the same JavaScript in the MiniPage methods{}. But that's not working. Any tricks to use MiniPages?

Julius,

The auto increment logic is not a part of basic mini page logic. The 

getIncrementCode method is written on the BasePageV2. However, mini pages are inherited from BaseMiniPage, which does not have such method.

You can add the getIncrementCode method realization to the mini page, so that it will execute the logic. 

As for the back-end part, the changes are displayed on the client side only after record is saved. Therefore, it is impossible to view the code value on the opportunity page immediately. 

Regards,

Anastasia

Anastasia Botezat,

 I did not get this to work with Mini-Page. I have anyway decided to work without the mini-pages. When Creating a Opportunity I just get the regular edit page where the incremented numbers work fine. Thank you.

Anastasia Botezat,

Hi,

This dint worked  even to me. 

https://community.bpmonline.com/questions/auto-increment-issue

I have posted the issue in detail in the above link. Please help!!!!

regards,

Sriraksha

Show all comments