Context:
As we already know SAP came up with new predefined Flexible workflow template in S4Hana which is completely different from normal ECC workflow. From Flexible Workflow customer can directly assign work dynamically based on condition to different layer of persons or do different activity. Customer will get high benefit using Flexible Workflow in terms of save Time for determination of approver and also in terms of automation of their business process or easily assign work overload to others .
Development:
In this blog I am showing the simple custom demonstration which will block Sales order after change without any printing.
There have a custom flexible workflow developed .
But to developed a Flexible workflow lots of custom objects need to developed including cross client objects. Snapshots of some objects summary showing below.
Configuration:
Now Configure the flexible workflow like below. Agent will be determine based on Badi.
In the Badi, users are populated for approval.
Business Process:
NOW start the Sales order change or create process.
Now Approver will get their workitem in their Fiori inbox for approval or rejection.
After approval it is visible that, Delivery Block set for No Printing. You have done .
Conclusion:
Though in this document simple process shown, but the developments need lots of efforts including cross system development. Though SAP might come up with new Flexible workflow scenario every new release. Customer can easily configure it as per their requirement to feel the power of dynamic automation . So it is always desirable to use standard scenario .