Is there any way to stop the process when processing multiple records, in this case the service returns more than 16000 elements/records and I want just process the first 20 or 30, I tried to use all of this process properties to stop it, without results:
Number of completed instances
Number of terminated instances
Total number of instances
Any Idea, in the image goes to 95 completed, I want to stop at 20, but no idea how to do...
When using a multi-instance subprocess, the number of process executions is regulated only by the size of the collection you pass to it.
If you use the "Read data" element, you can adjust the size of the collection through the "Read first XX records" property.
If you receive a collection from a web service, you should use such parameters in the request that will allow you to receive the required number of records. You can check the web service documentation or modify the backend if it is your own web service or you have a contact with the developer.
Another option would be to resort to development and write a script task that will process the collection from the web service and trim the resulting collection/response.
Hello, I am trying to make the Email field in the account section synchronize in real-time with the main email field in the communication options. Could you help me with that? I have tried using the functionality with the SyncEntityWithCommunicationDatil method, but I haven't been able to achieve it.
Again, replace "UsrEmail" with the code of your column that needs to be synchronized with the detail.
After these changes, when adding a communication means of type Email to the detail, the column "UsrEmail" will be populated with the same value.
4. For the logic of reverse synchronization, which would create a record in ContactCommunication, event logic is responsible. The process upon saving the contact is implemented in the CrtBase package, the Contact object, and the method "SynchronizeCommunication()" is called upon saving the record.
You can use these methods and create an analog for the Account object
.
I hope this helps you solve your task. Thank you for reaching out!
in the 7... versions business rules managed the filtering for the lookups, but in the 8.1 version I couldn't find it there. This is the previous article: Filter values in a lookup field | Creatio Academy
I would like to select only Managers from the contacts when I connect the Opportunity to the contact.
I think is still in Business Rules. If its a lookup associated to the main entity you should be able to do it there. Check in the sidebar that you can add BRs for the page and for the entity. The filtering of the lookup should be in the second one.
If its a lookup inside an editable list then I'm not sure how to do this. Before that was done in the detail BRs but here I'm not seeing how.
Hello, i found how to fix it 1. Go to directory creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files 2. Backup CrtDigitalAdsApp.csproj 3. In CrtDigitalAdsApp.csproj find the ItemGroup with <EmbeddedResource Update="Properties\Resources.resx"> and comment the line <<CopyToOutputDirectory>Always</CopyToOutputDirectory> Example
4. Go to creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files/Bin/netstandard/Properties and remove Resources.resx Now i have no warnings and errors when compile all
You mention that you are running the application on .NET 6 using .NET Core. We ask you to make sure that you deployed the environment according to the official instructions and that all the necessary components are present on the server.
If you still can't resolve this compilation error, please create a separate request to the Creatio support team.
I suppose it may not be a problem of first launch. I get that problem regularly when I try to Compile All. But when I perform this action two times in a row, the problem disappears :) But I see such warning:
Unfortunately, the problem with Resources.resx repeat again during the next compilation :(
Hello, i found how to fix it 1. Go to directory creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files 2. Backup CrtDigitalAdsApp.csproj 3. In CrtDigitalAdsApp.csproj find the ItemGroup with <EmbeddedResource Update="Properties\Resources.resx"> and comment the line <<CopyToOutputDirectory>Always</CopyToOutputDirectory> Example
4. Go to creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files/Bin/netstandard/Properties and remove Resources.resx Now i have no warnings and errors when compile all
I have a ComboBox that I would need to have a dynamic list of values. Is there a way in Freedom to make it so that the values do not come from a specific lookup dataset, and are only manually populated?
Currently it's not possible to achieve using handlers or basic Freedom UI wizard. We've already created a suggestion to our R&D team to make it possible in future application versions and once it's done we will inform everyone in the Academy and Release notes. Thank you for helping us in making the app better!
I want to use the ID of the User (Owner) that started a business process. Can someone clarify the correct object of where this is stored and if it can be used in this way?
to achieve this you can create a process parameter of Lookup type for Contact object (Lookup field), and fill in value of "Current user contact". then you might use this parameter wherever you need the users id, worked like this for me in test enviroment
thanks for reply but I does the current user contact change during the business process. I only want the ID of the user who started the business process. At the point in the process I don't want the current user contact but the user who started the process.
There is probably a better solution but in the end I just created a lookup field on the object which recorded the current user at point of the business process starting, and used that later in process.
what is the best way to add some custom fields into qualificaiton process. We need to copy information from Lead to Account only when new Account is created during qualification (like it is done OOTB).
But if we modify script of the process (ProcessContact, ProcessAccount methods), we should overwrite the whole process, so we can loose future Creatio updates of the process.
When Account/Contact is created from the Lead qualification process, it is not linked to the Lead yet, so we cannot use "Added" signal.
When Lead is modified and Account/Contact is set, we don't know if it is set by qualification process or manualy. So, in the second case we mustn't modify Account/Contact.
In result, I don't see any option to catch event of Account/Contact creation during qualification