Got this Scenario successfully using Query Record Processor.
Written SQL query with UNION ALL
(
Select
col1, col2, .....
From tb1
where 'participant status' <> 'inactive'
UNION ALL
Select
col1, col2,
..
'',
'',
'',
''
FROM tb1
where 'participant status' = 'inactive'
)