-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 20
-
Component/s: Automation, Ergonomy / UX / UI
-
Tags:
-
Sprint:Sprint DM/Studio 5.9.5-1
To avoid clicking many times and to follow examples written in blog or documentation, it would be useful to be edit an automation chain using a simple text representation. YAML can be used for this, especially as there are some java parsers ready to use for this.
Here is a sample conversion:
<chain id="UpdateDocument"> <operation id="Document.Fetch"> <param type="document" name="value">/default-domain/workspaces</param> </operation> <operation id="Document.Create"> <param type="string" name="type">File</param> <param type="string" name="name">expr:test@{item}</param> <param type="properties" name="properties">expr:dc:title=test@{item}</param> </operation> <operation id="LogOperation"> <param type="string" name="level">error</param> <param type="string" name="message">expr:"test"+item</param> </operation> </chain>
becomes
- Document.Fetch: value: /default-domain/workspaces - Document.Create: name: test@{item} properties: dc:title=test@{item} type: File - LogOperation: level: error message: "\"test\"+item"
This edit mode should be in a tab. Studio refuses to save if syntax is not ok or if transformation to Automation Model fails (we want a validation fo the operations and parameters)