Imagine the following situation - you have an entity with quite a few attributes and associations:
You want to create or change an object of Entity. This means you have to take the following steps:
- In a microflow (or nanoflow), add a create object or change object action
- Select the correct entity
- For each attribute:
- Click New
- Click the drop-down under "Member"
- Find your attribute and click it
- Set the value of your attribute
- Click OK
This can lead to quite a lot of clicks to get the desired result, and it also has some disadvantages:
- It's hard to see if you selected all attributes and associations or not - you may have missed one or more. Especially with larger entities like those required for integrations, this can make things tricky.
- It's possible to define attributes more than once in the same list.
- Attributes are not sorted by default and cannot be easily sorted by name or anything, so finding the correct attribute in the list can also be tricky.
What I propose is a complete redesign of the create object / change object dialog to make it a lot quicker and more user-friendly. Below is a screenshot of the full idea, then I'll explain the individual parts below:
Available attributes
- This list shows all available attributes and associations that can be set for this entity. Having this list available makes sure you don't inadvertently miss any attributes. The total number of attributes and associations is shown at the top, as well as how many are still available for adding.
- Adding attributes / associations to be changed is as easy as selecting them and clicking "Add" in the middle part of the screen (and clicking "remove" for removing them). This will move them to the right part of the screen, where they can be edited. Keeping the available and selected attributes separate makes it easy to see which attributes are actually changed in this microflow action
- A button to "collapse" the new "available attributes" pane. This means you can easily switch back to the "old" view if you want to.
- Not pictured here: it might be nice to show default values per attribute on hover or in a separate column
Filters and sorting
- Filters above each column mean that it's always easy to find the attirbute or association you're looking for, even if your entity has dozens of attributes.
- Sorting buttons next to each column title mean you can sort alphabetically or reverse alphabetically with a single click. As change order matters sometimes, it might be necessary to add numbers for the execution order to the right part of the screen (not pictured)
Selected Attributes
- Shows the attributes that you're editing. I would love to see in-line editing here so you don't always have to open a separate dialog if you want to add a simple value.
- The familiar icons showing you what was changed or added. I feel like this would be a useful addition to keep track of what changed. This could also help show accidental edits.
- The familiar icons we used to have. Double-clicking or clicking the edit button would pop up the old dialog for editing an attribute. This would be useful for more complicated logic over multiple lines. As mentioned above, for the "move up" and "move down" buttons to be useful, there would need to be some sort of column keeping track of change order (not pictured in my mock-up)
- An undo button to undo the changes you made to a particular attribute
Overall I believe that a rework of this dialog could significantly speed up development, while being flexible enough that it won't bother people who are used to "the old ways" (since they can just leave the left panel collapsed most of the time).
Please let me know what you think of this idea and if you have any further ideas for improvements or changes!