Hi All,
I have a scenario where we have a POST Web API to be created which does the following
1. Write to Data Store Entity and send the Primary key as the response
2. Start a process by passing primary key as a parameter
Hence we are trying to make use of a!writeToDataStoreEntity to store value in a local variable and use a!startProcess by passing the stored variable as a parameter and then return a response.
As per https://docs.appian.com/suite/help/18.3/Web_API_Tutorial_-_Level_II.html, we are able to make use of
a!toJson(fv!storedValues)
However when I try to do a!save() within onSuccess/onError within a!writeToDataStoreEntity it doesn't store any value even when I try to save a simple boolean value. There is no error logged in design_errors.csv as well. As per documentation for a!writeToDataStoreEntity, it could accommodate a list of a!save() or a a!httpResponse() in its onSuccess/onError.
Has anyone else faced this issue? Any suggestions would be helpful.
Many Thanks,
Arjun
Discussion posts and replies are publicly visible