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

2 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?

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



Hi I am trying to do the process in the link below:

 

https://academy.bpmonline.com/documents/technic-bpms/7-14/using-business-processes-automate-repeated-tasks-and-using-loops-process-flow

 

To start with this, can I somehow add a tag to all the records?

Like 0

Like

3 comments

Dear Aaykay,

Currently, there are no basic functionality to tag multiple records with tags at once. However, you may create a simple business process that would tag your records. Here is the example how to tag all cases http://prntscr.com/nsssa4

Best regards,

Dean

I'm trying to add a tag to multiple records as well.  How does your business process work if there's no common condition among the records you're tagging?  Can you tag all records that you've added to an adhoc folder, for instance? 

Dear Lisa,

Here is the option to tag the records in the static folder http://prntscr.com/ovyri4  As the result, the records in the folder http://prntscr.com/ovysha are tagged http://prntscr.com/ovysqu

Best regards,

Dean

 

Show all comments