I added an "Open Edit Page" element to my process. When I got to select which page, the one I am looking for is not an option. I want to open an edit page for my custom section, Change Orders. I have tried having the current package set to Custom, and I've set the current package to my Custom package with the schema I want to use. But I cannot get it to show up in this menu. Can anyone advise what makes certain pages available for this process element?

 

Like 0

Like

3 comments

Hello Mitch,

 

It seems that you have added custom section by development tools, but not via out-of-the-box tools like Section Wizard. For example, I have created new section via standard tools and was able to choose custom section in the process settings:

 

unfortunately, at the moment there is no possibility to choose the Section/Page implemented by development in the Open Edit Page business process element. You can find more information about Open edit page element in the following link:

https://academy.creatio.com/documents/technic-bpms/7-16/open-edit-page-process-element

 

As a workaround we suggest try to use Pre-configured page element and set code of the edit page created using section designer in "Source code" of pre-configured page settings:

 

 

More detailed information about Pre-configured page element in the next link:

https://academy.creatio.com/documents/technic-bpms/7-16/pre-configured-page-process-element

 

Best regards,

Roman

Roman Rak,

Is there a way to get the edit page to automatically open for the user instead of the user needing to click on the business process task?

 

Dear Mitch,

 

Please double check the signal element. Most likely it has active "Run the following element in the background" checkbox. It sets the whole process to the background and that's why the page is not getting opened automatically.

Apart from that, please disable the debug mode. It can influence the proper page loading.

 

Regards,

Dean

Show all comments

Dear team, 

 

