no file document selected

Hi,  I am trying to download a pdf from an overview page. In microflow in generate document activity, there is no file showing to select. and in the error pane, the error is: no file document selected    
1 answers

The input for the generate document action is a entity of system.filedocument.

The best approach here is to create an entity in your domain model that is a generalization of system.filedocument. Then in your microflow first create an object of this entity. After that you can use the newly created object as input for the generate document action.