Question

Hi Community,

Any idea how we can customize the BPM mobile layout, including background

Like

1 comments

Dear Fulgen,

You can apply your custom styles to the mobile application. Styles (CSS) can be changed in the configuration. To do this, use the Terrasoft.writeStyles method. Presumably, an example is available in MobileActivityGridPageV2. 

Here is more about customization possibilities within mobile application in the thread:

https://community.bpmonline.com/questions/customization-capabilities-mobile-plataform

Regards,

Anastasia

Log in or register to comment
Question

Hi Community,

Just like overriding the save button save() and onsave() method in web, how we can do it in bpm mobile?

 

Like

0 comments
Log in or register to comment
Question

Hi Community,

Any idea which process is behind the giving of lead name. I want to modify it and give our own naming convention.

 

Like

1 comments

Hi Fulgen,

Create a replacing object with Lead as Parent object..

Please open the replacing object in the object designer. When you click on any events of the object, you will be navigated to the object's event designer. There you can find a method named "UpdateLeadName" which can be referred in the attached screenshot.

When you double click the method, you can find the script task where you can alter the existing naming convention for Lead name.

 

Thanks,

Abinaya

Log in or register to comment
Question

Hi Community,

Any idea how we can display all the records in detail instead of showing 'show more' button in the detail grid.

Like

1 comments

Dear Fulgen, 

10 displayed records limitation has been designed to enhance user experience and system performance. You can have a big number of records in the detail object, therefore, in case they all will be displayed at once this will make your page load longer. If to take into account that there is not a single user, but some amount of users using this detail, it will multiply the load to a server. 

Please use filters on the detail to quickly navigate through detail records. 

Regards,

Anastasia

Log in or register to comment
Question

Hi Community,

Every after record item changes, I am calling this method this.reloadGridData() to refresh the grid in order the recent changes will be displayed.

Now I want after reloading, I want the last active row to be re-selected again. Any idea how can I possibly do this?

Like

1 comments

Start from debugging the reloadGridData method and find how it works. Keep your attention on the "onGridDataLoaded" method. Additionally, please debug and find what happens after selecting a record.

Log in or register to comment
Question

I am not able to save the process even though I have that lookup and the values in that and I am not getting how to solve this issue

 

 

 

Schema has errors: OpenEditPageUserTask1.RecordColumnValues.guptaStatus [Error while executing expression "[#Lookup.Status.New#]": Formula value error: Expression expected (at index 0).].

Like

3 comments

Hello! 

Could you please send a screenshot of the OpenEditPage settings? 

Best regards,
Dennis

Dennis Hudson

Yeah sure

Gupta,

It is likely that on your Request object in configuration you have default value of the Status field populated with the value (of the lookup) that was deleted from the system. In this case you would need to go to configuration and remove this value from default value of the Status column, after that publish an object. 

Best regards, 
Dennis

Log in or register to comment
Question

according to my need I have created a new custom detail by following these steps:-

1) I've created a new object for my detail.

2) Next, using detail wizard I have created a new detail using the created object and then I have added few fields and that detail  I have added to my account section.

everything is working fine, but when I have tried to fill the fields  and save first under same account it was saved, but using the same account I tried to another one by filling the fields then I got this error how can I get out of this

 

Violation of PRIMARY KEY constraint 'PKKOuATTzB7cDsHskkp5OVQlx5Jog'. Cannot insert duplicate key in object 'dbo.guptaCompanyFleet'. The duplicate key value is (cad50d15-f28d-49fc-aa79-21615ac35b86). The statement has been terminated.

 

Like

5 comments

Hi,

Check on what foreign key it is triggered and investigare connection in DB.

You may use this script: 

Select C.*, (Select definition From sys.default_constraints Where object_id = C.object_id) As dk_definition,

(Select definition From sys.check_constraints Where object_id = C.object_id) As ck_definition,

(Select name From sys.objects Where object_id = D.referenced_object_id) As fk_table,

(Select name From sys.columns Where column_id = D.parent_column_id And object_id = D.parent_object_id) As fk_col

From sys.objects As C

