Workflow Series IV


Hi Readers,

In this workflow series, I thought it would be fun to play around with adding custom responses to workflows.

I’m not really a developer, but I enjoy experimenting and seeing what I can come up with. While exploring, I came across this great guide:

Walkthrough: Implementing New Workflow Events and Responses - Business Central | Microsoft Learn

I tested adding a new response to send an email to the salesperson with a quote attachment once a sales quote is approved.

Here’s the code I pulled from the Microsoft manual, with my added response:

 

 

 

And sure enough, when the sales quote was approved, the workflow response triggered and I received the email exactly as expected!

This opens up some pretty interesting use cases — for example, automating delegation, marking rejected documents or improving credit limit responses.