Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
How do you add headers to a coreflow

I have gone through and tested my custom coreflow as needed and validated the request and response, but I haven't been able to add specific headers to my request such as "Content-Type" or "SOAPAction". Is there any information on how to do this? I know there is a config variable "CHANGE_ELEMENT_TO_MsgRqHdr", but I'm not sure the direct impact it has on the core call, or how to utilize it to add headers if that is it's intended use

Posted one year ago
Votes Newest

Answers


You shouldn't need to add any headers. The coreflow doesn't directly interact with the network call that calls your core, that is done by Host Adapter down stream. The Bridge/Host Adapter should take care of that for you. Is there a specific reason you need a header, or are you seeing any failures in your testing that would lead to thinking a header is necessary?

Posted one year ago
Paden Rose
160 × 1 Administrator
0

Just to add something to this conversation, there are certain times when you want/need to set an element that is in the MsqRqHdr. For example, some JXchange endpoints have a MaxRec element designed to limit the size of response data sets. That element is usually in the MsgRqHdr.

— Ira Williams   one year ago
0

Yes, the issue that I continue to run into is a 500 Internal Server error. I've tried to improve the logging as much as possible, but my team internally said that Q2 has gone through the natting process for our JXchange environment, and I can't find out whether or not I need to send username and password variables via the xml in the request. Currently when I log the request from request = await self.core.build_start_workflow(acctId, custId), it appears to be empty even though I have validated the syntax

— Caleb Evans   one year ago
94 Views
1 Answer
one year ago
one year ago