Hello, I created a new custom package to build a new custom section and business processes in. What package must mine depend on for emailing from a process to work? Right now my package depends on:

  • Base
  • CloudEmailService
  • DesignerTools
  • Managers
  • MarketingCampaign
  • NUI
  • ProductCore

Right now I've been able to write and save processes, however the process parameters are showing up blank in the email. It works if I write the process in the normal "custom" package, but why might it not work in my new package?

 

Like 0

Like

2 comments

Hello Mitch,

 

Please add these packages as dependent packages for your package:

 

MarketingSoftkeyEnu

OrderInSales_OperatorSingleWindow_Softkey_ENU

SalesEnterprise_Marketing_ServiceEnterprise

SalesEnterpriseSoftkey_EN

ServiceEnterpriseSoftkey

 

Once done please generate source code for all items, compile all items of the app and everything should work as needed.

 

Best regards,

Oscar

Oscar Dylan,

Thanks Oscar. I did get it to work.

Show all comments

Hello all,

I am working with a business process that runs each morning automatically. However, it seems to get stuck at an exclusive gateway with a conditional flow and a default flow. It doesn't error but it also doesn't continue advancing. 

In looking into the issue, I found mention of a setting on the business proccess FAQ page mentions a JIS Pool. 

"Rarely, the incorrect "Maximum number of working processes" setting in the JIS pool can cause the bug. If a value greater than 1 is set, then opened processes accumulate and stop responding."

I can't find mention of JIS pool anywhere esle in the documentation, does anybody know what the JIS pool is and where I can find it? I would like to check this setting to confirm that it is set up correctly.

Like 0

Like

2 comments

Hi Kevin, 

 

Did you find the reason for the stuck process and how to fix it?

I'm facing the same issue.

I have a scheduled business process which gets stuck (status = running) on an Exclusive Gateway (OR). Any other way of starting the process (manual or on field change) seems to work fine. 

 

Thanks,

Tiago

Hello,

 

This parameter is stored in the IIS pool settings:

this is an example from my test IIS pool from the local app, but by default the number here is 1 for the cloud-based apps.

 

Hello Tiago,

 

We need to take a look at this process on our end. Please email us at support@creatio.com and provide us with the link to the app with this process, provide us with the name of this process and also provide us with external access with access to data and configurations.

 

Best regards,

Oscar

Show all comments

A major strength of Creatio is its ability to create a process-oriented approach for sales, services, and marketing. Building out processes in Creatio helps your teams create repeatable steps that improve efficiencies, streamline operations, and create visibility across departments.

During this online user group, our experts will lay out the basics of process building to help any user get up and running with this important feature.

REGISTER HERE

Like 0

Like

Share

0 comments
Show all comments

Hi , 

 

I want to create a sub process that will check completion of the task at a destined time on a specific day, and if the task is not completed by that particular time, an email to be sent to owner’s manager reminding him/her that the task needs attention, otherwise process termites. 

 

Could you please give me some guidelines for this 

 

Like 0

Like

9 comments

Hello,

You can add to your process similar process or create a subprocess that will start with start timer: http://prntscr.com/ob3c8p. Process will read activity and in case it has status "completed" (http://prntscr.com/ob3d1i) it will stop, otherwise it will send an email. 

Best regards,

Angela

Angela Reyes, thanks Angela . But can a subprocess can start with start timer 

Also , If I need to send email on every monday at 4 pm how will start timer work in this case? how do I select owners manager in 'To'?

Arunava,

Timer start signal allows to set such conditions for start. As for the owner manager - you can use read data element to read owner of the task and then read owner of the contact.

 Best regards,

Angela

Angela Reyes,

start timer can be used in subprocess for a case ? it shouldnt start with a simple start ?

Angela Reyes, could you please give a screenshot  for the below requirement ?

Angela Reyes writes:

Arunava,

Timer start signal allows to set such conditions for start. As for the owner manager - you can use read data element to read owner of the task and then read owner of the contact.

 Best regards,

Angela

Arunava,

