Hi, I am developing a BPM application , on my process I have many Human Task that refer to the same XSD. WHen I modify xsd adding a new attribute I am expecting to have a DC refresh just right click+"refresh" on related DC.
Instead I cannot have a refresh on DC ,even if I clean all projects (BPM + UIs) and rebuilt all...
You will have to manually modify the DataControl or the generated xml files (I'm assuming you are speaking about the same).
Other option would be to regenerate the taskForms which you may not always want to do !
What seems to work for me when I change an XSD that is used by a human task that is in the Data Controls tab is to:
1) Save all
2) Click the refresh icon to the right of the "Data Controls" title in the tab
3) Inside the Data Control tab, right mouse click the specific data control that is based on the human task and the XSD (the one you want to refresh) -> click "Edit Definition" -> click "Refresh Data Control".
You'd need to do this for each data control that uses the modified XSD in their human task.
Hope this helps,
Daniel I have done all 3 steps you have listed ...
Just to be more detailed , I have one BPM process with 2 Human task, then I made 2 web UI apps, one app for each Human task.
After I modified the XSD located in the BPM project, saved it and refreshed all 2 DC in each web UI....
Just in case anybody else have the this issue. i had the same issue, the links in the dcx file were all fine... then i checked all the files associated with that hunan task (xsd, .task files etc)... in the taskpayload.xsd file there was a warning... i added a variable, removed that variable and added same variable with different name... the .task file was fine however the .xsd file contained both the previous and new entry. Removed that warning and everything worked fine.
Edited by: SOABie on Mar 24, 2013 1:59 AM