I am developing workflow solution based on Alfresco (4.2f) Activiti and Workdesk (4.2.0).
Our task model contains associations to other custom objects that are in the repository (those object inherit from cm:content, and cm:folder). In Share I can start the workflow, and select our objects in a pop-up window, so the task model declaration itself i correct, I guess.
I cannot find a way to configure Workdesk Launch Pad, to show these associated object fields in any way. It is not even showing label with empty text field.
I have tried to create an association to cmerson - directly, or via aspect (as it is in bpm:assignee), just for test purpose. When I use mandatory aspect bpm:assignee it works fine, but when I use aspect sc:myperson, I get nothing…
Is it possible to include such associations int lauch pad forms? I assume it may be nessesary to implement custom FieldControl, which I have tried, but with no luck - I can get the associations displayed on the form.
Hi, Thanks for your reply, but did you manage to run this workflow in Alfresco Workdesk (not Alfresco Share)? And I can not see any association in the task model. I have no problems with normal properties, only with associations to other objects.
OK. I have finally managed to display association fields in Launch Pad.
I have noticed in ow_adpalfrescobpm-4.2.0.jar - OwAlfrescoBPMObjectClass:53 <java>// bpm_*assignee properties are defined as Associations. The CMIS adapter does not yet handle Associations. public static final String PROP_BPM_ASSIGNEE = "bpm:assignee"; public static final String PROP_BPM_ASSIGNEES = "bpm:assignees"; public static final String PROP_BPM_GROUP_ASSIGNEE = "bpm:groupAssignee"; public static final String PROP_BPM_GROUP_ASSIGNEES = "bpm:groupAssignees";</java>
So I have added my own associations, and then modiefied a bit of code to register those changes.