I’m really struggling in getting all the different “D”-Languages and their usage in different scenarios right. Is it just me who thinks this is extremely confusing?
Example:
I can “easily” (ha!) create a DQL statement DPL Archtiect app that extracts values from a BizEvent (payload in XML format) that was captured before by this nice query:
I sometimes have time to play, but honestly none of my customers will ever get this and also the differences betweeen the similarities of all the “D”-test input fields.
Unfortunately copy & pasting the pattern is not 100% compatible. the biggest difference is with the double quotes. For the processing configuration you have to change the double quotes to single quotes. Following processor definition does not show any errors
And improvements are in the works, so in future you will be able to copy and paste the pattern between the DPL architect and processor definition without such adjustments.
Btw. I ended up with slightly different approach, parsing the right data out of an XML document (where there could be no fixed pattern found for all of these attributes):
What I noticed is, that the “test” field will not work properly for XML documents, it always expects JSON and embedding a sample XML document into a JSON in this test field simply didn’t work.
It might be a good idea to refine that test a bit.
Great question - I have been struggling with this myself. Its seems madness that these two areas are using different languages that are very similar but so different at the same time.