Wouldn't creating two separate responders be an option? One for the 'if' case, another for the 'else' case? Keep it simple 🙂
m
Muthukkumar Ponnusamy
05/08/2023, 1:23 PM
It is. My bad I was thinking too complex. I'm from Infrastructure side and my new role gave me a chance to work on development side. Seems like my mind doesn't look for simple logical options instead tries to figure out why a this logic doesn't work and how to fix it. 😞 . Thank you for pointing it.