I was trying to build one scenario - On Error come during process execution i.e. System shows Error in Process Log Section, I want to log it in another Custom section and Create new record there.
For this, I created a business process that can be triggered on the Change in Process Log Object. But that process is not getting triggered. Please guide me here? How to do it correctly?
Please note that our application doesn't support designing business processes that are triggered by a modification in system objects. The core of business process mechanisms works on low-level API which doesn't support start signal's functionality. This is done in order to avoid any kind of accidents with business process mechanisms and also for performance maintaining reasons.
However, you can try designing a process that runs, for example, every day and checks Process log records for errors, and then sends this information to a specific mailbox.
I had a similar issue, and that's the solution I came up with:
My process is scheduled to run every 4 hours and the read data searches for process marked with the "Error" status, which name starts with a custom prefix (that I assigned to identify my processes). The subprocess is used to log the error in another custom section.
I am getting this error while restarting with CLIO. I am not sure where to start. There is nothing in the process log. any suggestions?
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at System.Net.WebRequest.Create(String requestUriString)
at Creatio.Client.CreatioClient.CreateRequest(String url, String requestData)
at Creatio.Client.CreatioClient.Login()
at Creatio.Client.CreatioClient.CreateCreatioRequest(String url, String requestData, Int32 requestTimeout)
at Creatio.Client.CreatioClient.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)
at Clio.Common.CreatioClientAdapter.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)
at Clio.Command.RemoteCommand`1.ExecuteRemoteCommand(TEnvironmentOptions options)
at Clio.Command.RemoteCommand`1.Execute(TEnvironmentOptions options)
Hello, we need to connect our provider of calls but we only have the settings for do it with sip server, exist any connector that we can use for doing it?
Our provider it's different to the current list of connectors or integrations (webitel,avaya, etc)
If you’re looking to integrate your telephony with Creatio, we can help you with that. Velvetech provides a variety of VoIP connectors with popular phone systems to enable calling functionality right from the Creatio’s interface.
You can find a list of existing connectors on the Creatio Marketplace, and we’re always open to implementing a custom one according to your needs in case the phone system you use is not on the list.
Could you please elaborate a bit on your business task? Would you like to start execution of the business process based on the active user session in a system?
We make scheduled process (every minute) and check if there are unprocessed records in 'Audit log' with Type = 'User authorization' and Result = 'Authorization'
Before you need to add new field 'Processed' to 'Audit log' object in order to set it to True when record is processed
Thank you for all your reply, I need to start the event after successful login. I believe crm is saving session record somewhere else. Can I use this object to trigger the event? What is this object and the field name I want to start a signal using this.
Можно ли и если можно, то как сделать замещение класса?
Например: есть сервис который вызывается с разных мест(клиентские схемы, БП). Все находится в заблокированных пакетах. Как изменить методы этого сервиса?
I am trying to validate a record before it gets inserted into the DB using entity events layer : public override void OnInserting(object sender, EntityBeforeEventArgs e);
If the validation fails, I would like to display a message to the user. Is there a built in method like set validation message or something? I understand this can be done through Web socket but I would prefer if I am able to use a built in validator.
You can simply throw an exception from the event and it will halt the insert process and display the exception message to the user.
An an example, this OnInserting event checks to ensure the Also known as field is not empty:
using System;using Terrasoft.Core.Entities;using Terrasoft.Core.Entities.Events;namespace FX.EntityEventListeners{[EntityEventListener(SchemaName ="Account")]publicclass UsrAccountEntityEvents : BaseEntityEventListener
{publicoverridevoid OnInserting(object sender, EntityBeforeEventArgs e){
base.OnInserting(sender, e);
var account =(Entity)sender;if(string.IsNullOrEmpty(account.GetTypedColumnValue<string>("AlternativeName"))){thrownew Exception("Also known as cannot be blank");}}}}
This displays this message when the user inserts an account without this field populated:
You can simply throw an exception from the event and it will halt the insert process and display the exception message to the user.
An an example, this OnInserting event checks to ensure the Also known as field is not empty:
using System;using Terrasoft.Core.Entities;using Terrasoft.Core.Entities.Events;namespace FX.EntityEventListeners{[EntityEventListener(SchemaName ="Account")]publicclass UsrAccountEntityEvents : BaseEntityEventListener
{publicoverridevoid OnInserting(object sender, EntityBeforeEventArgs e){
base.OnInserting(sender, e);
var account =(Entity)sender;if(string.IsNullOrEmpty(account.GetTypedColumnValue<string>("AlternativeName"))){thrownew Exception("Also known as cannot be blank");}}}}
This displays this message when the user inserts an account without this field populated:
I have an existing process which when an email is sent associated with a case it will update the Modified On value to the time the email was sent. This is useful as it allows us to track that a case is being updated.
I would like to include the ability for the Modified On date of the case to be updated if someone adds a Feed note.
I have however not been able to find a way of adding a source signal, which has the filter in it to only be for feeds added to cases.
Anyone able to give me a steer on how I can achieve this please.
Any idea how can I pass multiple selected rows from section page to business process?
I need to pass the selected record Ids stored in "var selectedRows = this.get("SelectedRows");" selectedRows variable from section page to Business process parameter "Collection of Records" and process these record Ids in business process.