Query about backend Workflows

I am using a backend workflow for some validations before logging in the user. I am calling this backend workflow from API connector.

In live, I have removed version-test from the workflow URL. So does this mean this backend workflow won’t work for me when I am working in version-test OR should I have different backend workflows for live and test.

You can make the portion of your url for where it is live or test dynamic like so. [WebsiteHomeURL]api/1.1/wf/workflowName. Then where you pass it in dynamically just use the “Website Home URL”. This will include the version it is on whether it is test, live or anything else.
Screenshot 2024-01-31 at 9.00.48 AM
In my screenshot example I am passing it in as a variable in the body but for your case it would be a query parameter.

1 Like

You may prefer using the ‘App version’ expression and using version-App version dynamically.

1 Like

Thanks you , this helped :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.