Use Jinja, a templating language for Python, to update values.
You can take advantage of the following features
- Code editor. The built-in editor provides syntax highlighting and auto-completion to help you to write code effortlessly and accurately.
- AI Assistant. The AI-powered assistant helps you generate code based on your specific request.
- Test run feature. The Test Run feature enables you to validate your Jinja code before execution.
Using the assistant
You can ask the assistant for help in generating Jinja code. For example, you can ask:
- How do I convert a field value to uppercase?
- How do I add a prefix to a field value?
- How do I concatenate the values of two fields?
Using the Assistant to generate Jinja code
Input variables
Manually enter the name of the field into the editor or click Select a field to retrieve field values. You can access the following field values:
- Data Model fields such as
{{barcode}}or{{email}} - Values from global settings
- Workflow variables
Test your code
- Click Test Run.
- Input a sample value to test your code.
- The output should automatically generate.
Comments
0 comments
Please sign in to leave a comment.