Hello @onthemoonandtheearth,
You could use a Match Pattern module to use a Regular Expression to extract the url after url=
Paste this code into any scenario to see how it works:
Code
{
“subflows”: [
{
“flow”: [
{
“id”: 74,
“module”: “regexp:Parser”,
“version”: 1,
“parameters”: {
“pattern”: “url=([^&]+)”,
“global”: false,
“sensitive”: true,
“multiline”: false,
“singleline”: false,
“continueWhenNoRes”: false
},
“mapper”: {
“text”: “Redirect Notice”
},
“metadata”: {
“designer”: {
“x”: 1685,
“y”: 585,
“messages”: [
{
“category”: “last”,
“severity”: “warning”,
“message”: “A transformer should not be the last module in the route.”
}
]
},
“restore”: {},
“parameters”: [
{
“name”: “pattern”,
“type”: “text”,
“label”: “Pattern”,
“required”: true
},
{
“name”: “global”,
“type”: “boolean”,
“label”: “Global match”,
“required”: true
},
{
“name”: “sensitive”,
“type”: “boolean”,
“label”: “Case sensitive”,
“required”: true
},
{
“name”: “multiline”,
“type”: “boolean”,
“label”: “Multiline”,
“required”: true
},
{
“name”: “singleline”,
“type”: “boolean”,
“label”: “Singleline”,
“required”: true
},
{
“name”: “continueWhenNoRes”,
“type”: “boolean”,
“label”: “Continue the execution of the route even if the module finds no matches”,
“required”: true
}
],
“expect”: [
{
“name”: “text”,
“type”: “text”,
“label”: “Text”
}
],
“interface”: [
{
“type”: “text”,
“name”: “$1”,
“label”: “$1”
}
]
}
}
]
}
],
“metadata”: {
“version”: 1
}
}