How to Push sendMail Workflow Step to Fiori My Inbox

In SAP Workflow any decision task will appear in Fiori My Inbox if the Notification Center configuration is set up correctly. However, most workflows send notifications to Workflow Initiator after a decision task. These notifications are created as sendMail steps which do not show up in My Inbox by default.

The secret behind My Inbox is that it doesn’t only display decision tasks, but all tasks that need a user action. So everything you see under Workflow (Figure 1) node in your SBWP transaction is displayed in Fiori My Inbox.

Figure 1

The sendMail step with its default settings is usually seen in Unread Documents/Documents nodes as it is created as a background task. To make this a user task, you need to uncheck the Background processing checkbox in your sendMail task (Figure 2). You can find the sendMail task in Control tab of the workflow step. In Figure 2, I’ve also checked Confirm end of processing as I don’t want the task to disappear after a user opens it once, but I want it to stay until the user explicitly confirms the task.

Figure 2

Tip: You can set an external break-point in GET_INBOX method of class /IWWRK/CL_TGW_GEN_INBOX and open your Fiori My Inbox to see how the tasks are selected.