Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Creacting XML data with execute script in a workflow

Moonraker046
Level 2
Level 2

Hi all,

i'm trying to build a XML process variable from a text string in an execute script workflow item.

I have adapted the corresponding tutorial http://www.adobe.com/devnet/livecycle/articles/building-xml.html

My problem now is that i get a runtime exception:

java.lang.RuntimeException: Parse error at line 27, column 1.  Encountered: Document

The exception refers to the following line:

Document suppliers = new DocumentImpl();

But i've imported all Java packages as stated in the tutorial. What might be the problem?

1 Accepted Solution
TundraSteve
Correct answer by
Level 8
Level 8

You are trying to do this using AEM Forms JEE and not an AEM Workflow correct?  If yes then I've attached an LCA that you can import through adminui that is working on my AEM Forms 6.2 JEE install.  Rename the file from .txt to .lca to do the import

View solution in original post

1 Reply
TundraSteve
Correct answer by
Level 8
Level 8

You are trying to do this using AEM Forms JEE and not an AEM Workflow correct?  If yes then I've attached an LCA that you can import through adminui that is working on my AEM Forms 6.2 JEE install.  Rename the file from .txt to .lca to do the import

View solution in original post