Hello dear System Activities Package maintainers and engineers at UiPath and fellow RPA developers
I often use the Pick and Pick Branch activities. Im really thankful to have these. They help a lot to solve certain problems elegantly and to improve automation job runtime. I think the following ideas/request would greatly enhance the develpment experience with these activities:
[Descriptions of current functionality/behavior/development workflows refer to the latest (as of today) version of the UiPath.System.Activities package 24.10.6 and UiPath Studio version 2023.10.7.]
1. Include two Pick Branches in the Pick activity by default when adding one to the workflow
Today, when I add a Pick activity to the workflow it is empty (no Pick Branches inside the Pick activity). I have to add Pick Branches manually (which also could be improved, see my second point). Imho a Pick activity only makes sense with at least two Pick Branch activities inside. Never came across a situation where this was not the case. Populating the Pick activity with two Pick Branches by default would eliminate the step of adding them manually every time.
2. Simplify adding Pick Branches
Currently Pick Branches can only be added to a Pick activity by drag and drop from the activities panel.
My suggestion: Change the downward pointing triangles that appear besides and between the Pick Branches so that clicking on them adds a new Pick Branch at that position. Maybe even add a ±symbol inside the triangle to give a visual clue about its (suggested) functionality
3. Make the Trigger and Action containers of Pick Branch behave more like the Sequence activity or Then and Else containers of the If activity (regarding adding activities to them)
As of today to add an activity to empty Trigger or Action containers (or when a single activity is in a container) I have to drag and drop the activity either form the activities panel or from the current workflow. In an empty Sequence activity (and in empty Then and Else containers of the If activity) there is that small round button with the ±symbol that i can use to add an activity. I’d like to have that button also in the Trigger and Action containers.
I guess my first and third point could be addressed by creating a snippet:
Add Pick > Add two Pick Branches to Pick > Add Sequence to Trigger and Action containers > Create a snippet of that
Nevertheless I think my suggestions would benefit all the users of Pick out there.
What do you think? Would be nice to see UiPath associates engage in the discussion.
Have a nice day