Context is a global object that exposes transaction data to your Custom activity script, lets you send HTTP requests, log custom messages, and retrieve tenant secrets.
Properties
Deprecated properties
Methods
CreateMultipartFormDataRequest
MultipartFormDataRequest object for sending data as a form containing strings and files (multipart/form-data).
CreateHttpRequest
HttpRequest object for sending a string, file, source image, or a simple URL-form-encoded form. This form cannot contain files.
LogMessage
GetSecret
If the variable name contains reserved characters (
" or ,), escape them with a backslash in the method call. Only users with the Tenant Administrator role can create, edit, or delete environment variables. For details, see Manage environment variables.