I use Read data 1 to read activity (http://prntscr.com/ocxsqh), then I read activity contact (http://prntscr.com/ocxsyt) and send an email (http://prntscr.com/ocxt3q).

Angela Reyes,

Thanks Angela , I am requesting you to share the screenshot on timer element as to how to add such conditions for start ?

Dear Arunava, 

Unfortunately, the subprocess can't start with start timer. So you can use Wait for timer intermediate event (http://prntscr.com/odca42). However, it takes only amount of seconds to wait until the process continues as a parameter so you would need to calculate this amount in a script task. You can use a standard C# methods in a script task so you can subtract the DateTime.Now from the needed fire time, convert it to seconds and pass to the parameter in a Wait for timer to have it triggered on a certain time. 

Best regards, 

Dennis 

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

It would be nice if there was a feature in the process designer where you could add comments or notes to an element, and/or the entire process. Similar to how you can add a comment to a cell in MS Xcel and see it when you hover your cursor over the cell. 

Right now I can keep my own documentation about my bpm processes in MS Word or OneNote for future reference or for future system administrators to be able to easily understand what the processes I've written are used for, but it would be nice to have this all contained in one place. It would make sense for those notes to live right in the process itself. 

 

1 comments

Dear Mitch, 

Thank you for the idea! We've registered the request to the RnD team to add this functionality and it may be added in future releases. 

Best regards,

Dennis

Show all comments

I've created a webservice that passes the received data from my api to a "Collection of Objects with attributes" parameter inside my business process.

I would like to know how can i convert that business process parameter to a JArray.



JArray jarray = Get("ProcessSchemaCadastros");

This is the line i have in my script task to get my data from business process parameter.

Like 0

Like

2 comments
Best reply

I found a way to pass my problem, instead of trying to convert into a JArray i used:

var entities = Get<ICompositeObjectList<ICompositeObject>>("WebService1.UsrWBCadastros_Out");

then i just worked with the data from 'entities'.

 

It's much easier to transfer a JSON from the web service to a text variable in a business process. Then parse the JSON in the business process.

I found a way to pass my problem, instead of trying to convert into a JArray i used:

var entities = Get<ICompositeObjectList<ICompositeObject>>("WebService1.UsrWBCadastros_Out");

then i just worked with the data from 'entities'.

 

Show all comments

Dear Team,

                  Problem: business process not trigger from web service.

                  How to trigger business process in wcf web service.Please guid me how to trigger?

        Thanks in advance.

Regards,

Sekhar.

Like 0

Like

5 comments

Dear Sekhar,

Here is the example of how to start business process with parameter from server side code.

using Terrasoft.Core;

using Terrasoft.Core.Process;

using Terrasoft.Core.Process.Configuration;

 

ProcessSchema schema = UserConnection.ProcessSchemaManager.GetInstanceByName("LeadManagement");

//schema = UserConnection.ProcessSchemaManager.GetInstanceByUId(leadManagementProcessUId);

 

//different engines for interpretable and compiled BP

bool canUseFlowEngine = ProcessSchemaManager.GetCanUseFlowEngine(UserConnection, schema);

if(canUseFlowEngine) {

    var flowEngine = new FlowEngine(UserConnection);

    var param = new Dictionary<string, string>();

    param["LeadId"] = Entity.Id.ToString();

    flowEngine.RunProcess(schema, param);

} else {

    Process process = schema.CreateProcess(UserConnection);

    process.SetPropertyValue("LeadId", Entity.Id);

    process.Execute(UserConnection);

}   

Hope you will find it helpful.

Regards,

Anastasia

Anastasia Botezat,

Hi Anastasia. Your code illustrates how to call a BP by passing parameters. How would one go about reading BP parameters after the execution of the business process??

 

M Shrikanth,

 

Hello,

 

You've already created a thread here https://community.creatio.com/questions/read-business-process-parameter… so we will discuss this topic there.

 

Best regards,

Oscar

Anastasia Botezat,



Hello,



Is the method async or not?

I just run a test and it did not wait for the result.



Best regards,

Solem A.

Solem Khan Abdusalam,

 

Hello,

 

This is a synchronous call, also tested out-of-the-box by calling a process with 10 000 repetitions of data reading in a cycle.

Show all comments

within a business process I have a contact object and an account object.  I want to associate them and be able to specify whether the contact is the "primary" contact or not.

 

Do I create a "Connecting contact to account" record?  if so, how?

Like 0

Like

1 comments

Dear Brian,

You can read data from Account, then read data from Contact with the following filter - http://prntscr.com/lockqu (or http://prntscr.com/lockvf if you need to find contact which is connected with certain account) 

Show all comments

Hello community,

I am trying to perform the following command from a Script Task element:

DELETE FROM [dbo].[UsrListDocuments] WHERE [Opportunity] = @P1 AND [Product] = @P2

Currently, the C# code is similar to this:

var opportunityId = Get("Read opportunity product.Opportunity");
var productId = Get("Read opportunity product.Product");
var delete = new Delete(userConnection)
        .From("UsrListDocuments")
        .Where("Opportunity").IsEqual(opportunityId)
        .Where("Product").IsEqual(productId);
        
return true;

Is this accurate? What would be the best practice in this case? The code is not working properly that´s why I am looking for your assistance.

Thanks.

Like 0

Like

2 comments

Hello,

As far as I understood your business goal, you are trying to fetch some parameters via [Read Data] element in your script task and pass it further to the Delete query.



Firstly, you need to get parameters in the [Script Task] from the [Read Data] element.

For the interpreted process the algorithm is the next:

1) Create a business process parameters and map it to the needed Read Data element. You can learn more about business parameters in our guide - https://academy.bpmonline.com/documents/technic-bpms/7-12/how-add-param…

In your example it will be something like:

[#Read opportunity product.First item of resulting collection.Opportunity#] and [#Read opportunity product.First item of resulting collection.Product#]

2) Use business-parameters in your Script-task.

var opportunityId = Get<Guid>("ProcessParam1");

var productId = Get<Guid>("ProcessParam2");

Then you need to get the userConnection in order to pass it in the Delete query:

var userConnection = Get<UserConnection>("UserConnection"); 

After that you can create a delete query:

var delete = new Delete(userConnection)

        .From("UsrListDocuments")

        .Where("Opportunity").IsEqual(opportunityId)

        .Where("Product").IsEqual(productId);

        

And execute it:

 delete.execute();

Tetiana Markova,

Thanks, Thetiana. It worked.

Show all comments