Test your XPath against ProcessData before the BP runs it
Paste ProcessData from a business process instance, then try the expression you would put in an assign. You see exactly which nodes or value it returns, and why it returns nothing when it does.
Runs entirely in your browser. Nothing you paste is uploaded or stored, and the page's security policy blocks every network request.
XPath 1.0, evaluated with ProcessData as the context node, the same as a BPML assign. Relative paths start inside ProcessData.
Paths in this ProcessData
Click a path to use it as the expression.
| Path | Value |
|---|
Questions
Does this behave exactly like Sterling?
For standard XPath 1.0, yes: paths, predicates, axes and the core functions such as string(), count(), concat() and substring-before() follow the same specification the BP engine uses. Sterling's own extension functions, such as sci-get-property(), only exist inside the engine. Bearing recognises them and says so instead of guessing a result.
Why does my expression find nothing?
The usual reasons are a leading slash without /ProcessData, starting the path with ProcessData/ when the expression already runs inside it, a difference in upper and lower case, or a default namespace. Bearing checks for each of these and tells you which one applies.
Why is upper-case() or matches() rejected?
Those are XPath 2.0 functions. BPML expressions are XPath 1.0, so they fail in a business process as well. Bearing suggests the XPath 1.0 way to get the same result, usually with translate(), contains() or substring().
Where do I get ProcessData from?
In Business Process Monitor, open the business process instance and view the instance data of the step you are interested in. Copy the ProcessData document from there. Remove anything sensitive if you like; Bearing does not need real values to test a path.
Who makes this?
Bearing is built by Myggiz Software B.V. in the Netherlands, by an integration consultant with 30 years of B2B integration work, Sterling B2B Integrator included. It is one of the free Munetris tools for teams running B2B gateways; the certificate checker is another.