Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Write XML Activity

Avatar

Level 2

Hello,

Can anyone help me set up correctly the Write XML Activity?

I have a PDF form that is filled in the workspace and must generate the XML code of the information entered.

Thanks for anyhelp!

Saulo

3 Replies

Avatar

Level 10

When you submit your PDF, the xml data for that PDF should be in the formdata variable.

Jasmin

Avatar

Level 2

Hello Jasmin,

My flow gets stalled with the following error message: Internal error.: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.

The Write XML Activity in the Workbench is configured as follows:

screenshot.jpg

Thanks for your help!

Avatar

Level 10

You want to put your formData variable in the XML Document property.

The Result property (in Output) is really just the result the actual writing operation (true or false).

Also you should check the overwrite checkbox (at least in testing) to avoid error if the file already exists.

Jasmin