What are the differences between a dynamic doc property and a dynamic process property?
Dynamic document property : As the name suggests, a Document Property is associated with a document as it flows through an integration process. If you have 1000 invoice documents, and a Dynamic Document Property named "Unique Transaction ID", you will have 1000 instances of that property with a 1000 values. Dynamic Document Properties are arbitrary values that you can use to temporarily store values related to a document.
Dynamic process property : As the name suggests, a Process Property is associated with a process. There is only one instance and one value for a process property within the scope of a process execution.It is a global variable for a process.
A Dynamic Process Property is a single, “on-the-fly” property that you create.
In other words, A Process Property will be set for the process, whereas a Dynamic Document Property, is set at the document level.
Dynamic document properties don’t persist between branches. The document property set on one branch will not be available on a subsequent branch. But if you set the property before the branch, it would be available down each. This is because document property get "attached" to a document and follow that document down a given path to completion.
As for process property, if you have multiple documents processing at the same time, you would get the same value because process properties are single,”global” variables. You wouldn't want to store document-specific info in a process property.
28 people found this helpful