I think Add linked knowledge is a special hardcoded action. It needs to be there for KB searches to be able to add results, but I don't think you can use it directly. Hopefully someone else will confirm/deny this. In a similar way when you add child incident or parent or detach same, the product is hardcoded to run a specific query. You can change the query and it's contents, but not the general way the product operates.
However if you want to add existing knowledge articles yourself manually to an incident, then create an extra action called something like Add Knowledge Article. On the business object you create as part of this, drag the knowledge article object on and create your windows, grant your privielges etc. That will then give you an extra action you can use in your process. When someone uses it, you can then select the article you want from the window of your new action as they will appear as a drop down list or all articles.
If you create query to sit behind this list of articles on the window, you can then display the attributes of the article you want and filter out the ones you don't want to show. Maybe just display approved articles. Set the property of this query on the attribute to be a complex query and you could also let it do searches on the attributes too. (You may have a raise user query on y our incident window that does these types of searches)
Referring to your explaination, once we added I guess it cannot be detached right?
or can we have detach function?
1 of 1 people found this helpful
No removing items from a collection is a feature that isn't currently present in LDSD. You can achieve something like it as follows. Put a checkbox on the new action window called 'Active' or something like that and default to true. Then put a filter on the window to display these manual knowledge articles which only displays items where that check box is true. Then if you want to 'remove' an article, double click, clear the check box, save and it will no longer be displayed.
Thanks Dave for your idea