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

there is no such function as setState I think you are refering to react function but here I am talking about the netsuite wms state

Rookie Answered on December 6, 2023.
Add Comment

Your Answer

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