Pergunta de entrevista da empresa Infosys

When would you use a trigger vs a workflow?