Is it possible to expose my workflow as a web service and have it triggered?

Postman will let you test/simulate your API(s) and it is very similar to what I mentioned - Swagger UiPath (web based)

Some detailed steps for triggering a process would involve…

  1. Authenticating your orchestrator (POST method)
    Body includes
    “{”+“”“tenancyName”“”+“:”+ “”“yourTenant”“”+“,”+“”“usernameOrEmailAddress”“”+“:”+ “”“userID”“”+“,”+“”“password”“”+“:”+ “”“PW”“”+“}”

You get Result and Connection Status
List of connection status codes - List of HTTP status codes - Wikipedia

Result is string

  1. You need to use deserialize json activity to de-serialize the string
  2. You need to get release key (Similar to step 1 with GET method)
    The output will be a string.
  3. Using the release you need to do another HTTP POST
    The body will be something similar to this
    “{”+
    “”“startInfo”“”+“:”+" “+”{“+
    “”“ReleaseKey””“+”:“+” “+”“”“+Release_Key+”“”“+”,“+
    “”“RobotIds””“+”:“+” “+”[“+
    Bot_ID+
    " ]”+“,”+
    “}”+
    “}”

Finally these are some reference posts:

Hope this helps. Good luck

1 Like