Sidebar

Dynamically setting Destination Node Web Service URL

0 votes
181 views
asked May 26, 2023 by randy-c-3449 (200 points)

Is it possible to dynamically set a value in the URL of a Web Service Destination Node?  Maybe useing messagecache()?

https://messages.dev-mihin.org/send?message_type=adt&sender_oid=<dynamcially set this value>

 

1 Answer

0 votes

You can use message cache variables in the URL. if you check the checkbox "Override URL" you can change the URL to anything you like. When you put in a message cache variable it will be retrieved by the "qie.evaluateTemplate()" function.

answered May 26, 2023 by michael-h-5027 (14,350 points)
commented May 26, 2023 by randy-c-3449 (200 points)
I'm using the Destination Node to make the API call.  I'm selecting to "Manually set URL...."
commented May 26, 2023 by michael-h-5027 (14,350 points)
The destination will evaluate message cache variables. {mc:variable}
...