Script Actions
Using Script Actions
Script Actions can be defined in a Compound Actions.
To provide a secure runtime, each Script Action adds non-negligible latency to your plugins. Please make sure to use DSL and our Data Mapper for common data transformation operations.
You can insert a script action using the script
keyword.
Fields:
output_key
: A variable to store the result of the action.- Type:
str
- Mandatory: Yes
- Type:
input_args
: A dictionary mapping input arguments to their values, allowing for dynamic inputs to the action.- Type:
dictionary
{}
- Accepts Moveworks Data Mapping Syntax - Mandatory: No
- Type:
code
: A string that represents the code to execute.- Type:
str
- Mandatory: Yes
- Type:
Supported Languages
Moveworks currently supports a variation of Python called APIthon. This provides a familiar and powerful scripting environment for developers.
Follow our roadmap item to be the first to get full Python support in your instance.
Updated 4 days ago