Overview
This Plug-in contains a function, getProcessHistoryInfo(), which exposes process history details for a given process id. It returns a ProcessHistoryInfo CDT which contains process information along with a HistoryData CDT array that contains the history details.
Hi, in relation to the output of the function, in the List of "List of ProcessHistoryRow" for each row there is actionTypeId. For example, the actionTypeId is equal to 8 if the instance is paused, or is equal to 6 if it has been started. I have noticed that if changes are made to the instance (even if it is simply saved and a new version is created) the actionTypeId equals 25 (though there are no details about the activity, though).
Is it correct to consider that the actionTypeId equals 25 means that the instance has been modified?
@kowsalyav are you able to get the reassigned username instead of dynamic java objects (eg, Ljava.lang.Object:@7ac86774b)
@Sathya Srinivasan Could you please share the plug in code to get the reassigned username instead of dynamic java objects (eg, Ljava.lang.Object:@7ac86774b).
Hi, I am trying to use this plugin, but the Process History Row Data returned for the History CDT for a Process Instance is only 25 rows, where as the Process History in Process Monitor Tab for the same Process Instance is 54 rows. Why is the getProcessHistoryInfo() not returning all the 54 rows for the Process History. Please let me know if I am missing something.
getprocesshistoryinfo( processId: 2083, processFilter: true(), taskFilter: true(), variableFilter: true())
What is entailed in a Security Update for the plugin? Working through an analysis of the plug in and looking for any additional details as to what is updated as part of the security updates.
I am running into an issue while executing getProcessHistoryInfo on a process that was started using a startProcessNode. The error reads as follows:Expression evaluation error [evaluation ID = 6f55d:2905c] in rule '<name of UI expression>' at function 'getprocesshistoryinfo' [line 19]: java.lang.IllegalStateException: toTopicPartition() invoked for topic [ph.EXEC01-0] with null partition
Would you be able to add any exception handling around this area for this to be handled and release a new version please?
Hello,
Is it possible to add the id into the CDT ? It will be usefull to reference it in other place and provide a way to access the history directly without searching. Also we can use Appian smart service to delete history when not more required.
Thanks