Skip to main content
Question

Public endpoint subroutine and process flow

  • October 6, 2025
  • 2 replies
  • 41 views

Forum|alt.badge.img+1

You can specify an API in a subroutine. I'd like to use this function and receive a variable containing the post header information and a variable containing the full body (JSON message) within the endpoint. Are there parameter tags that would allow this?
Is it possible to use a process flow with a custom protocol in a public format as well?

2 replies

Forum|alt.badge.img+2
  • Moderator
  • 105 replies
  • October 14, 2025

Hello Peter,

Yes to all your questions.
I’d like to forward you to the docs about this:
https://docs.thinkwisesoftware.com/docs/sf/process_flows#a-message-protocol-independent-web-service-in-a-process-flow
And also a example web service made with these functionalities:
 

 


Forum|alt.badge.img+1
  • Author
  • Apprentice
  • 8 replies
  • October 14, 2025

I already created a custom protocol process flow endpoint, is it possible to setup the endpoint as public endpoint. If i use the public/iam/application/process_flow_name the process flow won't work. open/iam/application/proces_flow_name work with basic auth. We need a endpoint without basic auth to get header information and check ApiKey

 

the endpoint public/iam/application/subroutine_name works if parameters are set in body for example

{   "json_header" : { "apiKey" : 123456},

    "json_message" : {

    "currency": "EUR",

    "locationCode": "25546",

    "transportMethod": "Normal",

    "webshopOrderNumber": "FCF732T"

}

 


Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 548 replies
  • October 21, 2025

I already created a custom protocol process flow endpoint, is it possible to setup the endpoint as public endpoint?

 

This is supported. You can combine “open” and “public”. That should do the trick.