03/30/2023 10:14 AM
Hi,
We are using the user create forms for onboarding and we are noticing that the form is loading pretty slowly. Does anyone have suggestions on how to speed this up? or experienced something similar with the user create form? We have roughly 19 dynamic attributes and utilizing the action strings, validation queries and reference a dataset. I put some queries below. Any tips would be appreciated.
03/30/2023 12:07 PM - edited 04/25/2023 12:43 PM
The dynamic attributes that you use for the request form can certainly cause the slowness if the queries are not well optimized. The 1st & 3rd query looks fine but the last query could be causing some slowness unless you are using a query in any other attribute as well.
Also for query2, do you have dataset_values table in your instance?
1 way to check is, to remove the last query from the attribute and see if the performance changes. You can do similar check to validate any complex queries you might be using.
04/03/2023 02:22 AM
In addition to @sahil comments , following points can be checked:
1. Check how many attributes are using Mapping and Parent Attribute. Make sure only required attributes are having these values set as these settings will make the whole form reload and revalaute for each attribute.
2. Use queries with proper filters like if you are displaying supervisors/managers list then add department or some other properties in the where clause.
3. Design the form in such a way that the previous attribute can be used to narrow down results in the current attribute.
4. Add null checks in the query.
04/25/2023 12:39 PM
thank you for these recommendations. we have tried updating mappings and different queries, however the page is still loading very slowly.
based on #4, 'add null checks in the query' what do you mean by this?
06/08/2023 10:23 AM
Can you confirm if this is still an issue or was this resolved.
06/20/2023 12:28 PM
We are still working on the form speed / query improvements. It is taking roughly 30 seconds for our create form to load.