i am using 8.2.2

i am trying to set the value of a number field called Lama Bekerja based on the months inputted in Mulai Bekerja accounting the year aswell, i know that using business rules where you can use set value = formula like so...

now when i open it, it doesn't let me do the calculations

can someone explain a method on how to implement this in creatio 8.2.2?

Like 0

Like

0 comments
Show all comments

i am using creatio version 8.2.0

 

I am trying to save a business rule that filters Kota(Lookup) by Provinsi(Lookup), i know how it works, it's just when i save it, it doesn't save. 

i used static filter

 

 

now when i saved, it doesn't let me save the filter JakartaKota

and when i open the business rule page again it turns out into this

Like 1

Like

3 comments

Dear Michael,

 

Thank you for reaching out regarding the issue you’re experiencing.

 

To resolve the problem, please try the following steps:

  • Open the page in a different browser.
  • If the page loads correctly in another browser, clear the cache and cookies in your original browser and check the UI again.

 

If these steps do not resolve the issue, please contact Creatio Support at support@creatio.com. Our team will be happy to assist you with a deeper analysis of the problem.

 

I hope this helps. Should you have any further questions, feel free to reach out.

Alina Yakovlieva,

i've already tried to reload it on another account on another laptop and it still fails to save contact business rule even though it says successfully saved

Michael Fernando Handoyo,

Thank you for the update!
Please contact our support team for a more detailed analysis.

Show all comments

Hi community,

In the classic UI we 'controlled' the Save event in business rules, with the field 'Created On' (is filled in). 

I dont see the same behaviour in FreedomUI. The 'Created On' field is filled in even though the record is not saved yet. 

Any workaround for this, especially with Business Rules?

Sasor

Like 0

Like

4 comments

Hi,

 

The field is filled in, but until you save the entry, the event will not be executed. Please clarify what business task is so necessary?

Hi, 

Scenario : Show a specific field only when the record is created.

Which Business Rule should we use?

Thanks

Sasor

Sasori Oshigaki,


Greetings!

 

Thank you for reaching out. I looked into possible solutions and came across the idea that you could rely on the Resolution time field or find similar fields that are not created until you press Save. Unfortunately, I don’t see any other viable options in your case.



 

As in my case:

 

Regards,
Orkhan

Orkhan,

we have also solved requests like this by using fields that will be filled after the record was saved.

However, it would be great if you could add something like a "mode" to the business rules conditions that would have values like "new" and "update".

 

BR

Show all comments

Hi Team,

 

I am facing an issue after clicking the setup filter button for Realty Business rule. The page keeps on loading and the data is not getting displayed to add the conditions. Below are the screenshots for your reference:

After clicking the Setup filter button, the page redirects to next page and that page keeps on loading. Below is the screenshot for your reference:

I have inspected the page and I am seeing an error message in the console as shown in the below screenshots:

Can anyone let me know why this issue is occurring and how can I fix this issue and proceed further?

 

Thanks!

Like 0

Like

1 comments

Hello,

As I can see from the screenshot there is a debug mode turned on. This might be stopping the execution of the logic and preventing from loading the required data. Turn the debug mode off and try to reproduce the issue. 

Show all comments

Hi community,

In the oob version Product in order modal page when opening the business rules,

we see the Formula expression BusinessRuleFormulaExpression 

However when trying to create a rule of our own we cant apply formulas, its always the Constant Value

Is there any feature that needs to be active?

Sasor

Like 0

Like

1 comments
Best reply

Yes, you need to activate the new beta feature in 8.2.1 : https://academy.creatio.com/docs/8.x/resources/release-notes/8-2-1-ener…

Yes, you need to activate the new beta feature in 8.2.1 : https://academy.creatio.com/docs/8.x/resources/release-notes/8-2-1-ener…

Show all comments

Today I saw in Creatio 8.2 something long awaited to be available in Freedom, the rule that allows you to designate a formula to a field.

 

But :-( when trying to designate a formula to a field, it doesn't allow me to do so and apparently what I saw is ‘on hard’ and it is not possible to add this element to our business rules yet.

 

I saw it in the OrderProduct object to calculate the total of an order line, you can change the formula, but not add a new one, because the ‘Set up formula’ element is not accessible.

Does anyone know how to access ‘Set values’ using formula?

 

Thanks

Julio

Like 3

Like

3 comments

Hello, some feedback regarding this question?

 

Thanks

Hello, 

 

Thank you for reaching out.

 

This functionality is still in development, so access to it will only be available after the official release, which is currently planned for version 8.2.2.

Sergii Zhmurko,

Thanks for confirming that we will have this feature soon! :-)

Show all comments

Dear collegaues

 

In Classic UI, I need to add a Filter business rule to can get only contacts with Email is completed. Some ideas how to solve this?

 

I tried not equal "", not contains "@" and others and didn't works

 

Thanks in advance

 

Regards

Julio

Like 0

Like

