In mobile application I have a button "Terminar" that when I press it I want run a process from my process library in Creatio.
To implement this button I created the following component and a function "onClickMeButtonClick", that is responsable for executing the process after pressing the button. To execute the process I used "Terrasoft.configuration.ProcessModuleUtilities", but I'm not sure if this is the best way to implement this example.
The mobile application UI doesn't support working with business processes and processes are only triggered on the server side in real-time once the record is modified in the mobile application or record is added (and correspondent start signals are present in some process).
Our core R&D team already has a task to make it possible to work with business processes from the UI directly and I will also let them know about your post so to prioritize the task for them.
Thank you for helping us in making the app better!
After I created a Business Process, somehow it caused my custom page "Concert Programs" to lose the list of values/records and they no longer display. I deleted the process hoping this would fix it, but have not been able to fix the issue. My custom page gets the error in the screenshot. (Cannot read "attribute" property of undefined) . I investigated the code which I also have a screenshot and it appears my custom entity "UsrConcertPrograms" is missing from the list. Can you point me in the direction to resolve? Thank you.
If it is dev environment or you don't have any important data created after the issue occurred, probably the best and the fastest option would be to roll back to the backup made before the issue occurred (if the site is in cloud the backups are made daily, if you have on-site installation it depends on your configuration). If rolling back is not an option for you, you can try to generate the source code for all and compile all in configuration, it may help. If the issue would still occur after that, the issue needs to be debugged to fix it: https://academy.creatio.com/documents/technic-sdk/7-16/client-code-debugging
As you've mentioned that your custom entity is missing most likely it is either removed completely and in this case, you can try to recreate it. Also, one of the possibilities is that the corresponding SysModule record was removed, In this case, you can restore it following the steps in the community article below (please note that most likely SysModuleEntity and SysModuleEdit records still exist, however they may have been removed as well):
If you would need help with this please contact support at support@creatio.com because it is hard to tell the exact root cause in your case without debugging the issue.