Data not showing up externally in a webAPI

Certified Senior Developer

I've got a sort of weird problem that I can't figure out. I have a webAPI built that kicks off a process model for creating new users. When I test it within Appian, I get a JSON response with all the info about the process model.

{ "pp" : { "id" : 268442112, "name" : "Create User Bob Newman", "priority" : 1, "initiator" : { "id" : "******" }, "startTime" : "2022-01-06T18:04:14.980Z", "timeZone" : "US/Eastern", "starred" : false, "parentName" : "", "execId" : 1, "status" : 0 }, "pm" : { "id" : 5238, "uuid" : "0005e780-67c2-8000-2559-7f0000014e7a", "name" : "PP Web API User Generation", "description" : "Create a new user with a web API", "version" : "16.0", "creator" : { "id" : "*****" }, "timeZone" : "US/Eastern", "starred" : false, "parentName" : "" }, "pv" : { "GroupsLIstDS" : { "id" : "0aeb9200-355f-4ff1-9741-7b2ef4459c2a@35138" }, "email" : "bob.newman@example.com", "firstName" : "Bob", "lastName" : "Newman", "newuser" : null, "successCode" : "207", "username" : "Bob Newman" } }

However when I access the same API externally, I get an empty JSON response that looks like this: 

{
    "pp": {
        "id"268442123,
        "name""",
        "initiator": {
            "id"""
        },
        "timeZone""",
        "starred"false,
        "parentName"""
    },
    "pm": {
        "uuid""",
        "name""",
        "description""",
        "version""",
        "creator": {
            "id"""
        },
        "timeZone""",
        "starred"false,
        "parentName"""
    },
    "pv": {}
}
The process model otherwise runs as it should. The only difference being that internally it gives info, and externally it doesn't. Can anyone help me figure out why this is? 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    On error it returns the standard "There was an error starting the process" message.

    The process model is running and does everything it needs to do without giving any errors. I can see it completes properly. It just doesn't spit back any info at the end and then only specifically when connecting externally. I've tried all levels of security for the service account, and that doesn't seem to change anything. 

Children