Browse
Hyland Connect
Hyland Community
Help
Sign In
What's New
Platform
Content Innovation Cloud
Content Innovation Cloud Blog
Alfresco
Alfresco Forum
Alfresco Blog
Alfresco Archive
Nuxeo
Nuxeo Forum
Nuxeo Blog
Community Blog
API for process Instance history?
jonnyg
Confirmed Champ
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
12-23-2015
08:42 AM
I know that the functionality exists to pull (who did what, when) – it exports on the PDF audit report.
Can there be a REST API for this as well, so that we can design our own view for this info?
Labels:
Labels:
Archive
BPM Archive
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
jbarrez
Star Contributor
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
01-04-2016
02:44 PM
I believe the PDF is based on the process instance log
(something like this:
ProcessInstanceHistoryLog processInstanceHistoryLog = historyService
.createProcessInstanceHistoryLogQuery(processInstanceId)
.includeTasks()
.includeActivities()
.singleResult():smileywink:
It's indeed not yet exposed. Will add it to the backlog.
As a sidenote: if something isn't exposed (yet) or something is in a 'wrong' format, it's always possible to use a custom rest endpoint (
https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_custom_rest_endpoints
)
jonnyg
Confirmed Champ
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
01-04-2016
02:48 PM
Got it, thanks, we'll probably do that.
Post Reply