Java Action call is not returning Object

0
Hi all,          I have deployed successfully and able to explore the code in Spring suit tool. Added some code in the JA_CreateOrder .executeAction() and restarted the application my added codes get cleared and showing original code and java call not returning any object. Entity:     Java Action:         Microflow          
asked
3 answers
3

After you step over the Java Action, is newOrder set when you look in the Variables tab?

The object isn’t committed, so if you are looking outside this microflow you won’t find it.

answered
1

I tried to duplicate your work, and the data is storing correctly for me.


Have you setup security on your project? Have you given the user running the microflow permissions to create the object and have read / write access to the attributes?

 

answered
0

HI Robert,

 

       Thanks for helping and simulated ,when I click on microflow button from Home-page I am getting following issue.


 

 

Error messages 1:
     

     Log Node : Connector 

     Message: 

            An error has occurred while handling the request. [User 'MxAdmin' with session id '6e384a95-XXXX-XXXX-XXXX-XXXXXXXX0be4' and roles 'Administrator']  

 

Error messages 2:

               

 Log Node : Client

     Message: 

           An error occurred while executing an action of MyFirstModule.Home_Web.actionButton1:  Error: An error occurred while executing an action of MyFirstModule.Home_Web.actionButton1: 
    at http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:68:118789
    at we (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:24:6501)
    at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:24:6402)
    at x (http://localhost:8080/mxclientsystem/mxui/mxui.js?637704924786114159:66:5472)

Thanks for guiding !….

 

Thanks

answered