How to use Custom CDT with dataset

Hi ,

 

I am very new to Appian. I am stuck on one requirement.

 

I have fetched bulk records from one view which i want to use in different sections.. Each section expecting some aggregation on that.Earlier i was calling same view in respective sections on different pages. But due to performance hit i need to share same dataset to all sections. Now i want to set one filed value with list of respective field value, i mean to say i want some grouping on field A n want to fetch rest of fields n then want to set these values in one custom cdt. For the custom cdt i have list down my all fields n uploaded. But i am stuck now how to use that cdt, how to set dataset values in that cdt ??

 

 

If someone can help on this would be really great help....!!!

 

Thanks in advance.

 

Regards

Saurav

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Create a script task. From the output tab of the script task, create a new output and using the expression editor, call the rule which returns your dataset. Add ".data" after the rule call. Then in the same output that you just created, select 'is stored as' and then give your cdt name where you want to store the output (in your case the dataset).

    ** Keep In mind that your dataset field names should match your cdt field name.

Reply
  • 0
    Certified Lead Developer

    Create a script task. From the output tab of the script task, create a new output and using the expression editor, call the rule which returns your dataset. Add ".data" after the rule call. Then in the same output that you just created, select 'is stored as' and then give your cdt name where you want to store the output (in your case the dataset).

    ** Keep In mind that your dataset field names should match your cdt field name.

Children