in restlet, how to find out if restlet was called ...
# ask-stanley-ai
t
in restlet, how to find out if restlet was called internally
c
AI generated answer (using internal Slack threads):
In order to find out if a Restlet was called internally in NetSuite, you would need to use the external URL of the Restlet and authenticate accordingly. This is because when you call a Restlet from a User Event, you are essentially making an external call. However, if you want to avoid making an external call, you could include the Restlet code as a library for your User Event and use it from there. Alternatively, you could extract the shared code from the Restlet into a custom module to share between the two scripts. Please note that these methods do not directly tell you if a Restlet was called internally, but they provide ways to call a Restlet internally. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.787750304
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.787506163
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.77758795
Please provide your feedback on this answer.