Data-columns keys

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Data-columns keys

Hi,

I'm having trouble displaying task and process properties in data-columns in adf-tasklist and adf-process-instance-list. Tried key values from ProcessInstanceModel. For the startedBy property, [object Object] is displayed:

<adf-process-instance-list>
   <data-columns>
      <data-column key="name" title="Process Name"></data-column>
      <data-column key="id" title="Id"></data-column>
      <data-column key="started" title="Started"></data-column>
      <data-column key="startedBy" title="Started by"></data-column>
   </data-columns>
</adf-process-instance-list>

For the adf-tasklist I tried TaskDetailsModel:

<adf-tasklist>
   <data-columns>
      <data-column key="name" title="Task Name" ></data-column>
      <data-column key="id" title="Task Id" ></data-column>
      <data-column key="created" title="Created"></data-column>
      <data-column key="processInstanceId" title="Process Id"></data-column>
      <data-column key="processInstanceName" title="Process name"></data-column>
      <data-column key="assignee" title="Assignee"></data-column>
   </data-columns>
</adf-tasklist>

The ProcessInstanceName property is not displayed at all. For the assignee property, [object Object] is displayed.

Where can I find the correct key values?

Thanks!