Hi;

What else should cause such error.

I have an edit page with detail.

I whould like to edit detil page but i get such error

Like 0

Like

8 comments

Dear Tomasz,

Please set up package dependencies for your Claim package. The package should depend on the following packages:

MarketingSoftkeyEnu

OrderInSales_OperatorSingleWindow_Softkey_ENU

SalesEnterprise_Marketing_ServiceEnterprise

SalesEnterpriseSoftkey_EN

ServiceEnterpriseSoftkey

Custom package should depend on your package.

Regards,

Anastasia

Anastasia Botezat,



thanks Anastasia

Claim Package is on the bottom of dependency schema (See second attachment). and all the entities are in ClaimEntities package which is up on schema. Others details i can edit but just this one rise an exeption



Regards

Tomek

tomasz.branicki,

Сustom package, should be the last one in dependency tree. After custom should be your package. Your package, should depend on the above mentioned packages. 

The detail, which gives you the error can have logic indicated in basic package, which your package "do not see", since it does not depend on it. 

Also, seems the second attachment was not linked to your post, I cannot find it.

Please double check that your package is second from the bottom.

In case everything is set up correctly, please write us an email support@bpmonline.com, so we could check on your side.

Regards,

Anastasia

Thanks

I send the dependencies scema as attachment now

 

Regards

Toek

Dear Anastasia Botezat,

​​​​​​What is the right technique I should follow in order to select the appropriate dependencies when creating a  new custom package?

Ricardo Bigio,

 

The technique is as follows:

 

1) Your package should depend on all the packages specified by Anastasia

2) The Custom package should depend on your package

3)  Make sure that there are no cyclic connections between packages (that could create a loop).

 

Also please take a look at this article that describes creating your own package for the development of new functionality and also this article about package dependencies.

 

Best regards,

Oscar

Oscar Dylan,

ok, but my question is how Anastasia has arrived to that list of dependencies. When I am creating a new package - any package - how do I know its dependencies ? is there a way I can do it by myself ? Or the right procedure is to add a post here for that ?

Best regards,

Ricardo Bigio,

 

The Anastasia's list of packages is the set of basic root packages that should be present in your package list of dependencies. These root packages depend on all other system packages and that's why your package should depend on these root packages. There is no standard technique here,  you need to explore the hierarchy tree and find root packages. Please see the "DEPENDENCIES AND PACKAGE HIERARCHY" paragraph in the article 

https://academy.creatio.com/documents/technic-sdk/7-15/package-dependencies?_ga=2.217093974.1997918667.1589385916-1029973157.1589363839 so to understand the basic logic of the packages hierarchy.

 

Best regards,

Oscar

Show all comments

Hi,

 

I want to trigger some processes on user login based on some conditions. Is there a way of doing it?

Thanks in advance...

 

Like 0

Like

3 comments

Dear Amanthena,

As for now, there are no tools to trigger any process upon a user login. We already had similar requests from multiple customers and our R&D team already added this idea to the development backlog. This functionality will be available in the future application releases. Apart from that, you may develop your personal trigger/task by adding it to the 'qrtz_triggers' and 'quartz' tables. It might help you to find the solution. Here are some useful materials for setting up the scheduler https://academy.bpmonline.com/documents/technic-sdk/7-13/scheduler-setup

Best regards,

Dean 

Dean Parrett,

Hi Dean. By any chance is the login event available now on the platform?

Dean Parrett,

Hi Dean,

Has the login event trigger been implemented in the platform? We have a current use case that would benefit from this feature.

Show all comments

Hi,

 

Is there a way of sending an SMS from a business process?

 

Thanks in advance...

Like 0

Like

2 comments

Hello,

You will be able to send an SMS if you install the specialized application from the marketplace, for example, "SMS Sender for bpm'online" application (https://marketplace.bpmonline.com/app/sms-sender-bpmonline). For now, it is one way to send an SMS from a business process.

Best regards,

Anastasia

Thank you, Anastasia!

Show all comments

Hi,

I am trying to set-up the activity tasks and the owner of that activity, as in the users who get notified of that activity, should be the users who belong to one of the functional roles in the organisation.

Question 1: Is it possible to do that?

Question 2: How to do that?

P.S. I did try inputting one functional role from the lookup Roles(view) but then the process goes into the ERROR stage when it reaches that task.

Like 0

Like

6 comments

Hello!

Could you please specify, how do you want to notify about the task? Did we clearly understand - you want to notify both owner and other users, which belongs to one of the functional roles? Maybe you can attach a screenshot of your business process?

Best regards,

Anastasia

Anastasia Polo,

In the process below, I want to all of the users of a functional role to get notified of the task and then anyone can go in the record and perform the task.

Can that be done?

Regards,

AK

Hello!

It is possible to set up a described process. Firstly, use please "Add data" element instead of "Perform task" element http://prntscr.com/nx4e36, after that use another "Add data" element with such settings http://prntscr.com/nx4gcc, http://prntscr.com/nx4glm. This part of the business process will create an activity and send a notification for users of the chosen functional role (System administrators in the example). If you want to continue the business process running after completing an activity, use the "Wait for signal" element http://prntscr.com/nx4jqd.

Best regards,

Anastasia

Hi,

Thanks for your response.

I didn't try it yet but looks like it should work.

Thanks again. :)

AK

Hi,

I am trying this now for one of our clients but it's not giving any notification for the selected roles.

Attaching the screenshots of the Process and the Process log. You'll see that the process did run but it did not give the notification to the users in the roles selected.

