cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

No tasks shown in the backoffice collaboration center for a workflow with a Customer as an attachment

legozajozsef
Explorer
0 Likes
794

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member638520
Contributor
0 Likes

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

legozajozsef
Explorer
0 Likes

Thank you Łukasz, your solution is working.

Answers (0)