The CreatorCon Call for Content is officially open! Get started here.

Run Server Side Script -Outputs

rachna56
Tera Contributor

Hi Team,

 

I want to get a total count from a table example: alm_stockroom in the run server side script and then display in output so that I can use it in my next step example assert step to validate the count. Is it possible? Here when I am adding assert step I see a variable Total record count from previous step to use, but I cant update the value in the run server side script. If I am trying to update the value then I am getting this error : 'total_record_count' is not in the model - not setting its value. Although I can update the table name using outputs.table.

 

Any input to resolve my above query would be helpful. Basically my query is how can I set my output for run server side script (other than table and record_id) to use in next step.

2 REPLIES 2

Community Alums
Not applicable

can you show screenshot of your test and both steps?

Apology for delay response: Currently I am using the record_id variable, but my query is- can I pass multiple outputs that is more than two inrun server side script to my next step, and in below screenshot how can I set the variable "Total Record Count", which is giving null value.

rachna56_2-1702388442361.png

 

 

rachna56_3-1702388442338.png