we receive the next error when GenerateAnniversaryRemindings process is run:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Terrasoft.Common.DublicateDataException: Duplicates data in object "Reminding". at Terrasoft.Core.Entities.Entity.Load(Select select, IDictionary`2 columnMap) at Terrasoft.Core.Entities.Entity.InternalFetchFromDB(IEnumerable`1 columnsToFetch, IDictionary`2 conditions, Boolean useDisplayValues, Boolean performValuesCleanup) at Terrasoft.Core.Entities.Entity.FetchFromDB(EntitySchemaColumn conditionColumn, Object conditionValue, Boolean useDisplayValues) at Terrasoft.Configuration.BaseAnniversaryReminding.DeleteNotActualAnniversaryRemindings(String anniversarySchemaName) at Terrasoft.Configuration.BaseAnniversaryReminding.GenerateRemindings(Select select, String anniversarySchemaName) at Terrasoft.Configuration.BaseAnniversaryReminding.ExecuteQueries() --- End of inner exception stack trace --- at Terrasoft.Core.Process.GenerateAnniversaryRemindingsMethodsWrapper.GenerateRemindingExecute(ProcessExecutingContext context) at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

 

Please advise, what columns are taken into accounts when selecting data from dbo.Reminding and how to fix this issue? 

 

Thanks, Iuliia

Like 0

Like

5 comments

Is GenerateAnniversaryRemindings an out of the box process?

Julius,

 

yes.

Can you please check if there are any duplicate ids in Reminding table? 

Use this query: 

 

SELECT ID,

    COUNT(*) occurrences

FROM Reminding

GROUP BY id

HAVING 

    COUNT(*) > 1;

    

Best regards,

Angela

Angela Reyes,

specified by you query returns 0 results. But grouping by 

ContactId, Subjectid, Remindtime or different combinations of these columns returns non-empty list. I didn't check all the columns of the table Reminding as it's a cumbersome task, especially taking into account different combinations.

Iuliia Diakiv,

 

Unfortunately, it is impossible to determine the root cause of the issue without having access to the application and the database. Therefore, please contact technical support in order to resolve the issue.

 

Please do not forget to provide the support team with a backup of the database.

 

Best regards,

Norton

Show all comments

Does anyone know the purpose of the overriding of the deleteRecords method in Step 3 of the following Academy article on using a modal lookup window to populate a detail? https://academy.creatio.com/documents/technic-sdk/7-15/creating-detail-selection-lookup

 

When I remove this, it doesn't seem to have any impact on deleting records from the detail, and I can't tell what it's trying to achieve by lookup at the code and the vanilla deleteRecords method.

Like 0

Like

1 comments

Dear Harvey, 



This part of the code is needed for the correct work of multi-select in the grid of the detail. I would not recommend removing it as various issues with multi-select may occur. 

 

Best regards, 

Dennis 

Show all comments

When investigating how to make emails default to showing on portal I came across the PortalMessage table and it contains HideOnPortal (bool) field, is this table used for Portal Emails? or is there another way to allow emails to be shown on portal by default if so can an example be given?



Thanks.

Like 0

Like

1 comments

Dear Michael,

 

As for now, portal users can see emails by default tied to the request, which are not automatic notifications (IsAutoSubmitted flag). Please find the code that checks it below:

 

bool isNeedShowEmail = Entity.GetTypedColumnValue <Guid> ("CaseId")! = Guid.Empty - tied to a case

                            && Entity.GetTypedColumnValue <DateTime> ("SendDate")! = Default (DateTime) - was sent

                             &&! Entity.GetTypedColumnValue <bool> ("IsAutoSubmitted") - not automatic notification

                             && Entity.UserConnection.GetIsFeatureEnabled ("ShowEmailOnPortalByCaseContact") – feature is enabled

                    && IsUniquePortalEmailMessage (Entity); - the message has not yet been displayed on the portal

 

Therefore, in order to make emails is visible on portal by default please do the following:

1. Make sure that the “IsAutoSubmitted” column from the “Activity” object has the “false” value.

2. Make sure that the “ShowEmailOnPortalByCaseContact” feature is enabled. Please find more information about features in the article by the link below:

 

https://academy.creatio.com/documents/technic-sdk/7-16/feature-toggle-mechanism-enabling-and-disabling-functions

 

Best regards,

Norton

Show all comments

Hello Community!

 

I would like to ask if somebody knows how to start a process when the access rights of a case is changed but there is not any modification on the case, just the SysCaseRight is changing.

 

Any ideas?

 

Regards,

 

 

Like 0

Like

1 comments

Hello Federico,

 

Unfortunately, there is no opportunity to create such kind of start signal via standard tools, because SysCaseRight is related to the system database tables, but not to the specific available object. And as far as the Business Process can work only with objects and their fields, at the moment it's impossible to connect the auto-triggered signal with data straight from system DB.

 

As a workaround for your request, you can create View Object which will represent the needed data (SysCaseRight). View Object is a virtual table that is not populated with own data but populated with data from other (existing) tables, in your case, it will be data from SysCaseRight table (for example, this new table will consist of RightLevel, SysAdminUnitId, RecordId columns). After creating the View Object any changes which will be implemented in the SysCaseRight table, the same changes will be displayed in the View Object. Later it can be used for triggering the business process depending on changes for Case access rights.

 

You can find more information on how to create the View Object in the following link:

 

https://community.creatio.com/questions/how-create-view-object-bpm-online

 

Best regards,

 

Roman

Show all comments

Hi Community,

 

Is there any place where I can get the information of all the methods written in BasePage schemas (Record page + Section page)?

Like : onEntityInitialized(), getIncrementCode(), getSectionActions(), getActions(), etc..

Thanks : )

 

Like 0

Like

1 comments

Hi Akshit, 

 

Thank you for contacting us!

 

The link below contains client core library where you are welcome to check BasePage schema methods described:

https://academy.creatio.com/api/jscoreapi/7.15.0/index.html

 

Best regards,

Anastasiia

Show all comments

I created this detail that uses a lookup using this academy article. It is ideal because the case column is a link you can click to go to the case record. However users cannot edit the notes column if I use this approach.

So then, I customized the detail so the list is editable using this academy article. However now as you can see below, the case column IS NOT a link so users cannot click on it to visit the record. The only column I need to be editable is the "Notes" column.

Is there a way I can make the Notes column editable, and still have the case column a link like it was originally?

 

I know one solution would be to use the Detail Wizard to make a standard detail with an edit page instead of customizing it to use a lookup, but are there other options so I can still use the lookup AND allow users to edit the notes? Is there a button I can add to the grid that will allow users to go to an edit page to edit the notes column?

Like 0

Like

1 comments

Dear Mitch,

 

You can use SupplyPaymentDetailV2 as an example of how such functionality can be implemented (for example methods linkClicked and "useLinks").

 

Best regards,

Angela

Show all comments

I think the obvious answer is no, but maybe someone can offer an alternative solution?

My use case:

I have a process with a signal start with a "record deleted" signal (shown in the image below). I would like for the process to read two columns from the deleted record and delete all other records that have those two columns in common. It's not working, trace data shows all 0s for the ids and I'm assuming its because the record is already deleted so it cannot read the columns of the record that started the process? Is that my issue?

 

I have another process (Related Dev Request Added) that starts when a record is added to a detail object that shows relation between two Change (Dev Request) records. For example if you add CR-1000 to a detail on the page of CR-1001, then another record is added by a process to show the inverse relationship (on the record page for CR-1000, the detail will show the relation to CR-1001 also). I want my process below to delete the inverse record that was created by the process if a user manually deletes one, that way the user doesn't have to know they should go and delete the other record on the other page. Since my process below doesn't work, is there an alternative solution anyone can think of?

 

Like 0

Like

2 comments

Hi, I have the same need.

If the process is triggered just BEFORE he record is actually deleted, It could be possible... but I am not sure...

An alternative is to use a "delete" button that actually does not delete the record, but triggers a process instead. This process then does all the cleanup needed, and eventually deletes the record...

Hello Mitch, 



Unfortunately, there is no possibility of using the information from the record deleted to trigger the business process signal.  

This is the known issue when the process created upon deleting some object cannot use the information from the deleted object in it's further elements in the flow.



However, If you want to have process triggered before the record deletion please check this community article: https://community.creatio.com/questions/deleting-process&nbsp;



Kind regards,

Roman

 

Show all comments

I've had a look at this documentation, which talks about creating Organizations and Divisions, but I cannot find anything on there or elsewhere which explains what the differences between these are in Creatio - as far as I can see they behave in the same way. Does anybody know what the differences are?

Like 0

Like

2 comments

Im not sure about this. But what I understand is that if you have created an organisation role, then you can still create an organisation role under that. But if you have created a division, then you can create further divisions under that and not organisation.

Hello Harvey, 



In general, an answer provided by Krishna in the comment above is correct. 

Difference between these two types for the system is only in possibility of creating hierarchy from organizational role including other organizations. 

It was implemented for cases, when you have a few separate offices which have different structure so you could correctly configure each role and rights for it. 



In this case you could have 2 separate organizational roles for each office for which different divisions are configured. 



Kind regards,

Roman

Show all comments

Hi,

 

I have to perform multi-select record update functionality in mobile application(from section page) for which I need to add  custom action on section page in mobile application.

https://community.bpmonline.com/articles/adding-custom-user-action-mobile-application link only tells how to add custom action in record page not in section page.

 

Can you please tell me that is it possible : 

1. To select multiple records on section page in mobile creatio app?

2. To add custom action on section page in mobile creatio app?

 

This is an urgent requirement.

Please respond to this! 

Many thanks.

 

Like 0

Like

5 comments

Dear Akshit,

 

It is possible to add a custom action to a section page in a mobile application. The example of the required functionality can be found in the “Activity” section, in the “Schedule” view. Please see the screenshot below:

 

 

Please feel free to debug the “ActivityGridPage” schema in order to determine how this functionality can be implemented. Please take a closer look at the following methods: initializeView, getActions, getCustomActions, onActionSelected, addStatusActionButton, onItemTap, selectRecord, setActionsByGridMode.

 

Best regards,

Norton

Hi Norton Lingard,

 

Thank you, I have started debugging the application.

 

I have one more question that Is it possible to select multiple records on the section page in creatio mobile app using custom action?

 

The same way we did in this article :(https://academy.creatio.com/documents/technic-sdk/7-16/how-add-section-action-handling-selection-several-records)

 

Best 

Akshit

 

Hello Akshit,

 

 

You can implement this by creating an action that will display a lookup with multi-select choice, similarly to how it is implemented in the section filters. After that, you would be able to perform some action on chosen records. You can look into how filters in a section are implemented and implement similar functionality. 

Also, you can create an action that will take the filters in the section, send a request to db with those filters, and perform some action with the received records.  You can get the section filter in the getFilterPanel method that you can find in the view that you can get from the current page controller. 

Here is a community article on creating custom actions: 

https://community.creatio.com/articles/adding-custom-user-action-mobile-application

 

Best regards. 

Dennis 

Hi Dennis ,

With this https://community.creatio.com/articles/adding-custom-user-action-mobile-application I have created a custom action on the record page of creatio mobile application.

 

I am concerned about :

1. Create a custom action/button on section page of creatio mobile application

2. Develop a multi-select record functionality on section page of creatio mobile application.

 

It will be very helpful if you refer me to any article having same requirement or any video/steps you can share.

 

Many Thanks.

Dear Akshit,

 

Unfortunately, we don’t have any article/video that can help you to implement the required functionality. Please check the previous answer where Dennis gave some explanation on how to implement a custom action for selecting multiple records.

 

Best regards,

Norton

Show all comments