Hello
I am using a process variable(3,0) of string Array from Bizflow process definition in my form, when i preview the page, i see 3 textboxes, but when i test the form in the dashboard, it is blank, there are no textboxes. Has anyone seen this problem before?
I am using a process variable(3,0) of string Array from Bizflow process definition in my form, when i preview the page, i see 3 textboxes, but when i test the form in the dashboard, it is blank, there are no textboxes. Has anyone seen this problem before?
RE: process variables of string Array does not show
When you use an array type bizflow process variable on the form, WebMaker sets up the controls to check the data to determine how many textboxes need to be shown.
The preview shows 3 because the page display document generated for you will create 3 entries as an example for any repeating structure.
In order for the fields to appear when you test the form in the dashboard, you will need to first add the appropriate process variable entries using the WIC admin screen.
Alternatively, if you publish the project and actually show the form inside a process, you should see the correct controls present.
I hope this helps.
Gerard
RE: process variables of string Array does not show
Thank you for your response. I did both of your suggestions, they still do not show.
RE: process variables of string Array does not show
The first step is probably to make sure that the page structure is configured correctly. As an example, if you have a PV called countries that is configured as a (1,10) string array, then when you drag the field onto your page, the Data Bindings tab should look like shown below:
[attachment=2]arrayPVbindings.jpg[/attachment]
To test this with the dashboard, you need to use the Workitem Context Administration link to configure the PV values.
For array PVs, you need to add the data in a specific format (matching what bizflow will return at runtime), which requires an entry for the array itself, plus an entry for each array value.
For the countries PV you would add entries like shown below:
[attachment=1]arrayPVadmin.jpg[/attachment]
With this configured, you should find that the data renders correctly when using the test dashboard. For this example it will look like:
[attachment=0]arrayPVresult.jpg[/attachment]
If you manage to get the data displaying OK in this test mode, then it should also work fine when running within the BizFlow WIH.
You just need to make sure that you have published the project, and included it within a process that defines the same array PV.
I hope this helps,
Gerard
RE: process variables of string Array does not show
ok, I was able to reproduce.
Thank you very much for your help!
RE: process variables of string Array does not show