Hi All,
When calling External REST APIs, external parties may provide different endpoints for different environments.
Example:
CFG
cfg.abc.com
UAT
uat.abc.com
PRD
prd.abc.com
So when testing in CFG we configure external url ‘cfg.abc.com’ .
This means we have to reconfigure workflows after pushing changes to UAT and PRD.
What is the current practice in your projects?
Do you un-deploy workflows and change APIs, user, password etc. for authorization in UAT, PRD?
Solved
IFS Cloud 24R1 - Calling external REST APIs via workflows
Best answer by Lahirumala de Mel
From 24R2 release, along with oAuth capability in IFS REST Task, it comes the possibility to externalize URLs. You can parameterize the URL and set a value to the parameter in a different page outside of the Workflow designer, known as ‘IFS REST Task Configurations’. You can set this parameter to ‘cfg.abc.com’ in CFG env and ‘uat.abc.com’ in UAT env. And this table won’t clone even when the environment is cloned. So the URLs you provide won’t replace in cloning process.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.