Hi Community,

I have a custom business rule which is below

this is working fine, on case creation on value change of field incident type subject is being populated. however after saving the case record and creating the second case this rule is not being executed (i tried to debug it to see, the break point is not being hit). It will work again after i do synchronization, it seems something is caching after making the first case record. Please suggest how i can fix it. 

Like 0

Like

1 comments

Dear Fulgen,

We tried to reproduce the issue, however we were not able to face it. The system worked properly on our side. The business rule was executed successfully after second record creating. Therefore, it is not possible to determine exactly the root cause of the issue now. Please try to compile the application. If the issue occurs again please contact technical support.

Best regards,

Norton

Show all comments

Hi Community,

In mobile how can I change the display name of column in Grid/List Page just like in web application we can change the column display name in "Section->Select fields to Display".

 

Like 0

Like

1 comments

Dear Fulgen,

Unfortunately, it can be done only with development. Here is the example of how this can be implemented. As an example I'm changing the title of the Account column on the Contact page. 

1) Create a custom module http://prntscr.com/qdktu7 (e.g. UsrCustomMobileContactModuleConfig)

2) In the module write the following code (http://prntscr.com/qdkuqi): 

Terrasoft.sdk.RecordPage.configureColumn("Contact", "primaryColumnSet", "Account", {

    label: "Test"

});

Where Contact is the model where the column is located, primaryColumnSet is the column set (primary, in a detail, in a custom column set), and the Account is the name of the column itself. 

"Test" is the name of the localizable string where you set the title of the column (http://prntscr.com/qdkx0d)

3) Replace the MobileApplicationManifestDefaultWorkplace and add  UsrCustomMobileContactModuleConfig in the Contact model in the PageExtensions (http://prntscr.com/qdky13)

4) Compile the application and synchronize the mobile application 

After that the title is changed (http://prntscr.com/qdkyle)

Show all comments

Hi Community,

How we can do Multiple Selection on Mobile Section List?

 

Like 0

Like

1 comments

Hello Fulgen,

In the current out-of-the-box functionality there is no way to select multiple records in the section list using mobile application and problem regarding this topic is already present in a backlog of our R&D team. You can create your own logic of selection of several records in the list via development (try using multiSelect option in Terrasoft.controls.Select class), but we cannot guide you here since there was no practical implementation of this logic. I will also inform our R&D team about your question on the community so to raise the priority of the problem.

Regards,

Oscar

Show all comments

Hi Community,

Any idea how can I show records count summary in mobile section list just like in crm (please see screenshot below).

 

Like 0

Like

1 comments

Dear Fulgen,

Such functionality is available starting from the version 7.14.4

Here is the example of the accounts section http://prntscr.com/pg7rwb

More detail are in the release notes:

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

Best regards,

Dean

Show all comments

I want to disable this feature, so when i'm come back open the section it's directly showing the data not the history.

any solution for this?

Like 0

Like

1 comments

Dear Ahmad,

You need to replace the schema MobileApplicationManifestDefaultWorkplace and add this part of the code.

 

"Models": {

      "Case": {

          "CacheConfig":

              { "Disable": true

         }

Here is the example how it would look like for the Cases section. You need to do the same for your custom section. 

http://prntscr.com/pdpvpz



Also, make sure the section is not listed in the system setting  'Mobile application section list whose data is displayed through search results only'. You can set the value 0, save it and re-login. 

After that, clear the mobile application cache and re-synchronize. 

Best regards,

Dean

 

 

Show all comments

Hi Community,

I used this below link to setup push notification in mobile

https://academy.bpmonline.com/documents/technic-bpms/7-11/how-set-push-notifications-mobile-application-users

Licensed users using mobile are getting push notifications but Portal users using mobile application is not getting push notification. Is there any other setup needs to do for portal users?

 

Like 0

Like

1 comments

Dear Fulgen,

The most possible cause is access rights to the object and settings for portal users. Please check the access for the following objects:

PushNotificationToken

PushNotificationService 

Regards,

Anastasia

Show all comments

Hi all,

Is there any way to read all the existing records of sections in the mobile app without setting up individual filters? If yes, how?

 

Thanks 

Like 0

Like

1 comments

The mobile application doesn't have a section that contains all data. However, it's usually not needed. Probably, it will be possible to give you more information if you describe the business task.

Show all comments

Hi Community,

In mobile application Conditional columns is not working in rule type requirement. Below is my code.

Terrasoft.sdk.Model.addBusinessRule("Case", {

    ruleType: Terrasoft.RuleTypes.Requirement,

    requireType : Terrasoft.RequirementTypes.Simple,

    events: [Terrasoft.BusinessRuleEvents.Save],

    triggeredByColumns: ["UsrIsClosed"],

    conditionalColumns: [

        {name: "UsrIsClosed", value: true}

    ],

    dependentColumnNames: ["UsrComments"]

});

I want column UsrComments to be required if column UsrIsClosed is true. The code above is not working, please suggest

 

Like 0

Like

7 comments

Eugene Podkovka,

Hi Eugene, Thanks for your reply

Module appears on the client end, manifest is also correct.

Using below code without conditionalColumns rule is working fine:

Terrasoft.sdk.Model.addBusinessRule("Case", {

    ruleType: Terrasoft.RuleTypes.Requirement,

    requireType : Terrasoft.RequirementTypes.Simple,

    events: [Terrasoft.BusinessRuleEvents.Save],

    triggeredByColumns: ["UsrComments"],

    columnNames: ["UsrComments"]

});

But the above code will not serve our purpose, we only require "UsrComments" to be mandatory if "UsrIsClosed" field is true.

That's why I created below code:

Terrasoft.sdk.Model.addBusinessRule("Case", {

    ruleType: Terrasoft.RuleTypes.Requirement,

    requireType : Terrasoft.RequirementTypes.Simple,

    events: [Terrasoft.BusinessRuleEvents.Save],

    triggeredByColumns: ["UsrIsClosed"],

    conditionalColumns: [

        {name: "UsrIsClosed", value: true}

    ],

    dependentColumnNames: ["UsrComments"]

});

Please suggest, how I can use "conditionalColumns" attribute for rule type requirement.

Fulgen Ninofranco,

The code seems like correct. Try to restart the application pool and synchronize the mobile application again. 

http://prntscr.com/oyo0vz

Eugene Podkovka,

Thanks Eugene.

We already did the restart and synchronize but still not working. I also noticed one thing in the documentation. "conditionalColumns" is not discussed here as part of the attributes of rule type requirements but from other rule type it is included. Please suggest how we can achieve our condition if "conditionalColumns" will not work.  

https://academy.bpmonline.com/documents/technic-sdkmob/7-12/business-rules-mobile-application

Eugene Podkovka,

Hi Eugene, any update on this. Thank you

Fulgen Ninofranco,

Try to debug the mobile application, find how business rules work and find how to adjust them according to your needs.

https://academy.bpmonline.com/documents/technic-sdkmob/7-12/mobile-application-debugging

Start from the executeApplicableRules method in the BusinessRulesManager module.

Hi, did you find a resolution to your issue? I am facing the same thing.

Show all comments

Other than the need for synchronization, are there differences in app functionality between online and offline mode? Our instance was in Offline mode by default. 

However, we're considering switching to Online mode because the case-sensitive search in Offline mode is a significant problem for our users. 

Before we switch, however, we'd like to know if Online mode will cause any other differences. (Aside from the need to synch.)

Thanks,

Jeff

Like 0

Like

1 comments

Hello Jeffrey,

Please refer to this Academy article regarding bpm'online mobile application architecture. The main difference between these two modes is that if you select the online operation mode, there is no need to synchronize the application manually. In this mode, the app synchronizes with the bpm'online server automatically, in real time. For example, if you add a task using the mobile application, the task will immediately display in the primary application and vice versa.

In the offline mode, the mobile app user should synchronize periodically with the primary bpm’online application. Changes made to the mobile application are saved on the bpm'online server only after synchronizing with the primary application.

There is also a table in the article provided which displays difference between these two modes.

In different mobile app operation modes, synchronization with bpm’online has different functions. In the online mode, the synchronization is required only to apply configuration changes. In the offline mode, the synchronization is required both to apply configuration changes and to synchronize the data between the mobile app and the bpm’online server.

So as a result Online mode should not cause any errors and it is not significantly different from Offline mode.

Regards,

Oscar

Show all comments

Hi,

 

I need to change background image of mobile home page.

Currently I able to show background image under sections (modified the object "UsrMobileCaseGridPageView") but its not reflected on home page.

 

Image is copied to this loaction (file:///C:/BPM/BPM_Mobile_simulator/7.14.6/appV2/Common/lib/SenchaTouch/resources/css/bg.png)

Please suggest the way it can be achieved. For testing I using mobile simulator.

 

Regards

Like 0

Like

3 comments

The question was discussed in the article by the link below.

https://community.bpmonline.com/articles/adding-custom-css-mobile-application

Hi Eugene,

Thank you, I tried Global CSS and its reflected except home screen which appearing just after successful login. Is it possible to apply custom css on home screen?

Muhammad Shajiuddin,

Unfortunately, it's not possible.

Show all comments