Start process using WEB API Returns empty pv s

 Hi all,

 

I have a super simple process model that executes the smart Service "Execute Process Report" and stores the column values in variables.

 

I have also a Web Api that exposes the process model.

 

When  I test the Web Api I can see that an instance of the process starts but all the pv's are empty:

 

{ "pp" : { "id" : 178254, "name" : "exportReportPOC", "priority" : 1, "initiator" : { "id" : "xxxxxx" }, "startTime" : "2019-03-07T13:23:30.200Z", "timeZone" : "Europe/Berlin", "starred" : false, "parentName" : "", "execId" : 0, "status" : 0 }, "pm" : { "id" : 1732, "uuid" : "0003e23d-a684-8000-ee2b-010000010000", "name" : "exportReportPOC", "description" : "", "version" : "2.0", "creator" : { "id" : "blbadmin" }, "timeZone" : "Europe/Berlin", "starred" : false, "parentName" : "" }, "pv" : { "Endzeit" : [ ], "Anfangszeit" : [ ], "ProcessStatus" : [ ], "Prozessid" : [ ], "Name" : [ ], "Aufgabenname" : [ ], "AngefangenVon" : [ ], "Prozessmodell" : [ ], "Status" : [ ], "Wiedervorlage" : [ ], "Vorgangsnummer" : [ ], "Gesamtbetrag" : [ ], "Kundenbetreuer" : [ ], "Bankname" : [ ], "GPNr" : [ ], "Zweiteingeber" : [ ], "Ersteingeber" : [ ], "Antragsteller" : [ ] } }

 

However if I open the process instance in the processs designer (Monitor view) I can see values for all the pv's. Why is that?

 

Also another question: I copy the URL of the Web API in a browser (it is a GET Operation) but I receive a 404 error. The URL is generated by appian in the designer. Am I missing something?

 

Thanks a lot!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data