migrated from search task to search task indexed

recently we have migrated to search task indexed.

search task indexed is working as searchTask, all the necessary business data is filtered.

sortBy of searchTaskIndexed on business data field is not working.

i have tried with {currentTask.taskData.salesOrder.itemName} or itemName(field name) or FIELD_10( database name), none are working.

tasks are always sorted by task ID but are not sorted by business data field.



Did you manage to fix this problem?

When searching after indexed tasks using searchTasksIndexed you have to specify the index name, as you have defined it.

This is also valid for the sort field.

Hope it helps,
Vlad Turian