RE: How to Store RESTlet Response in NetSuite WMS State

I’m currently working on a NetSuite WMS project and I’ve hit a roadblock. I need to store the response from a RESTlet into the state within a mobile action. My RESTlet is set up and returning the expected result, but I’m unsure how to capture this response in the mobile action’s state for later use.

The RESTlet returns a simple object { mypo: result }, and I’ve set up an output parameter in the mobile action. However, the step to actually store this response in the state is where I’m struggling.

I’ve reviewed the documentation and tried to configure the action accordingly, but I’m missing something. If anyone has experience with this process or can offer some insight into what I may be doing wrong, your help would be greatly appreciated.

Thank you!

tricksterbivek Rookie Asked on December 4, 2023 in SuiteCloud.
Add Comment
3 Answers

Remember, the key is to bridge the gap between the RESTlet response and the mobile action state. Choose the method that best suits your workflow and double-check the configuration steps. If you’re still stuck, feel free to share any error messages or specific code snippets for further analysis.

I believe you’re just a step away from conquering this roadblock! Keep at it, and let me know if you need further assistance.

Beginner Answered on December 5, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.