on 2018 Apr 06 3:01 PM
Hello Experts,
I defined a workflow that has a CustomerModel as an attachment. I've noticed that there are no tasks shown in the task-list of the backoffice collaboration-center, even though the workflow-action is shown if I click on Overview (see attached images).
After some debugging I've found that a task is only shown in the list if it is a workflow-action with an attachment of the following types (defined in backoffice-workflow-spring:defaultWorkflowsTypeFacade 😞
Product
Category
AuditReportData
My initial thought was that I would probably have to add additional types (Customer in my case) to this list to solve the problem, but this doesn't seem to work if there is no web-module in our custom backoffice-extension.
It's not really clear to my why the attachment type-codes are restricted to exactly these 3 types. Is there a recommended way for extending the supported Types so that tasks with other attachment-types also get displayed in the task list?
Request clarification before answering.
Hi,
Have you tried the cng:extenders? I suppose that the following configuration should help you:
<cng:collection-extender bean="workflowsTypeFacade" property="attachmentTypeCodes">
<cng:add value-type="java.lang.String">
<value>Customer</value>
</cng:add>
</cng:collection-extender>
Of course you should add the code to your backoffice's extension 😉
Regards,
Lukasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.