2 comments
Best reply


Hello,
 

Unfortunately, it's not possible to add such a filter using basic filters. However, you can write a custom filter in the schema code.

For example, for the Owner field on the AccountPageV2 schema, this filter may look like this:


define("AccountPageV2", [], function() {
   return {
       "entitySchemaName": "Account",
       "attributes": {
           "Owner": {
               "dataValueType": Terrasoft.DataValueType.LOOKUP,
               "lookupListConfig": {
                   "filters": [
                       function() {
                           var filterGroup = Ext.create("Terrasoft.FilterGroup");

                           filterGroup.add("HasEmail",
                               Terrasoft.createColumnFilterWithParameter(
                                   Terrasoft.ComparisonType.NOT_EQUAL,
                                   "Email",
                                   ""));
                           return filterGroup;
                       }
                   ]
               }
           }
       }
   };
});

This filter ensures that only contacts with the Email field not equal to empty string will be included in the selection for the Owner field.
 

You can learn more about such filtering in our academy: Link

Thank you for reaching out!


Hello,
 

Unfortunately, it's not possible to add such a filter using basic filters. However, you can write a custom filter in the schema code.

For example, for the Owner field on the AccountPageV2 schema, this filter may look like this:


define("AccountPageV2", [], function() {
   return {
       "entitySchemaName": "Account",
       "attributes": {
           "Owner": {
               "dataValueType": Terrasoft.DataValueType.LOOKUP,
               "lookupListConfig": {
                   "filters": [
                       function() {
                           var filterGroup = Ext.create("Terrasoft.FilterGroup");

                           filterGroup.add("HasEmail",
                               Terrasoft.createColumnFilterWithParameter(
                                   Terrasoft.ComparisonType.NOT_EQUAL,
                                   "Email",
                                   ""));
                           return filterGroup;
                       }
                   ]
               }
           }
       }
   };
});

This filter ensures that only contacts with the Email field not equal to empty string will be included in the selection for the Owner field.
 

You can learn more about such filtering in our academy: Link

Thank you for reaching out!

Thanks Pavlo

Show all comments

Hi,

I want to set a field value so that it is 1 hour BEFORE the start time field. Trying to do this via business rule but it's not letting me write a negative number (-1).

Any ideas how to do this?

Thanks,

Chani

Like 0

Like

6 comments

I did this with days but should work with hours and a date/time field.

 

[#System variable.Current Date#].AddDays(-7)

 

Updated via business process

Thank you. We rather not create a business process for such a thing. Looking for a way to do it via business rule. 

Chani Karel,

Hello,

This method can only be implemented through a business process using C# with the ".AddHours(-1)" method.

https://learn.microsoft.com/en-us/dotnet/api/system.datetime.addhours?view=net-8.0



Best regards, 

Orkhan

Create another date/time field and use the set field value in the business rule with the AddHour(-1) formula. That date field will then be one hour behind start time field

Rob Watson

There is no way to do AddHour(-1) in the formula.

Orkhan,

:(

Thanks for confirming 

Show all comments

Hello,

 

I have a page with the progress bar (cases) on Studio 8.1.0.6827. To simplify the explanation, let's say there are two stages based on a status field: New Request and Completed and I have business rules stating that the request description is required if the status is Completed. 



If the 'Save record on stage change' is off, when I click on the Completed bar, the description field becomes require and I cannot save without entering. But of 'Save record on stage change' is on the record is saved and the status changes to Completed even if the description was not entered. 



Any ideas on how to make it work where the 'Save record on stage change' is on but the business rules are applied, and the record is not saved if the required fields for that status are missing?



Thanks,

Jose

 

Like 1

Like

1 comments

Hello!

 

To provide you with an answer, we need to investigate it deeper. Please contact the Support Team directly via support@creatio.com and provide all these details.

 

Best regards, Mariia

Show all comments

Dear,

We can not add or edit business rules on our custom Order Product Detail, the system return the following error : 

Unable to modify business rules because the "Edit card - Product in order" page source code contains invalid json symbols. Your system administrator will have to delete these symbols. After the mentioned above symbols have been deleted, you need to re-open the wizard, and business rules will be available for edit.

I tryed to remove all the code in our custom orderProduct detail :

=> the system still returns the error

Does anyone have any ideas to fix the problem ?

Thank you,

Nicolas

Like 0

Like

2 comments

Just throwing out some ideas. Maybe there's some non-printable character that got posted in somewhere? I'd try pasting the contents to a text editor that can show non-printable chars (such as Notepad++).

Also, maybe look at the resource strings? Maybe there's a resource name with some weird char?

Thank you Ryan for your answer, i ve check what you advise me to check, but i did not find any problem.

We are having two OrderProductPageV2 in two separate package: Custom and Custom_transfert, we removed all business rules in the OrderProductPageV2 in Custom_transfert and surprisingly we can edit the orderProductDetail business rules...

Thank you again for your help !

Show all comments