We have a WebApi to approve requests (mostly in html/JavaScript/Appian) This page contains a table which has a link to download documents from filenet. It works fine for Application level roles but redirects to Appian sign in page for non-Application roles. We were told to fetch documents from Appian instead.
I created a post webapi(doc) which has start process(retrieve docs from filenet) and returns docId in json . This is working fine but when calling this webapi(doc) in Integration, it fails with 302. Provided basic auth, tried with serviceaccount as well.
Idea: create another get webapi to invoke this integration and call in approval page.
I'd appreciate if there are any other ways for non-Appian users to access documents can be given.
Any guidance will be appreciated. TIA.
Discussion posts and replies are publicly visible
You will have to route the binary document through your external application. No authentication user facing, but using a service account towards Appian.