Skip to main content
Solved

IFS Cloud 24R2 - REST API call via workflows - externalize User/Password

  • January 16, 2025
  • 4 replies
  • 101 views

Forum|alt.badge.img+9
  • Sidekick (Partner)
  • 85 replies

Hi All,

I am trying to call a REST API and it has Basic Authorization. User and password were defined in ‘IFS REST Task Configurations’ as the first step.
My problem is, I need to create an ‘AuthHeader’ using User and Password in an inline script. However it looks like you cannot refer values defined in REST Task Configurations in an inline script.
Although it is possible to hard-code user and password in an inline script, I am trying to figure out how to externalize user/password using 24R2 new feature ‘REST Task Configurations’.

Does anyone know how to utilise REST Task Configurations for defining user and password for basic Authorization?

Best answer by kamnlk

Hi,

if possible, you can try to pre create the “AuthHeader” and store it in the ‘IFS REST Task Configurations` and refer that in the workflow ?

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+9
  • Hero (Employee)
  • 115 replies
  • Answer
  • January 17, 2025

Hi,

if possible, you can try to pre create the “AuthHeader” and store it in the ‘IFS REST Task Configurations` and refer that in the workflow ?


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 85 replies
  • January 17, 2025

@kamnlk ,

If you have done this successfully , please provide an example.
 


Forum|alt.badge.img+9
  • Hero (Employee)
  • 115 replies
  • January 17, 2025

@GaSoGB 

would it be possible to share a sample workflow/screenshot on how the request supposed to be like. It would help lot more into identifying the issue you are facing 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 85 replies
  • January 17, 2025

@kamnlk ,
Apologies,  you are absolutely correct. I was able to make it work.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings