AEM 6.5 Forms Rule Editor async functions | Community
Skip to main content
October 29, 2024
Solved

AEM 6.5 Forms Rule Editor async functions

  • October 29, 2024
  • 1 reply
  • 710 views

Hello, recently we have migrated our forms and clientlibs to AEM 6.5 on premise, now we have detected that rule editor on forms does not work. We have identified some changes like use "var" instead of "let" but our main problem is with async and await sintax.

We have asyncronous functionality and if we change to promises, it does work correctly. Is there any configuration or option to use async and await on clientlibs?

If we remove these words rule editor works and allow to edit js. Our error is:

 

I have found this comment, so which option do I have?
https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-components/create-and-use-custom-functions-core-components#troubleshooting 

 

The functions that are not supported in the custom function list are:

  • Generator functions
  • Async/Await functions




 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ancara

Hi, finally Adobe support answered my question and we have to update version or refactor code. Typical situation in old maintenance projects ... Regards!!

 

1 reply

Adobe Employee
October 29, 2024

Hello @ancara ,

 

Can you please share your AEM Forms version?

 

Thanks,

Rahul Pandey

October 29, 2024

Hello @rahulpandey27 

 

We are using AEM 6.5.15 and Forms addón 6.0.856. 

 

Thanks!!

 

ancaraAuthorAccepted solution
November 6, 2024

Hi, finally Adobe support answered my question and we have to update version or refactor code. Typical situation in old maintenance projects ... Regards!!