- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:25 PM
I'm creating ATF test steps. my first step is a Run server side script which gets the count of records, where the script is setting output as
"outputs.asset_count = parseInt(count)"
and in the 5th step i want the get this output. I'm using the below line and it shows as undefined
"steps('SYS_ID').asset_count"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2024 07:03 AM
Hello, if you are using the Run Server Side Script step, it expects outputs as either .table or .record_id, look at the comments of the step :
So for your use case, either you map your count to outputs.table or outputs.record_id, or you create a new custom step, where you create your own output variables.
Hope it helps,
Cheers
Diogo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2024 07:03 AM
Hello, if you are using the Run Server Side Script step, it expects outputs as either .table or .record_id, look at the comments of the step :
So for your use case, either you map your count to outputs.table or outputs.record_id, or you create a new custom step, where you create your own output variables.
Hope it helps,
Cheers
Diogo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2024 03:10 AM
Thanks @Diogo Ramos it worked by using outputs.record_id.