Creacting XML data with execute script in a workflow

Avatar

Avatar
Validate 1
Level 1
Moonraker046
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Moonraker046
Level 1

Likes

0 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Moonraker046
Level 1

28-09-2016

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct reply

57 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct reply

57 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
TundraSteve
Level 5

15-12-2016

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

Answers (0)