Error in Excel Export Input Object ( Java action)

0
Hello Everyone, I Tried to export the data in a excel, but I am getting an error as mentioned below. ERROR : Cannot create excel, because the inputobject isn't a subclass of configured. But I have passed the list of objects to be exported for the input object. Answers are really much appreciated!
asked
1 answers
3

Hi Arunkumar,

You should create an entity which is a specialisation if FileDocument. Before the Java action, you should create an object of this entity and associate all the objects on your list with this object.

As the input into the Java action you can then use this new Object (FileDocument). In the export templates you can reach the objects on the list over the association we just set.

Be aware that you will have to commit the FileDocument specialisation in order for this to work.

Hope this helps!

answered