Created attachment 1518034 [details]
screen capture of issue
Description of problem:
the code used for the dynamic service dialog items is being executed not only while creating the service request, but also executed everytime the service request is being opened for review and executed again while clicking on the approval.
this is giving the illusion that the system is very slow and unresponsive
the code should be executed once only at the time of the service request, if the request is opened for review and approval it should be getting the details from the database not rerunning the code everytime
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a service dialog that uses dynamic items
2. submit a new service request for that service
3. open the service request for review
4. approve the service request
the automation code is executed every time the service request is opened for review and executed again at approval
the automation code should only be executed as service request when the dialog is being displayed to the user.
when the request is opened for review and approval the details should be displayed directly from the database and not rerun the automation code again.
a video of the issue is attached
Erik is currently looking into this issue.
Master PR has been merged:
Verified in Version 18.104.22.168.20190507174347_a77bd90