Copying variables with activities from project another


I have made two different xaml-files that have their own variables. Now I want to copy content from xaml 1 to xaml 2.

Copying parts or whole project to another is easy and works fine. What bothers me is that variables do not come along. So basicly I have to rebuilt activities again into target xaml-file.

OR is there actually a way to copy activities from one xaml to antoher?

Hi @AnttiS

Is the first xaml a flowchart or sequence so we can based it into another xaml

Ashwin S

You can simply copy Variables/Attributes. Do this with the following steps:

  1. go to the process
  2. select all the rows you want to copy
  3. CTRL+c
  4. go to your new process Variables/Attributes window
  5. CTRL+v

I have tried to copy-paste but it does not work.

Our Studio version is
Studio 2018.4.4 - 02/28/2019
Enterprise Edition
Microsoft Windows Server 2016 Standard 64-bit
.NET Framework Version 4.7.2 or later

Yeah then it’s an issue of your old version. I have no idea when this feature was implemented.

Yeah, I was affraid of it… :-/

I have been trying to copy and paste content from one xaml to another and the variables are coming along but for some reason the exact replica is not working in the new xaml. the part that doesnt work is when i try to assign a variable to this “knocks_noEMP.Rows.Cast(Of DataRow)().Where(Function(row) Not row.ItemArray.All(Function(field) field Is DBNull.Value Or field.Equals(”"))).CopyToDataTable()". Any thoughts on what could be causing the problem?