Ness Technology Interview Question

Trigger logic based on some scenario