I have ISC workflows with HTTP Request actions that call ISC APIs. The Request URL is hardcoded, so updating it is painful. Is there any built‑in variable or action to get the current base URL automatically? If not, what’s the recommended pattern for external‑triggered workflows to pass or derive the base URL?
ISC external triggers are designed to accept input JSON from outside the platform, and the workflow can reference that payload with JSONPath like $.trigger.baseUrl. The execute-external API explicitly says the caller sends the input data in the request body, so this is the cleanest supported pattern.
If the workflow is only ever used in one tenant, the simpler option is just a workflow variable like:
You need to pass the full URL as a variable to the workflow. But modifying or building the base Url within the workflow body is not supported. The URL must be fully formed before being passed.
Hi @BBR1
Although i am not really fully sure about your requirement but it is possible to dynamically form the URLs or body of the HTTP action. If you have desired variables values populated in above steps then you can use double curly brackets to retrive them, something like this
{{$.hTTPRequest.body.records[0].id}}
You will need to be able to just careful whether you have setting for the body as text or Enter Value in the step.
I hope this helps. If not, please provide your use-case in more detailed manner so we can have a look.
Yes, that works. But I was actually looking for some global variable type of thing. So I just need to upload the same JSON from tenant to tenant without adding an extra key in the request body.
In case that doesn’t work, then the last option is using it as a variable
This support only the centralization of credential .
What you can do also is at the begining of your workflow just after the trigger add define variable and defining there all parameters needed and then use those in others part. So if you have to update anything it should be updated at only this define variable level.