Question
Record data, active processes, and process reports
I have a requirement to add a new field, contained in a record, to an existing process report. In an interface a gridField with filters is used for displaying the task data, but cannot find a way to get this data in a way that makes it available for both new and previously started active processes.
- Process Report is tasks per process model
- Process Report is tasks per process model
- Process uses Records for data management ()
- Requirement to get additional data from the Process into the Process Report
- Additional data is a value found in the Record
- Process reports cannot index Records
- Less than ideal solution has been to add process variables for any data point needed from the record
- These single data point process variables can then be seen in the process report
- Process report is displayed in an interface using a a!gridField()
- Data for the gridField is pulled using a!queryProcessAnalytics()
- a!queryProcessAnalytics() uses logicalExpressions in an a!query() to filter data
- Query filters fields found in the task report for filtering. e.g. "field: "c8"
- Adding another process variable to add data as a new field in the process report will work for all processes started after it's addition
- Previously started active processes do not have access to this new process variable
- Editing the active process to add and set the process variable makes the new value available in the active process
- Editing the active process to add and set the process variable does not update the process report with the newly added data
- Is there a way to filter data using a field in Record contained in the process report?
- Is there a way to add and set new process variables in active processes so they will show in the process report?
