Hi, we implemented some ruby code from this book: https://pemcg.gitbooks.io/mastering-automation-in-cloudforms-4-2-and-manage/content/service_dialogs/chapter.html. Some of the fields in the dialog are automatically filled by ruby code. This is not performing at all, in the admin console it is slow but in the self_service portal it is not working at all. We have very basic code like this:
dialog_field = $evm.object
#Set virtual machine name
dialog_field[“value”] = “vmid#{$evm.root[‘dialog_seq’]}”
Some code is little more advanced but it is not very time consuming. We have eleven different fields that are filled based on the refesh of one field (a name) that is filled by the user.
@pemcg can you help us, how can we speed up things?