To pass a value to a report via the CallContextBpmData variables
(my example images will be for adding a checkbox to the form)
-
Customize the form that runs the report, by launching in developer mode.
-
Enter customization mode
-
Add the control to hold the variable (textbox, checkbox, combo, etc…)
-
Bind that control to a CallContextBpmData member
-
Save Cutomization and close
-
Launch Report Style Maintenance, and load the report ID
-
Copy the Report Style to a new Style
-
Download the Report
-
Open the report you downloaded with Report Builder
-
Edit the main dataset’s query expression. Adding the field to the select phrase, and a new join phrase. In my example (the OpenPO report), the PoHeader dataset is the main one. So in its query expression, I add the highlighted parts:
I chooseT4as it was the next available “T#” -
Add the query field:
(You can give it a better name if you’d like).
Now I can use that checkbox’s value in my report. For example, to enable a grouping

- Save the Report RDL
- Upload to server (via Report Style Maint.)
Notes
- You can add a control on the form to use as a filter, but it only affects the rendered output. It does not filter the data created by the RDD. So make sure that you use it appropriately.


