IT Process Automation

  • 1.  Creating Dataset object dinamically

    Posted 08-20-2014 03:25 PM

    Is there any way to create a Dataset Object type dynamically from a process?


    I have a folder where I create datasets manually and I want to create and modify them using a process instead of create it manually. Each of these DS contains the same group of variables.


    For example I have the following Datasets on my  "PAMDataSets" folder:


    - DatasetJohn

    - DatasetMary

    - TemplateDataset


    Now I want to create "DataserPeter" dataset using the "TemplateDataset" dataset or simply create it and then set the variables dynamically.


    It is possible?? That would help me



    Thanks a lot

  • 2.  Re: Creating Dataset object dinamically
    Best Answer

    Posted 08-20-2014 03:48 PM

    I answered myself!!

    To solve that I just have use the following code:


    Process.DatasetPeter = Datasets['/Core/TemplateDataset'];

    // Do something with Process.DatasetPeter

    Datasets['/Core/DatasetPeter'] = Process.DatasetPeter;


    That's all!!