Question
Unable to Access Process Variable in User-Centric Task Report
Hi Everyone,
We have two task reports in our application:
- User-Centric Report – Used by end users to view and take action on tasks assigned to groups they belong to.
- Process-Centric Report – Used by administrators who can access all tasks across the application.
Our task creation flow works as follows:
- An external system calls an Appian API.
- The API triggers a Process Model.
- The process performs some processing and creates a review task.
- Task data is displayed in both the User-Centric and Process-Centric reports.
We recently introduced a new property/field that is passed from the API to the Process Model. This value is also being stored in a database from within the process.
Our requirement is to display this new field in both reports.
Current Status:
- In the Process-Centric Report, we are able to access and display the value using process variable mappings.
- In the User-Centric Report, process variables are either disabled or not available as report columns.
What we have tried:
- Creating an Expression Rule to fetch the value from the database.
- Using the expression rule as a column source in the User-Centric report.
Unfortunately, this approach did not work.
Questions:
- Is there a supported way to expose a Process Model variable in a User-Centric task report?
- What is the recommended approach to display a custom property/field in both User-Centric and Process-Centric reports?
- Would storing the value in task-related data or another Appian object be a better design pattern for this use case?
Any suggestions or best practices would be greatly appreciated.
Thanks in advance!
