Technical Details of Rule-Based Workflow
Category: SAP MDG Posted:May 04, 2020 By: Alvera AntoThis article describes how the rule-based workflow works. We do this by explaining the operational design template of the rule-based workflow as well as how this workflow design template of the rule-based workflow utilizes the BRFplus application of a particular adjustment request kind.
The following picture gives you an idea about the requirement/ process model.
We provide the basic operation template WS60800086 for the rule-based workflow. This operation template includes the following actions:
1. Start the Workflow
An instance of the rule-based workflow layout is started when an individual sends a change demand of a type that has the rule-based process theme assigned. The very same process layout is additionally used to develop sub-workflow instances for parallel processing.
2. Identify Change Type
The system figures out the change request type; for example, Create Material or Change Material as well as store the change request type in the workflow container.
3. Check Assignment of Processor to Workflow
The system checks whether a processor is currently assigned to the workflow, for example, the existing workflow instance is a sub-workflow that was started for parallel processing.
If the processor is not assigned, the system releases BRFplus. The BRFplus decision tables for the change request are utilized to discover the next step, the process pattern, as well as the representatives, based upon the previous step as well as action. If the current workflow instance is the key workflow, the system likewise refreshes the condition of the change request.
4. Determine Whether Single Processing or Parallel Processing is Configured
The system figures out the variety of configured representative teams of the current change request step. An agent group can include a single user or several customers. For instance, it may be needed that users in the purchasing department and the users in the accountancy department, must be able to authorize the change request in parallel.
If more than one representative team is discovered, parallel processing is configured and the system proceeds as follows:
- The system creates multiple process circumstances of the WS60800086 design template: one for each agent group. These sub-workflows run in parallel.
- As soon as all the sub workflows are completed, the BAdI: Handling of Parallel Results in Rule-Based Workflow in MDG Customizing under General Settings Process Modeling Workflow Rule-Based Workflow Business Add-Ins are hired to merge the results of the parallel sub workflows into one outcome and those outcomes determine the next step of the change request process.
5. Branch by process Pattern
Based on the figured out process pattern, the workflow branches into numerous standard procedures of the rule-based workflow.
6. Inspect the workflow completion
The system checks whether the process pattern was 99 Total (Sub-)Workflow.
If this is the case the system finishes the process.
If this is not the case the system returns to tip 3 and starts once more.
Conclusion
This article is a brief overview of the technical aspects of the rule-based workflow. For more informative blogs on SAP topics, visit our website.
At ZaranTech, we also offer a wide range of SAP courses through online training. Our training programs are conducted by some of the renowned and experienced subject matter experts. Be a part of our learning community to skyrocket your career.
These are the related articles that you can check