so here to reuse the obj i have written like this. but for one scenario i have to use one output for another scenario another output how to achieve that
Discussion posts and replies are publicly visible
Your output structure contains both sttuctures, so wherever you use that rule, you can access to status ot caStatus with index function....