We have found that we struggle to bind to a process vaiable with a type of particpant.
The PV hold the memberuid prefixed with either '[U]' or '[G]' within Bizflow which we can put as part of the bindings. However the rlvntdata table where the PV is held also has a column to hold the display value of the given PV.
The built in WIH XML structure doesn't seem to cater for this.
Is there sopmetign special we have to do with participant PVs?
The PV hold the memberuid prefixed with either '[U]' or '[G]' within Bizflow which we can put as part of the bindings. However the rlvntdata table where the PV is held also has a column to hold the display value of the given PV.
The built in WIH XML structure doesn't seem to cater for this.
Is there sopmetign special we have to do with participant PVs?
RE: Binding To Participant Bizflow Process Variable
We have to investigate this in more detail, which will take a bit of time. I recall that WebMaker creates a single name/value for each PV based on the raw BizFlow format, although the original format may still be in the cache during form display. However, there isn't an easy way to send the modified data back if it's not present in the WebMaker format of the PV sections.
You can access your DB directly from WebMaker as a workaround, but that's not ideal.
Have you raised this with BizFlow yet?
Would you be able to include a bit more detail about exactly what you are trying to do? Is it just the one field or a wider requirement?
Regards
Abdul
RE: Binding To Participant Bizflow Process Variable
Not raised with Bizflow.
Currently we have drop downs everywhere with something like "Pass To" which is bound to a PV. The PV is then used as the participant of the next activity within Bizflow.
In the past we bind the "Pass To" to a string PV and then within Bizflow use a SQL activity to manually update the rlvntdata (PV) table with the pass to member held in the string PV.
I'm working on a project at the moment that will have potentially 25 of these pass to activities and was hoping that it would be easier to bind to the PV than add 25 SQL activities to the process.
I may be able to manually get around this within the receiving controllers and think I have actually done this in the past for a different value.
RE: Binding To Participant Bizflow Process Variable
Just to clarify. Are you trying to bind to the Participant PV from the drop down and it's failing? Or it's succeeding but you also need the user-friendly display name on the WebMaker form or Bizflow task before and/or after submission?
RE: Binding To Participant Bizflow Process Variable
I'm binding back to a PV in the correct format ie '[U]' + MemberID which would bind to rlnvtdata.value.
But the rlvntdata table has a column called dispvalue which using the WIH binding method doesn't do anything with. This column does appear to be important on the Bizflow side of things.
I'm currently in the process of letting/testing the WIH bind to the rlvntdata.value and then manually setting the rlvntdata.dispvalue in the controller rules.
I will update you with how this goes.
[hr][/hr]
Updating the rlvntdata.dispvalue with the participant name whiclst binding the PV to '[U]' + memberid seems to fix the problem.
RE: Binding To Participant Bizflow Process Variable
Good luck.
Abdul