Process: https://prntscr.com/ogm9iq https://prntscr.com/ogm9g4 https://prntscr.com/ogm9dj https://prntscr.com/ogm9a1 https://prntscr.com/ogm94q https://prntscr.com/ogm8zn

Process Log: https://prntscr.com/ogm9ok

 

Regards,

AK

Hello!

To resolve this issue we need access to this process. Please submit a case to the support team (support@bpmonline.com) and we will investigate the issue.

Best regards,

Anastasia

Show all comments

Hello Community,

I am looking to change the order of lookup values.  For example: we want the field to display Low,Medium, High in that order  It seems the system defaults to alphabetical order.(High, Low, Medium).



Thank you in advance.

 

Like 0

Like

2 comments

Dear Melanie,

There are no basic application tools to change the alphabetical order, however it can be achieved with the help of the development tools. Here is the example what should be done.

You can add the "order" attribute for every field that you need to sort to the edit page schema where the field is located.In the following example we created the integer "UsrSorting" field in the lookup UsrTestLookup1 and copied the values from the "Name" field there. 

http://prntscr.com/mwmz5z

attributes: {

            "UsrTestLookup1": {

                lookupListConfig: {

                    orders: [

                        {

                            columnPath: "UsrSorting",

                            direction: Terrasoft.OrderDirection.desc

                        }

                    ]

                }

            }

        },

 

As the result, your lookup will be sorted in the 'descending' mode, from the higher to lower value

Best regards,

Dean

Thanks so much for your help!

Show all comments

Hi,

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

 

Like 1

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.

Show all comments

Hi,

I have a EntityCollection and i would like to know how can i add Objects to that EntityCollection in my ScriptTask.

EntityCollection ec = Get("ProcessParameter1");

var entity;

ec.Add(entity);

Set("ProcessParameter1",ec);

Like 0

Like

1 comments

The Add method is correct. Additionally, I'd not recommend using a simple list instead. 

Show all comments

Hi , Can anyone help me in solving the errror while seeting up OAuth Authentication getting error in redirect Url as 

The server encountered an error processing the request. The exception message is 'Object reference not set to an instance of an object.' 

Here I am attaching the screenshot of configuration of OAuth login Page.

I am getting the exception after allowing permsission and after redirect Url . Should i need to add anything extra in redirect url or how will i get access token based on result of Redirect URL?

 

Thank You.

 

 

Like 0

Like

2 comments

Thibault Cros,

Hi, please contact our support team, we need more information to solve your problem - support@creatio.com

Show all comments

Hi,

I'm currently trying to obtain the "Id" from one of the contacts in my "Contact" table but I'm getting the same error:

Terrasoft.Common.ItemNotFoundException: Value "Id" was not found.

   at Terrasoft.Core.Entities.EntityColumnValueCollection.GetByName(String name)

   at Terrasoft.Core.Entities.Entity.InternalGetColumnValue(String valueName)

   at Terrasoft.Core.Entities.Entity.GetColumnValue(String valueName)

   at Terrasoft.Core.Process.UsrProcess2MethodsWrapper.ScriptTask1Execute(ProcessExecutingContext context)

   at Terrasoft.Core.Process.ProcessScriptTask.InternalExecute(ProcessExecutingContext context)

   at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

 

This is the script task i'm using for it:

var result = "";

var userConnection = Get("UserConnection");

    

EntitySchemaManager esqManager = userConnection.EntitySchemaManager;

var rootEntitySchema = esqManager.GetInstanceByName("Contact") as EntitySchema;

var esqResult = new EntitySchemaQuery(rootEntitySchema);

esqResult.AddColumn("Id");

esqResult.AddColumn("Name");

var entities = esqResult.GetEntityCollection(UserConnection);

result = entities[0].GetColumnValue("Id").ToString();



Set("ProcessSchemaParameter1", result);

return true;

Note: If i try to get the "Name" instead i dont get any error.

Like 0

Like

1 comments

Try this

var opportunityCarQuery = new EntitySchemaQuery(UserConnection.EntitySchemaManager,"OpportunityCar");
opportunityCarQuery.AddAllSchemaColumns();
 
var filter = opportunityCarQuery.CreateFilterWithParameters(FilterComparisonType.Equal, "Car", (Guid)carNodeId);
opportunityCarQuery.Filters.Add(filter);
 
var opportunityCarEntities = opportunityCarQuery.GetEntityCollection(UserConnection);
 
foreach (var opportunityCarEntity in opportunityCarEntities)
{
	var theId = opportunityCarEntity.GetTypedColumnValue<Guid>("Id");
}

 

Show all comments

Hi All , 

 

I am trying to create 'Account Category' Machine Learning Model in my demo version as mentioned in academy . (Ref Link : https://academy.bpmonline.com/documents/administration/7-14/how-create-lookup-value-prediction-model) . 

 

While doing the same steps  , when I am trying to train the model , I am getting an error 

 

Error message text[InternalServerError] Authentication service not available - Service Unavailable(ServiceUnavailable). Content: Request unsuccessful. Incapsula incident ID: 0-59084293183112519

I guess I am missing some webservice  integration ? Do I need to installl any plugin  ? Do I need to integrate BPM with some application  to start my ML model prediction ?

 

 

 

 

Like 0

Like

1 comments

Hi,

I recommend you to contact bpm'online support regarding this issue (support@bpmonline.com).

Best regards,

Angela

Show all comments