Left Join (Select * From sys.foreign_key_columns) As D On D.constraint_object_id = C.object_id

Where C.parent_object_id = (Select object_id From sys.objects Where type = 'U'

And name = '%Table name%') and type_desc = 'FOREIGN_KEY_CONSTRAINT' -- and C.name = 'PKKOuATTzB7cDsHskkp5OVQlx5Jog' 

Best regards,
Angela

Hi Gupta,
Please check the below following points.
1. Check whether correct lookup is mapped to the field in the detail. For example - Consider you are placing the Company fleet detail in Account's section, Company fleet detail should have a lookup mapped to Account.
2. Check whether the detail is properly mapped with correct field to the section in the section's edit page. For example - detail column should be the lookup which is pointing to 'Account' and the object column should be 'Id' of the account section.
3. If the error still persists, check for any key constraints as suggested by Angela using the above script in sql console.
Thanks,
Mohamed.

Hi Angela thank you for your reply, but how to connect to database or how to find the sql database.

 

Gupta,

If it is installed on premise you can connect to it via SQL manager, otherwise you can use SQL executor application

Angela

Yeah OKay thank you for your reply

 

Log in or register to comment
Question

Hi Community,

Any Idea, how can I retrieve not only the unique identifier of the deleted record but also the parent foreign key of the deleted record on delete signal?

My scenario is:

On deletion of a child record, I want to create a business process that will be triggered on delete signal. Then do the re computation of the total amount on parent record after the deletion of the child record. But the problem is on delete signal I can only retrieve unique identifier of the deleted record, I need also to retrieve the parent foreign key of the deleted record for me to re compute and update to total amount of the parent record.

Thanks,

Like

4 comments

Dear Fulgen,

If a process that starts on record deletion is started not in the background you can simply add "read data" element that will read all data needed from a record that is deleted. 

Best regards,
Angela

Angela Reyes,

Hi Angela,

Thanks for the reply.

Can you show me example how can i design this logic on business process.

Fulgen Ninofranco,

Just uncheck "Run following elements in the background"

checkbox (http://prntscr.com/o2rt5q) and read all data from the record with this Id. 

Thank you Angela, this solves my problem

Log in or register to comment
Question

Dear Team,

                 Please share Hierarchy list view implementation.

 

Regards,

Sekhar.

Like

1 comments

Dear Sekhar,

You can install this application https://marketplace.bpmonline.com/app/hierarchy-list-view-bpmonline

If you need to develop similar functionality - feel free to analyze its source code and refer to it as an example. 

Best regards,

Dean

Log in or register to comment
Question

Hi,

I would like to know how can i trigger 'someMethod' by adding, editing or removing something in my detail.

 

Like

4 comments

Dear Pedro,

Please find the options to trigger your custom method:

adding:

you can override the addRecord method of BaseGridDetailV2 to launch your custom method along with parent realization.

editing:

You can create a new attribute on the page schema, which will trigger method "methodName" based on the changes in indicated columns:

"Probability": {
    // Determination of the column dependency.
    "dependencies": [
      {
        // Depends on the "Stage" column.
        "columns": [ "Stage" ],
        // The name of the handler method for the "Stage" column change.
        // setProbabilityByStage() method is defined  in methods property
        // of schema object.
        "methodName": "setProbabilityByStage"
      }
    ]
  }

delete:

you can override the basic deleteRecords method on the detail schema, so to run your custom method after, or before parent realization of the method.

Regards,

Anastasia

Anastasia Botezat,

 Hi,

I've tried to override "deleteRecords" method on my detail schema page, and didn't work, I think its because of package dependencies but I'm not sure.

Pedro Pinheiro,

The "deleteRecords" method does work on the detail schema. Please debug the code, so to narrow down the possible cause. Here is an instruction on the client side debug:

https://academy.bpmonline.com/documents/technic-sdk/7-13/client-code-debugging

Regards,

Anastasia

Anastasia Botezat, I manage to fix my problem using "onDelete" instead of the "deleteRecords" method.

Thanks for your response.

Log in or register to comment