Contents

Popular

The Script Call Out policy lets you add custom JavaScript codes and Python codes that execute within the context of an API proxy flow.

This policy allows you to add or replace/modify/change the Payload and Context Variables. This policy can manage the function of Assign Variables, allowing to configure multiple context variables in the script.

Example

A basic script is provided each for javascript and python in the API UI itself (as seen in the above figure), which acts as a template. Following are the sample scripts available in the Script editor section.

JavaScript
Python
Adaptavist ThemeBuilder EngineAtlassian Confluence