A Field is a placeholder inside a Business Process. Instead of typing in one fixed value, you let the Field pull its value from somewhere else, such as a Route (for EDI or Application processes) or an EDI Enveloper (for Connection processes).
That means the same Business Process can behave differently depending on which Route or Enveloper is using it.
When can I use Fields?
Fields are only available when your Business Process is built from one of these templates:
- Inbound EDI Business Process
- Outbound EDI Business Process
- Application Route Business Process
- Connection Business Process
Fields can hold a simple value (like a string) or a whole object (like a Ruleset or Transformation Settings).
Why use Fields?
Say you process EDI orders for 10 trading partners, and each one needs a different Ruleset. Without Fields, you'd have to build 10 nearly-identical Business Processes — one per partner. With Fields, you build the Business Process once, add a Field for "Ruleset," and let each partner's Route supply its own value.
How it works
- Create a Business Process using one of the templates listed above.
- In the task that needs a variable value (for example, the Execute Transformation task), create a new Field instead of typing a fixed value, and set its Type (e.g., Ruleset).
- Open the Route or EDI Enveloper for a specific trading partner, add the Business Process to it, and enter a Value for the Field.
- Repeat for each Route - every partner feeds its own value into the same shared Business Process.
Example: one Business Process, two trading partners
Business Process Process_Orders has one Field, called RulesetField.
- Partner A's Route sets
RulesetField = "PartnerA_Ruleset" - Partner B's Route sets
RulesetField = "PartnerB_Ruleset"
Both partners share the same Business Process - each one just hands it a different Ruleset at runtime.
Quick recap
- Build a Business Process from a template that supports Fields.
- Add a Field to it and choose a Type.
- Reference that Business Process in a Route or EDI Enveloper.
- Set the Field's Value there; repeat per Route for each trading partner.
Comments
0 comments
Please sign in to leave a comment.