How to create rule for: share report to local drive in sailpoint

Trying to create rule for share the report to local drive/shared drive using java in sailpoint custom rules. much help if flow is available?