Multiple Assign Activity has no helpful Highlight Feature

Hello,

This feels trivial, but has a great impact on how we work with Multiple Assign activity.

It is great to work with when it is set up for the first time. However, on a revisit if we are going to work on a large set of multiple assignment rows, this activity does not help identify which row we are currently working on.

Here is an example:

I clicked on one of the rows and brought up the advanced editor on the right for that row. Once I finished working on the advanced editor and click OK or Cancel to return back to the Multiple Assign control, there is no indicator on the Multiple Highlight control, there is no indication about which row I clicked on.

Here there is an error, but I don’t remember which row I modified because there is no indication on the Control.

Feature Ask:
Could the row currently in focus be somehow highlighted?

Thanks!

1 Like

I feel like the screenshot above showcases how unusable this activity really is in a real-life world of many long expressions.

We might have to go further than your suggestion to fix that. Let’s brain storm.

What would actually make your experience with this activity seamless? Wrapping the expressions on multiple line (to see everything at a glance)? Or maybe a mode to edit it all in an expression editor, with one assign per each line? Or…?

2 Likes

Hi @loginerror,

For starters, we really need the focus to be retained on the line we are operating on even if click on the expression editor and expand it. When we click ok, we should be able to see which line I was on.

That would be really helpful! It would stretch the variable and expressions windows to the full width so that we could get to see more of what’s in them.

Moving the lines up or down with the grab handles could be made a bit smoother. Sometimes, when I grab a line and move it up or down, I’m able to it based on where I want it to be. Other times it does not work. This is an idea that may or may not work, but here it is:

Remove all grab handles on the left side. Instead replace with a Up-Down arrow at the top-left or top-right of the Multiple assign box.

To move a line up or down, the user highlights that row (by clicking into one of the input fields on either side of the equal to sign. And then clicks the up/down arrow depending on where that row is supposed to be moved.

On a related note:
I reported another issue in the recent version of Studio. When I try to assign a variable on the right side of the equal to sign, I’m unable to type into the expressions editor to put in the variable. Instead, the editor forces me to activate the “Use variable” feature and then select a variable in scope and only then it gets assigned.

I’ve experienced this in at least two situations.

  1. I have a UiPath Library that takes a String array as argument, I’m unable to directly type in the array variable as Studio flags this as an error! If I pull that flow out of the library and pass it an Array argument using the Invoke Workflow activity, it works!
  2. When working with Solution Accelerator I have found the same behavior with non-string variables. I cannot simply type in the variable, rather I have to select it to be populated in the input field

Is this a side effect of the modern experience?

Thanks,
-Andy

Sorry to Hijack the thread with other suggestions. The another problem with multiple assign is the assigned variables and values wont show up on the search. in attached screenshot I have assigned value in Multiple assignment but the variable doesn’t show up in search results.

As always feedback is welxome by all! Thanks for chiming in @AI_GPT :slightly_smiling_face:

I think its really a visualization issue. Maybe we can find a way to have the textboxes borderless and with no gap between them to make them closer to a code block.

We could then maybe see alot more on the screen and make it abit more seamless.