I want to add one button in workflow task form which will search the values for form field from datalist. Basically, I want to maintain one datalist which will have employee details (employee id, employee name, email, etc), I have one property keynumber (value will be same as employee id) as a metadata of the document on which workflow will be triggered. I want to add one button "Search" which will search the employee details from the datalist based on keynumber. How can I achieve thsi?
You need to make a custom .ftl which will be used in share-config-custom.xml by one of the properties which you want to provide the search upon. In that custom .ftl file, you will fetch the list of documents of the specific document type and filter the required properties on ajax call.