I have a question about working with record collection from read data element.
My case is to take all tasks planned for the next hour and send email to them owners.
I’d like to ask if it is possible to get a task ID, one by one, base on the collection, then read the necessary data from the task and send an email to the owner. (like in schema below)
The task you described can be implemented via the process, but it will require some additional development. When the process reads tasks and sends an email script task should be used since send email element cannot work with collections. An example of such a script task can be found in process Send email to case contact. Also, similar task but without development is described in this post: https://community.creatio.com/questions/sending-email-collection-records-if-reorder-date-record-equals-current-date. If you want to send separate emails for task owners I would recommend adding tags to records to distinct processed tasks.
I have also been successful in using the new upcoming functionality that was tested in the 7.16.1 release to feed a collection into a subprocess. If the email is relatively simple and the variables are limited, you can send a collection to a simple subprocess that sends an email to the contact list in the collection but generating a new process for each item in the collection. But for more complex emails, creating a loop like the tag example is your best bet. Also, you can use tags, or you can create a boolean in the section to loop through that can be turned on and off.
Please generate the source code for all items, compile all items in the app (make sure that there are no warnings or errors during the compilation and it was completed successfully) and test the process once again and let us know about the result.
And do you use any process parameters? Maybe this process is a sub-process in another process and the main process transfers the Date/Time parameter to it and it is done incorrectly so as a result you receive the error? Can you please provide us with the screenshot of your process parameters? And the screenshot of launch options of the process? What happens if you simply recreate the process from scratch?
Can you please create a ticket to support regarding this issue? Everything works well on my 7.15.4 postgre application so I think it is better checking the backup of your application.
Previously, I have already create a ticket "SR-0895625", you can check that.
But, I decide to close this ticket, cause I found the problem of the error. But, now the error appears again, so I ask in community, maybe others have same issue like me.
The issue couldn't be reproduced on clean out-of-the-box binary files so the problem is somewhere in the binary files. Can you please tell us what was the reason in SR-0895625?
Basically, if you already know how to add the CSS schemas, you'll just use inspector/devtools to determine the id of the element and then add to the CSS with a background-color.
I trying to set the background colour for a filed based on Certain condition. Im not able to achieve that. Is there any post or anything where you can guide me on the same?
in the below code, line 1-4 does not work. But, if i remove "[isFontChange= "true"]" from line 1, it by default highlights the value of the specified field.
I want to highlight the value based on condition. Kindy help me achieve the same
1) When opening the page from the section page, it auto switches to edit mode (instead of the "Close" button, it displays the "Save" button) even though there is nothing changed on the page.
2) When opening any record from the details page, and close it, the main page's multiple-choice field lose all its selected on-screen (blank). If we refresh the page manually, the multiple-choice field displays correctly.
Hello S. Kobizka, we are still having trouble with this question. Have you made any progress on this? If possible, I would like to know how things are going with the development.
Hi S. Kobizka, me again. We are looking to use this feature but cannot since we are running into these issues. Can you provide me with an update and include if this is something your team won't be researching? I'm hoping to have a working solution this week, but it is dependent upon you and your team. We are really impressed with what you have been able to do, it just needs to get a little bit further for it to be a great solution.
Thank you very much for your kind feedback and please accept my apologies for the delay.
We've received the following response from the team:
1) When you open a page from a section, it will automatically switch to the edit mode in case you've clicked any other field (even accidentally) on the section page. It doesn't depend on whether you've made any changes or not. It is the default page behavior and the setup of a multiple-choice field does not change it.
2) The issue from the second case has been investigated and the cause of the problem is now identified. The team is planning to fix it before July, 10th.
I have checked the feedback from the responsible team. However, the issue has not yet been fully resolved and I had to return it back to them for further investigation.
I expect to receive the solution within the following week and will let you know when the fix will be available at Creatio Marketplace.
Thank you for fixing the bugs. I put it on the simple page and it works fine. I found another bug. When we navigate the records on the panel on the left, the multi-select field adds up the records from the cache and it has all the duplicates (please see the attached picture). Hope you can fix this bug. Thank you.
We have successfully reproduced the issue that you mentioned above and reported it to the responsible team. We are waiting for the team’s feedback and will notify you of any updates.
Terrasoft.Common.ItemNotFoundException: Collection item with unique identifier "24240d57-78ed-41ad-8877-22acad56de30" not found. at Terrasoft.Core.Process.Process.GetFlowElementBySchemaElementUId(Guid schemaElementUId) at Terrasoft.Core.Process.TaskService.WriteErrorToProcessLog(TaskServiceQueueItem queueItem, ProcessComponentSet process) at Terrasoft.Core.Process.TaskService.ReceiveMessage(TaskServiceQueueItem taskServiceQueueItem) at Terrasoft.Core.Process.QueueEmulator.b__8_0(TaskServiceQueueItem message) at Terrasoft.Core.Process.FlowVisitor.Dequeue() at Terrasoft.Core.Process.FlowService.StartFlow(Guid processUId, FlowSchema flowSchema) at Terrasoft.Core.Process.FlowService.StartFlow(TaskServiceQueueItem message) at Terrasoft.Core.Process.FlowService.ReceiveMessage(TaskServiceQueueItem message) at Terrasoft.Core.Process.QueueEmulator.b__9_0(TaskServiceQueueItem message) at Terrasoft.Core.Process.FlowEngine.EnqueueProcess(ProcessComponentSet processComponentSet) at Terrasoft.Core.Process.FlowEngine.RunProcess(BaseProcessSchema schema, Dictionary`2 nameValueMap) at Terrasoft.Configuration.ClaimQuotationDAO.CancelExtraPaymentNAV(Guid quotationId) at Terrasoft.Configuration.ClaimQuotationDAO.ChangeStatusAndStatusReasonForAllClaimQuotation(String claimNumber, Guid statusId, Guid statusReasonId) at Terrasoft.Configuration.QuotationService.ChangeQuotationStatus(String claimNumber, Guid statusId, Guid statusReasonId) at Terrasoft.Core.Process.UsrCloseClaimLiquidationAfterReturnBenefitMethodsWrapper.UsrRejectedAllClaimQuotationsExecute(ProcessExecutingContext context) at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
Unfortunately, I could not reproduce the issue. The provided code worked fine on my end. However, I can suggest two ways of how to resolve this issue:
1. If the issue occurs again please contact technical support and provide them with the time stamp when the issue occurred. Support team will check the logs and will find the root cause of the issue.
2. You can try to run business process using another approaches. Please find the examples in the articles by the links below:
While we are aware that the Creatio web application is primarily an 'online' application and does not support offline usage, Will a loaded page stay as is, if network disconnects for a few minutes? I did a quick check on a pre configured page and it stayed as is. I was able to resume operations once I reconnected. Can this be extended to a pattern for sections and other pages?
On a larger front, (How) Does the platform handle network outages or momentary connectivity issues on the client and on the server? For Eg If a Business process was running on the web server and there is a network outage, What happens? Automatic retry/fail over?
I have seen that the platform uses WebSockets behind the hood for Client Server communication. Wouldn't these be directly affected? Some insight into how the platform looks at all of the above, will help!
Yes, the loaded page won't crash until you try to refresh it.
When you have some page or the list of records opened and the network connection goes down - you'll be able to continue working not being interrupted when the network is up. Though, there are some things that require a page refresh e.g. schemas saving, compilation, etc.
Like every web-platform, Creatio can handle it. If there was a request sent to the server and the server is unavailable (due to the connectivity issues) then the request will be stopped by timeout, but the request will be sent if the internet connection is up before the timeout.
Business processes operate on the side of the server and it has nothing to do on the client's side. If you're out of internet connection and the process is running but there's no user action on elements required - it will continue running. For example, if the running process should execute the page opening (requires user action) the page won't be opened and you'll see the notification on the CTI Panel on the right (http://prntscr.com/sl8jst) with the message that the user action required in the particular business process.
In general, business processes should not crash when the network connection on the client is down.
WebSockets issue (as a consequence of the network issues) affects the fact of page opening only. If WebSockets doesn't work you'll get a notification on the right panel as I've mentioned earlier
Yes, the loaded page won't crash until you try to refresh it.
When you have some page or the list of records opened and the network connection goes down - you'll be able to continue working not being interrupted when the network is up. Though, there are some things that require a page refresh e.g. schemas saving, compilation, etc.
Like every web-platform, Creatio can handle it. If there was a request sent to the server and the server is unavailable (due to the connectivity issues) then the request will be stopped by timeout, but the request will be sent if the internet connection is up before the timeout.
Business processes operate on the side of the server and it has nothing to do on the client's side. If you're out of internet connection and the process is running but there's no user action on elements required - it will continue running. For example, if the running process should execute the page opening (requires user action) the page won't be opened and you'll see the notification on the CTI Panel on the right (http://prntscr.com/sl8jst) with the message that the user action required in the particular business process.
In general, business processes should not crash when the network connection on the client is down.
WebSockets issue (as a consequence of the network issues) affects the fact of page opening only. If WebSockets doesn't work you'll get a notification on the right panel as I've mentioned earlier
First off all, if you're just accessing the local install via localhost, you can turn on a development certificate in the bindings for the website in IIS
However, if you're accessing it via some name from outside of the server itself, like devserver.mydomain.com, then you can get a free certificate from LetsEncrypt.org. There is a tool you can get from https://CertifyTheWeb.com (that uses LetsEncrypt.org) that you can use to easily add the cert (and keep it renewed) in IIS
In order to implement the required functionality please debug the “BaseManyToManyGridDetail” and “LookupPage” schemas. Please feel free to use the “IsDebug” mode for it. Please find more information about it in the article by the link below:
After I selected Object to inherit access permissions I clicked publish and I got the error: Internal failure occurred while running MSBuild. Has my change been published or more likely it did not? Will this affect my package?
You are using the trial PostgreSQL build and we need to reproduce the same behavior on our end so to tell you the exact reason. Can you please specify for which object have you enabled access rights inheritance and also which object was chosen to inherit access rights from?
I was using Studio demo site where I created a custom section and a details page that belonged to that section. The detail had to inherit permissions from the section. I tried it again today and I got a different error: Errors occurred while compiling configuration. See logs for more details. Then I removed the "inheritance access permissions from" option and while attempting to publish, then I got same error as before regarding MSBuild. I cant publish now because I keep getting the first error "Errors occurred while compiling configuration. See logs for more details".
Please email us at support@creatio.com and provide us with the link to the app and with access to it and we will take a look at the issue more deeply. We've also enabled logging for PSQL applications and now we should be able to determine the root cause of the problem, but we need to reproduce the error on our end.
I create the edit page which contain editable detail on it
When i run this page from section or from process i can edit this detail
when i run it from another edit page by the link in noneditable detail i cant edit it there is no add button and when i enter the detail the data disapear.
Usually, when the data is disappearing, I have had the wrong columns set in the Detail setup in the Page Wizard. If the detail is looking for the wrong columns in the two sections, the link between them is broken. and it will create the records but not show them. It is hard to know without more information.