Managed script examples
Introduced in version:
27.1.1.96
These examples use the stored Systems.Core.Script feature. For each example, create an active record with a unique Code and Name, set ScriptLanguage to JavaScript, put the JavaScript in ScriptText, and put its JSON declaration in ParametersSchema. Call the record's Execute action with the shown JSON request body. See Your first managed script for the full HTTP request and response format.
- Inputs and results shows all parameter directions and the response envelope.
- Domain data reads, queries, and changes customer records.
- Files and documents edits text files, creates XLSX and PDF files, and attaches a file to a customer.
Replace sample IDs with records from your instance. The instance needs the X21 Advanced BPM license, and normal Domain permissions apply. An Execute result does not commit Domain changes; for examples that edit data or files, commit the transaction.