Can you give in-depth description about the difference between type linkage and instance linkage?
This is an excellent question. The main difference is that when you configure a Workflow using type linkage, the Workflow will trigger for every object of that type. If I configure a Workflow to trigger using Instance Linkage then it will only trigger for that specific instance. Instance linkage requires that a key is specified and as a consequence the Workflow will only trigger if the event is raised for that particular instance (ie. the key of the object is equal to the key specified in the instance linkage.)
For example, if I configure a Workflow to trigger on the BUS2032.CHANGED event, then the Workflow will execute for each BUS2032 (Sales Order) which is changed. If I configure this using instance linkage then I will need to provide it with a key (in this case it will be the key field of the Sales Order). Only when that specific Sales Order is changed, will my Workflow be triggered.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Continue Reading
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users. Continue Reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.