AEM 6.4 on local Windows 11 issue with prepareData not updating form | Community
Skip to main content
Level 6
December 3, 2021

AEM 6.4 on local Windows 11 issue with prepareData not updating form

  • December 3, 2021
  • 1 reply
  • 2491 views

Greetings All,

I have just installed a local instance of AEM 6.4 JEE on a Windows 11 laptop for some development testing.

I have found that I have an issue with data modified by the Prepare Data orchestration not being reflected in the rendered form for Assign Task - UserServiceV2.

I have no issues with the prepare data that fires on the Workspace Start Point - the data updates made in that orchestration are reflected in the rendered xdp.

I have not seen any other data issues in the main or prepare data orchestrations, or any errors tied to the render event in Server.log or error.log in the CR-X.

 

  • The service is set to run the prepare data process when a user opens the task.
  • The data presented matches the data being passed into Assign Task ( before prepare data runs ).
  • I have recordings turned on, and the prepare data process is executed successfully.
  • The server installation was run as administrator - with UAC disabled.
  • Merging the XML output of prepare data with the XDP produces the desired form.


Any thoughts are greatly appreciated.

Thank You

Mark

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

1 reply

Kosta_Prokopiu1
Adobe Employee
Adobe Employee
December 3, 2021

Hi Mark,

Are you sure that you set the process data correctly in your PrepareData process to be returned? Sounds to me as if the modified dataset is not returned to the next steps in your orchestration or are you sure that you use the correct variable for the process data in the UserTask? 

Kosta

 

Level 6
December 3, 2021

Hello Kosta,

Thanks for your quick reply.

I am pretty sure that the orchestrations are set up right.

I initially discovered this issue moving running applications to my local instance from a server on the network where they run without this issue.

I have also tried creating brand new applications from scratch on local and using all the default variable names (xmlPrepareData), etc.

 

Migrating the new app created on the local instance to the network server - it works as expected there.

 

I am running the same version of Java as the network server.

 

Thanks Again,

Mark

 

Level 6
December 3, 2021

Sorry Mark, but even Windows 10 is also not supported, as per the link.

You need to use 64 bit Windows Servers like the versions 2012 R2 or 2016, as per the link above. Windows 10 or Windows 11 are not Windows Servers. 


I believe it is based on this in that same linked document:

 

Virtualized environment

You can run AEM Forms on JEE on a physical machine or a virtual environment. However, if you encounter any issue with AEM Forms on a virtual environment, try replicating the issue on a physical machine. If the issue persists on the physical machine, contact Adobe Support for a resolution. For issues that do not replicate on the physical machine, contact your virtual environment vendor.

Development environments

Platform (Base Version)Support LevelSupported Patch Definitions

Microsoft® Windows® 10

E: Expected to work

Service pack and critical updates