Add custom fields to a data subset

Certified Associate Developer

Hello Everyone I am practicing Appian I have a case where I am fetching data from database using expression rule now I want to add a custom field to each record that is returned with the data subset 

please Notice that this field doesn't exist on the table how can I accomplish this check the below example to better understand my question 

Let us say I have a table called students that has the following columns id, name and age when I perform a query it will fetch these columns I want it to retrieve extra custom column that doesn't exist in any other table lets say I want to add a column called rank with a custom value either hard-coded or passed as a parameter 

Thanks in advance

  Discussion posts and replies are publicly visible