Skip to content

Multiple dispatching rules #1258

Closed Answered by juaninicolai
juaninicolai asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @lbroudoux, this version worked half-way through:

{
  "dispatcher": "JSON_BODY",
  "dispatcherRules": "{\n    \"exp\": \"/destinationLocation/rkstCode\",\n    \"operator\": \"equals\",\n    \"cases\": {\n      \"DKAAR\": \"dkaar\",\n      \"NLROT\": \"nlrot\",\n      \"default\": \"Destination not found\"\n    }\n  }",
  "proxyUrl": "URL_HERE"
}

I am gonna keep working on this and keep you posted :)
Thanks

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@juaninicolai
Comment options

@juaninicolai
Comment options

Answer selected by juaninicolai
@lbroudoux
Comment options

@juaninicolai
Comment options

@juaninicolai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants