2016-11-21 23-23-05
Gonçalo Borrêga
Merge & Split Assigns
3423
Views
22
Comments
Implemented
Service Studio
Development Environment 10.0.826.0

Allow dropping one assign element on top of another. This would copy all assignment variables from the first assign to the destination and delete the first assign from the flow.


Allow also to select multiple variables of an assign and drag-drop on another assignment element. This would move those variable to the other assignment. Allow to do this with CTRL+Drag, which instead of moving would copy the variables assignment.

Today I was refactoring some flows and, to avoid having two assignments in a row, I had to merge them manually. These were not very big but each had about 10 assignments so I had to make copy-paste about 20 times (1 for name, 1 for value). Being able to merge them would be great.



Merged from 'Merge two assignments' (idea created on 2016-08-24 08:54:15 by Miguel Ribeiro), on 2017-06-21 08:29:27 by Rodrigo Coutinho

I often need to add an Assign widget, which Assgnments you have in another Assign, would save a lot of work if I could join the two assigns or copy from one to another.



Merged from 'Possibility of merge assignments' (idea created on 2017-05-25 00:48:26 by Huarlem Lima), on 2017-06-21 08:30:06 by Rodrigo Coutinho

Yeah, great idea. Just drag & drop one assignment onto another and merge them into one.



Merged from 'Possibility of merge assignments' (idea created on 2017-05-25 00:48:26 by Huarlem Lima), on 2017-06-21 08:30:06 by Rodrigo Coutinho
1 - Select two or more Assign Widget;
2 - Click right mouse button;
3 - Select MERGE;

Result

One Assign Widget with the contents of them.

Merged from 'Merge two or more Assign Widget' (idea created on 2011-12-23 18:56:46 by Carlos Abreu), on 2017-06-21 08:31:29 by Rodrigo Coutinho
2011-06-15 10-51-22
Joop Stringer
What should this do ?
Example please 

Merged from 'Merge two or more Assign Widget' (idea created on 2011-12-23 18:56:46 by Carlos Abreu), on 2017-06-21 08:31:29 by Rodrigo Coutinho
  1. Assign values must be next to each other in an action or process.
  2. Select 2 assign objects ... click "merge"
  3. Values from 2nd appended to the end of the first assign
  4. 2nd assign object removed.


Merged from 'Merge two or more Assign Widget' (idea created on 2011-12-23 18:56:46 by Carlos Abreu), on 2017-06-21 08:31:29 by Rodrigo Coutinho

Would be nice we can merge assign's with drag and drop.



Merged from 'Merge assign's with drag and drop' (idea created on 2017-11-23 10:10:05 by Igor Khodak), on 2017-11-24 09:05:21 by Vasco Pessanha
2014-02-07 17-02-43
Vasco Pessanha

Hi Igor,

Thanks for your contribution. I think this is the same ideas as this one:
https://www.outsystems.com/ideas/308/merge-split-assigns

I'll merge them ;)

Cheers



Merged from 'Merge assign's with drag and drop' (idea created on 2017-11-23 10:10:05 by Igor Khodak), on 2017-11-24 09:05:21 by Vasco Pessanha
Merged this idea with 'Merge two or more Assign Widget' (created on 2011-12-23 18:56:46 by Carlos Abreu)
2014-02-07 17-02-43
Vasco Pessanha
Changed the status to
Implemented
on 03 Jul 2018

Hey guys,

Thanks a lot for you contribution, especially Gonçalo the idea owner!

Glad to announce that we have implemented this idea in Service Studio 10.0.826.0.

Thanks a lot for your contribution, it’s these little things that count!

As usual, you can find your contribution in the product release notes:
https://success.outsystems.com/Support/Release_Notes/Development_Environment/Development_Environment_10.0.826.0

Cheers!

YEY! Thank you people for making developers life every day so much better with these small but Big improvements! I love you <3

This sounds great! 

I'm trying to reproduce this but I'm not able to on 10.0.827.0, am I missing something? :D

I also tried the same thing, But couldn't find anything as mentioned above.
Can you please elaborate or just explain a few steps how can we achieve it.

2014-02-07 17-02-43
Vasco Pessanha

Hey guys,

You can find a gif of that feature in our product updates (together with all the latest goodies!):
https://success.outsystems.com/Documentation/Whats_New


I'll add the gif here anyway:

Guys, you might want to rethink the way this is implemented, because I think it's a bit confusing right now. 

Suppose I have an Assign element with 3 assignments. In the first one, I have no option to split it. This way I can't leave just the first one in this element and split the other two into a new element.  In the second assignment, I get the "Split all below into new Assign" option.  My expectation when selecting this would be to have only the assignments below the selected one split into a new element, but what happens is that both the selected assignment and the ones below it are split.

2014-02-07 17-02-43
Vasco Pessanha

Hey guys,

As said here the usability of this feature is not there yet and we will review and tweak it in the near future. "Split all below into new Assign" makes you think it will split between the current assign and the next one, which is not the current behavior.

I'll keep you posted. Thanks for the feedback!

What about merge? It's not available, right?


:)

2014-02-07 17-02-43
Vasco Pessanha

Hey Victor,

Actually it is available and it was even demoed in our ODC! :)

Just select multiple consecutive assign nodes and merge them into a single one!

Thanks Vasco


My assign was not connected in the flow, that's why I couldn't find the merge option :)

Merged this idea with 'create new assign base on old assign' (created on 29 Dec 2019 10:49:40 by dauster)

Imagine that I have one assign that has a lot variables and I need to split this assign in three different new assign, because the action flow change for some reasons. It is very painful create a new assign and also look for the old one  to make be sure that everything is  right.


It would be wonderful , if I could selected the variable that I want to move and Outsystems create new assign base on it and remove from the old assign these variables.



This comment was:
- originally posted on idea 'create new assign base on old assign' (created on 29 Dec 2019 by dauster)
- merged to idea 'Merge & Split Assigns' on 02 Jan 2020 17:39:28 by Sofia Modesto
Changed the category to
Service Studio

Hello dauster, you can split assigns by clicking in the dropdown close to an assignment variable. This will help you in the scenario you described. For more details check the image below.

Also, you can later merge multiple assigns. Simply by selecting both and doing right-click and then "Merge Assigns".

Hope this helped.

Thank you for the idea. Keep sending ideas! :)



This comment was:
- originally posted on idea 'create new assign base on old assign' (created on 29 Dec 2019 by dauster)
- merged to idea 'Merge & Split Assigns' on 02 Jan 2020 17:39:28 by Sofia Modesto